[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in |
Date: |
Tue, 28 Aug 2018 12:20:02 +0200 |
User-agent: |
NeoMutt/20180622 |
On Tue, Aug 28, 2018 at 09:19:20AM +0100, Daniel P. Berrangé wrote:
> On Mon, Aug 27, 2018 at 12:53:21PM +0200, Gerd Hoffmann wrote:
> > Hi,
> >
> > > The only way we can stop using "-device sga" is if we either have
> > > something explicit in the XML saying whether to use it or not, or
> > > alternatively have some indicator associated with the next versioned
> > > machine type that we can hook off.
> >
> > How does libvirt query the machine type properties?
>
> libvirt is able to query properties against i440FX-pcihost and
> q35-pcihost devices - currently we only look for one prop:
>
> static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsI440FXPCIHost[] = {
> { "pci-hole64-size", QEMU_CAPS_I440FX_PCI_HOLE64_SIZE },
> };
>
> static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsQ35PCIHost[] = {
> { "pci-hole64-size", QEMU_CAPS_Q35_PCI_HOLE64_SIZE },
> };
>
> Not sure if that's the kind of thing you're looking for ?
Looking for way for libvirt to figure whenever a specific machine type
has sga deprecated or not. So, if libvirt can query device properties,
can we just add a "deprecated" property to sga and flip that to true for
3.1+ machine types?
cheers,
Gerd
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, (continued)
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, Thomas Huth, 2018/08/22
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, Juan Quintela, 2018/08/22
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, Gerd Hoffmann, 2018/08/23
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, Thomas Huth, 2018/08/23
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, Gerd Hoffmann, 2018/08/23
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, Daniel P . Berrangé, 2018/08/23
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, Gerd Hoffmann, 2018/08/23
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, Juan Quintela, 2018/08/23
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, Gerd Hoffmann, 2018/08/27
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, Daniel P . Berrangé, 2018/08/28
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in,
Gerd Hoffmann <=
- Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in, Daniel P . Berrangé, 2018/08/28
[Qemu-devel] [PATCH v3 10/10] check: Move wdt_ib700 test to common, Juan Quintela, 2018/08/22
[Qemu-devel] [PATCH v3 09/10] check: Move endianess test to common, Juan Quintela, 2018/08/22