Re: [Qemu-devel] [PATCH 8/9] vmstate: Create optional sections

2015-05-19 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > To make sections optional, we need to do it at the beggining of the code. > > Signed-off-by: Juan Quintela Do you also need to add this test to qemu_save_device_state ? Dave > --- > include/migration/vmstate.h | 2 ++ > migration/vmstate.c

Re: [Qemu-devel] [PATCH 8/9] vmstate: Create optional sections

2015-05-18 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > To make sections optional, we need to do it at the beggining of the code. I didn't quite understand your description; but I think the reasoning here is that to make a top level section optional, you need to do it in the top level to avoid sending the

[Qemu-devel] [PATCH 8/9] vmstate: Create optional sections

2015-05-14 Thread Juan Quintela
To make sections optional, we need to do it at the beggining of the code. Signed-off-by: Juan Quintela --- include/migration/vmstate.h | 2 ++ migration/vmstate.c | 11 +++ savevm.c| 4 3 files changed, 17 insertions(+) diff --git a/include/migration/v