qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>,
	Eduardo Habkost <ehabkost@redhat.com>
Cc: Victor Kaplansky <victork@redhat.com>,
	Marcel Apfelbaum <marcel.a@redhat.com>,
	John Snow <jsnow@redhat.com>,
	Markus Armbruster <armbru@redhat.com>,
	qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
	Laszlo Ersek <lersek@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] q35: Remove old machine versions
Date: Mon, 14 Sep 2015 09:09:12 -0600	[thread overview]
Message-ID: <55F6E318.9020805@redhat.com> (raw)
In-Reply-To: <20150913121847-mutt-send-email-mst@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1691 bytes --]

On 09/13/2015 03:28 AM, Michael S. Tsirkin wrote:
> On Fri, Sep 11, 2015 at 03:44:47PM -0300, Eduardo Habkost wrote:
>> Ping?
>>
>> So, what's the reason we are still keeping those old machines in the
>> code?
> 
> Victor also wanted to clean out some very old machine types for
> the PIIX, too.
> 
> But if someone created a machine with libvirt, these machine types
> are now written in the XML. Failing to start guests isn't nice.

New qemu with old libvirt isn't always guaranteed to work. And new
libvirt can be patched to automatically update any old hard-coded
machine name to a newer safe alternative, _when such update is proven
safe_ (we've done it in the past for Fedora: if I recall correctly,
Fedora 13 branched its own machine type, then in Fedora 15 qemu decided
to quit supporting the branch, so libvirt was patched downstream in
Fedora 15-17 to rewrite the old name into its safe upstream counterpart.
 The downstream patch was dropped in Fedora 18 since F15 was EOL by then
so no more new machines would have been created with the old spelling,
and since a year was deemed long enough for people to have either run
their guest to pick up the automatic update, or that their guest was so
infrequently run that they could read the error message and act on it
themselves).

Failing to start guests isn't nice, but it also isn't the end of the
world, when there is no choice but to break ABI.  An explicit ABI break
(by making the user rewrite machine type) is better than silent change
in behavior with a potential for broken guests.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  parent reply	other threads:[~2015-09-14 15:09 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18 23:11 [Qemu-devel] [PATCH] q35: Remove old machine versions Eduardo Habkost
2015-08-19  9:55 ` Dr. David Alan Gilbert
2015-08-19 16:30   ` Eduardo Habkost
2015-08-25  9:42     ` Michael S. Tsirkin
2015-08-25 16:16       ` John Snow
2015-08-27 10:50         ` Michael S. Tsirkin
2015-08-19 18:16   ` John Snow
2015-08-24  9:54     ` Markus Armbruster
2015-08-24 18:46       ` John Snow
2015-08-25  8:51       ` Marcel Apfelbaum
2015-08-25 16:21       ` Daniel P. Berrange
2015-08-27 10:50         ` Michael S. Tsirkin
2015-08-27 11:01           ` Daniel P. Berrange
2015-08-27 11:05             ` Michael S. Tsirkin
2015-08-27 13:16               ` Daniel P. Berrange
2015-08-27 18:26           ` Eduardo Habkost
2015-08-28 10:00             ` Markus Armbruster
2015-08-28 17:18               ` Eduardo Habkost
2015-08-21 17:06 ` Laszlo Ersek
2015-09-11 18:44 ` Eduardo Habkost
2015-09-11 19:19   ` Markus Armbruster
2015-09-13  9:28   ` Michael S. Tsirkin
2015-09-14  7:18     ` Markus Armbruster
2015-09-14 15:09     ` Eric Blake [this message]
2015-09-14 19:43       ` Eduardo Habkost
2015-09-15  6:03         ` Markus Armbruster

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=55F6E318.9020805@redhat.com \
    --to=eblake@redhat.com \
    --cc=armbru@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=lersek@redhat.com \
    --cc=marcel.a@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=victork@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).