[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v2 00/16] visitor+BER migration format
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [RFC PATCH v2 00/16] visitor+BER migration format |
Date: |
Wed, 23 Apr 2014 12:57:43 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 04/23/2014 11:54 AM, Michael S. Tsirkin wrote:
> On Wed, Apr 23, 2014 at 11:47:21AM -0600, Eric Blake wrote:
>> On 04/23/2014 11:16 AM, Dr. David Alan Gilbert wrote:
>>> The one thing that the environment variable does make nice and easy,
>>> for dev, is using it with existing test setups - e.g. running virt-test
>>> in BER mode or existing mode.
>> Hmm. Maybe a compromise - an environment variable determines the default
>> state of the QMP capability (for use in running the testsuite in one
>> mode or the other for all tests that don't explicitly set a mode), but
>> the QMP command still allows toggling the state at runtime (the
>> environment variable doesn't lock us out from changing away from the
>> startup default).
>
> Eric, could you explain the need for the runtime thing?
I thought I did - when migrating across machines to what we know is an
older qemu, we want the old migration format; but when migrating to a
file to be reloaded by the current (or newer) qemu, we want the new
format since it is more robust. But libvirt can't know up front whether
the user starting a qemu instance has plans down the road of calling
'virsh save' (migrate to file) or 'virsh migrate' (migrate across
machines) first.
On the other hand, you have a point that upstream tends to not care
about migration from new qemu to old (that's one of the value-added
tasks of downstream distros), and that we could merely get away with
using the -m machine name as the witness of which form to use, with no
need for an environment variable or any other runtime switch.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [RFC PATCH v2 13/16] Start some BER format docs, (continued)
- [Qemu-devel] [RFC PATCH v2 13/16] Start some BER format docs, Dr. David Alan Gilbert (git), 2014/04/23
- [Qemu-devel] [RFC PATCH v2 16/16] Add vmstate_cpu_common BER type code and wire it in., Dr. David Alan Gilbert (git), 2014/04/23
- [Qemu-devel] [RFC PATCH v2 04/16] qemu-file: Add set/get tmp_visitor, Dr. David Alan Gilbert (git), 2014/04/23
- [Qemu-devel] [RFC PATCH v2 08/16] Visitor: Output path, Dr. David Alan Gilbert (git), 2014/04/23
- [Qemu-devel] [RFC PATCH v2 12/16] BER Visitor: Create input visitor, Dr. David Alan Gilbert (git), 2014/04/23
- Re: [Qemu-devel] [RFC PATCH v2 00/16] visitor+BER migration format, Eric Blake, 2014/04/23
- Re: [Qemu-devel] [RFC PATCH v2 00/16] visitor+BER migration format, Markus Armbruster, 2014/04/24
- Re: [Qemu-devel] [RFC PATCH v2 00/16] visitor+BER migration format, Dr. David Alan Gilbert, 2014/04/24
- Re: [Qemu-devel] [RFC PATCH v2 00/16] visitor+BER migration format, Michael S. Tsirkin, 2014/04/24
- Re: [Qemu-devel] [RFC PATCH v2 00/16] visitor+BER migration format, Markus Armbruster, 2014/04/25
- Re: [Qemu-devel] [RFC PATCH v2 00/16] visitor+BER migration format, Eric Blake, 2014/04/25
[Qemu-devel] [RFC PATCH v2 15/16] Wire in BER visitors, Dr. David Alan Gilbert (git), 2014/04/23