From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: Thomas Huth <thuth@redhat.com>,
lvivier@redhat.com, Juan Quintela <quintela@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
qemu-devel@nongnu.org, peterx@redhat.com, dgilbert@redhat.com,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga is compiled in
Date: Tue, 28 Aug 2018 11:31:27 +0100 [thread overview]
Message-ID: <20180828103127.GG25114@redhat.com> (raw)
In-Reply-To: <20180828102002.wri67kcvzkta7et3@sirius.home.kraxel.org>
On Tue, Aug 28, 2018 at 12:20:02PM +0200, Gerd Hoffmann wrote:
> 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?
Unfortunately not, because libvirt probes everthing with '-machine none'
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2018-08-28 10:43 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-22 9:54 [Qemu-devel] [PATCH v3 00/10] Don't check disabled drivers Juan Quintela
2018-08-22 9:54 ` [Qemu-devel] [PATCH v3 01/10] configure: We don't want to clean configuration files Juan Quintela
2018-08-22 10:08 ` Thomas Huth
2018-08-22 14:24 ` Juan Quintela
2018-08-22 9:54 ` [Qemu-devel] [PATCH v3 02/10] check: Use land/lor when possible Juan Quintela
2018-08-22 10:13 ` Thomas Huth
2018-08-22 14:28 ` Juan Quintela
2018-08-22 9:54 ` [Qemu-devel] [PATCH v3 03/10] check: Only test isa-testdev when it is compiled in Juan Quintela
2018-08-22 10:18 ` Thomas Huth
2018-08-22 14:30 ` Juan Quintela
2018-08-22 16:34 ` Juan Quintela
2018-08-22 9:54 ` [Qemu-devel] [PATCH v3 04/10] check: Only test usb-xhci-nec " Juan Quintela
2018-08-22 10:22 ` Thomas Huth
2018-08-22 14:32 ` Juan Quintela
2018-08-22 9:54 ` [Qemu-devel] [PATCH v3 05/10] x86_64-softmmu: Configuration is identical to i386-softmmu Juan Quintela
2018-08-22 10:23 ` Thomas Huth
2018-08-22 9:54 ` [Qemu-devel] [PATCH v3 06/10] check: Only test ivshm when it is compiled in Juan Quintela
2018-08-22 10:26 ` Thomas Huth
2018-08-22 14:36 ` Juan Quintela
2018-08-22 14:43 ` Thomas Huth
2018-08-22 9:54 ` [Qemu-devel] [PATCH v3 07/10] check: Only test boot-serial when sga " Juan Quintela
2018-08-22 10:30 ` Thomas Huth
2018-08-22 14:37 ` Juan Quintela
2018-08-23 7:43 ` Gerd Hoffmann
2018-08-23 8:05 ` Thomas Huth
2018-08-23 9:48 ` Gerd Hoffmann
2018-08-23 9:53 ` Daniel P. Berrangé
2018-08-23 10:27 ` Gerd Hoffmann
2018-08-23 11:06 ` Juan Quintela
2018-08-27 10:53 ` Gerd Hoffmann
2018-08-28 8:19 ` Daniel P. Berrangé
2018-08-28 10:20 ` Gerd Hoffmann
2018-08-28 10:31 ` Daniel P. Berrangé [this message]
2018-08-22 9:54 ` [Qemu-devel] [PATCH v3 08/10] check: Move VMXNET3 test to common Juan Quintela
2018-08-22 10:34 ` Thomas Huth
2018-08-22 10:41 ` Juan Quintela
2018-08-22 10:43 ` Thomas Huth
2018-08-22 14:39 ` Juan Quintela
2018-08-22 9:54 ` [Qemu-devel] [PATCH v3 09/10] check: Move endianess " Juan Quintela
2018-08-22 10:36 ` Thomas Huth
2018-08-22 9:54 ` [Qemu-devel] [PATCH v3 10/10] check: Move wdt_ib700 " Juan Quintela
2018-08-22 10:37 ` Thomas Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180828103127.GG25114@redhat.com \
--to=berrange@redhat.com \
--cc=dgilbert@redhat.com \
--cc=kraxel@redhat.com \
--cc=lvivier@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.