[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 09/14] conf: Add VIR_DOMAIN_CHR_SERIAL_TARGET_TYPE_PL011



On Thu, 2017-11-16 at 14:56 +0100, Pavel Hrdina wrote:
> Here the name "pl011" is even worse than "spapr-vty".  It's a device
> name and there is also "pl022" (probably not supported by QEMU).  The
> bus name is APB (Advanced Peripheral Bus). [1] [2]

QEMU has pl031 and pl061 devices in addition to pl011, but no pl022
as far as I can tell.

> How about we introduce another attribute/element that would specify the
> exact model of the serial device and it would be optional, libvirt would
> be able to choose the model if none is specified.

That would have precedents in eg. PCI controllers, where the <model>
subelement contains the hypervisor-specific device name whereas
the 'model' attribute of the <controller> element contains a more
generic name...

You might have just convinced me :)

Of course that would lead to duplicated information in the existing
cases of ISA, USB and PCI, but I guess we can live with that.

> I was no able to find anything about s390 and its sclp/sclplm consoles
> but it's the same case.  I would expect that both devices are connected
> to the same BUS, we just need to find the BUS name to use it $BUS-serial
> and have sclp/sclplm as models.

Pino, any ideas about this?

-- 
Andrea Bolognani / Red Hat / Virtualization


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]