[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken? |
Date: |
Sun, 16 May 2010 20:03:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Juan Quintela wrote:
> Lack of "proper" subsections. IDE is something like:
>
> const VMStateDescription vmstate_ide_drive = {
> .version_id = 4,
> ....
> }
>
> static const VMStateDescription vmstate_bmdma = {
> .name = "ide bmdma",
> .version_id = 4,
> ...
> }
>
> const VMStateDescription vmstate_ide_pci = {
> .name = "ide",
> .version_id = 4,
> ....
> VMSTATE_STRUCT_ARRAY(bmdma, PCIIDEState, 2, 0,
> vmstate_bmdma, BMDMAState),
> VMSTATE_IDE_DRIVES(bus[0].ifs, PCIIDEState),
> VMSTATE_IDE_DRIVES(bus[1].ifs, PCIIDEState),
> ....
> }
>
>
> Notice that everything is at version 4. It used to be everything at
> version 3. Now the problem is that when migrating from v3 -> v4. We
> put in one place v3, But we only have a version number at the toplevel,
> rest of "subsections" don't sent a version number. There is no way to
> fix it in the general case. We can hack something around for ide, but
> that will just be a hack, or we can backport marcelo change and port it
> as a proper subsection (that is my plan). I expect to have time at the
> end of next time to work on this.
BTW, the IDE subsystem is yet lacking a proper vmstate section split-up
along qdev boundaries (ie. vmstate_ide_pci should not contain drive
structures). Do you plan to address this as well?
Jan
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, (continued)
- Re: [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Peter Lieven, 2010/05/12
- [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Avi Kivity, 2010/05/16
- [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Juan Quintela, 2010/05/16
- [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Avi Kivity, 2010/05/16
- [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Juan Quintela, 2010/05/16
- [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Avi Kivity, 2010/05/17
- [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Michael Tokarev, 2010/05/17
- [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Juan Quintela, 2010/05/17
- [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Michael Tokarev, 2010/05/17
- Re: [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Alexander Graf, 2010/05/17
- [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?,
Jan Kiszka <=
- [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Juan Quintela, 2010/05/16
- [Qemu-devel] Re: Qemu-KVM Livate Migration 0.12.2 -> 0.12.3/4 broken?, Jan Kiszka, 2010/05/17