From: Paolo Bonzini <pbonzini@redhat.com>
To: Markus Armbruster <armbru@redhat.com>, Alex Bligh <alex@alex.org.uk>
Cc: "Ryan Harper" <ryan.harper@canonical.com>,
"Serge Hallyn" <serge.hallyn@canonical.com>,
"quintela@redhat.com" <quintela@redhat.com>,
Libvirt <libvir-list@redhat.com>,
"Serge Hallyn" <serge.hallyn@ubuntu.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"Alexander Graf" <agraf@suse.de>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Cole Robinson" <crobinso@redhat.com>,
"Amit Shah" <amit.shah@redhat.com>,
"Bruce Rogers" <brogers@suse.com>,
"Andreas Färber" <afaerber@suse.de>,
"Serge E. Hallyn" <serge@hallyn.com>
Subject: Re: [Qemu-devel] [PATCH v4] Add machine parameter qemu-kvm-migration for live migrate compatibility with qemu-kvm
Date: Sun, 05 Oct 2014 09:00:11 +0200 [thread overview]
Message-ID: <5430EC7B.2070009@redhat.com> (raw)
In-Reply-To: <87fvfavrho.fsf@blackfin.pond.sub.org>
Il 29/09/2014 09:02, Markus Armbruster ha scritto:
>> If you were just objecting to the fact that pc-1.0 was made to
>> be an alias of either one or the other at compile time, simply
>> drop the second patch of the v2 patchset.
I was objecting to making pc-1.0 special. There's nothing special in
pc-1.0, other machine types also had differences between qemu-kvm and
qemu. And I do not think that upstream has any reason to make pc-1.0
special.
So, if Ubuntu is okay with breaking pc-1.0 migration from 14.04-old to
14.04-new, the right thing to do is simply that Ubuntu makes its pc-1.0
machine type the qemu-kvm one. No new machine types, no aliases, no
anything.
For upstream, the option is acceptable because that one applies just as
well to other types than 1.0. Other distros included 0.15 or 1.2, and
can use the option as well.
>> If we have a new machine type, I don't /think/ I need the early_init
>> thing at all (I may be wrong about that).
You can add a new property to the machine, and do the early_init work in
the property setter, I think.
> I also prefer a new machine type.
>
> Ideally, the management application understands that there are two
> incompatibile versions QEMU (upstream and old qemu-kvm), and how to map
> their machine types to current QEMU's.
That would mean patching the Ubuntu libvirt, right? At this point it's
simpler to just patch Ubuntu QEMU to do what you write here:
> If that's not practical, then downstream can still alias the machine
> types around to make things just work in the most important downstream
> scenarios. The most important upstream scenario is QEMU <-> QEMU, of
> course.
I'm not sure why this patch is of any interest upstream...
Paolo
next prev parent reply other threads:[~2014-10-05 7:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-22 19:34 [Qemu-devel] [PATCH v4] Add machine parameter qemu-kvm-migration for live migrate compatibility with qemu-kvm Alex Bligh
2014-09-22 19:34 ` Alex Bligh
2014-09-28 15:30 ` Michael S. Tsirkin
2014-09-28 20:33 ` Alex Bligh
2014-09-29 7:02 ` Markus Armbruster
2014-10-05 7:00 ` Paolo Bonzini [this message]
2014-10-05 10:26 ` Alex Bligh
2014-10-05 12:26 ` Paolo Bonzini
2014-10-05 12:48 ` Michael S. Tsirkin
2014-10-05 13:30 ` Paolo Bonzini
2014-09-29 10:08 ` Michael S. Tsirkin
2014-09-29 10:13 ` Alex Bligh
2014-09-29 14:52 ` Serge E. Hallyn
2014-10-04 16:29 ` Alex Bligh
2014-09-24 8:05 ` Markus Armbruster
2014-09-24 8:29 ` Alex Bligh
2014-09-24 8:38 ` Michael Tokarev
2014-09-25 8:02 ` Dr. David Alan Gilbert
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=5430EC7B.2070009@redhat.com \
--to=pbonzini@redhat.com \
--cc=afaerber@suse.de \
--cc=agraf@suse.de \
--cc=alex@alex.org.uk \
--cc=amit.shah@redhat.com \
--cc=armbru@redhat.com \
--cc=brogers@suse.com \
--cc=crobinso@redhat.com \
--cc=libvir-list@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=ryan.harper@canonical.com \
--cc=serge.hallyn@canonical.com \
--cc=serge.hallyn@ubuntu.com \
--cc=serge@hallyn.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).