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: Thu, 23 Aug 2018 10:53:59 +0100 [thread overview]
Message-ID: <20180823095359.GH23703@redhat.com> (raw)
In-Reply-To: <20180823094850.zycuwtjndmztgcm4@sirius.home.kraxel.org>
On Thu, Aug 23, 2018 at 11:48:50AM +0200, Gerd Hoffmann wrote:
> > > I remember we even discussed that a while back ...
> > > Oh yes: https://git.kraxel.org/cgit/qemu/commit/?h=work/no-sgabios&id=408690999429fdf44011c49b3af6efa50f369b1e
> > > Somehow never ended up being merged.
> >
> > Sounds like a good idea! Could you repost the patch, with an update to
> > qemu-deprecated.texi, please? Maybe also print the deprecation message
> > in any case if !use_sgabios, e.g.:
> >
> > } else {
> > /*
> > * For this machine type we expect SeaBIOS to provide a
> > * serial console for -machine graphics=off. No need to
> > * add the sgabios rom here.
> > */
> > warn_report("sgabios is deprecated and is not required anymore,"
> > " SeaBIOS now has the same functionality, too");
> > }
>
> Hmm, IIRC libvirt support is a bit tricky here as there is no easy way
> to probe for serial console support in seabios. So the idea was to just
> allow both -machine graphics=off and -device sga, by turning -device sga
> into a nop in case -machine graphics=off is present.
>
> But given we meanwhile had some releases without this I suspect that
> isn't a good idea any more. With both -machine graphics=off -device sga
> seabios and sgabios will fight over the serial device ...
>
> So, maybe take a completely different route. Add a deprecation_reason
> field to DeviceClass. Make it visible in qapi introspection, so libvirt
> can see it and avoid adding it to the command line. Then we can
> deprecate -device sga (and possibly other devices too) that way.
That won't work IIUC. If we stop using "-device sga" based on some
introspected deprecation value on the device, that means the guest
will have a different ABI from POV of migration stream. So we would
be unable to migrate to a QEMU without the deprecation, despite the
XML config being unchanged.
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.
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-23 9:54 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é [this message]
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é
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=20180823095359.GH23703@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.