On 06/06/2017 10:21 AM, Christian Borntraeger wrote: > On 06/02/2017 04:05 PM, Halil Pasic wrote: >> Let's vmstatify virtio_ccw_save_config and virtio_ccw_load_config for >> flexibility (extending using subsections) and for fun. >> >> To achieve this we need to hack the config_vector, which is VirtIODevice >> (that is common virtio) state, in the middle of the VirtioCcwDevice state >> representation. This is somewhat ugly, but we have no choice because the >> stream format needs to be preserved. >> >> Almost no changes in behavior. Exception is everything that comes with >> vmstate like extra bookkeeping about what's in the stream, and maybe some >> extra checks and better error reporting. >> >> Signed-off-by: Halil Pasic <pa...@linux.vnet.ibm.com> >> Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com> >> Reviewed-by: Juan Quintela <quint...@redhat.com> >> Reviewed-by: Cornelia Huck <cornelia.h...@de.ibm.com> >> --- >> @Christian: I have re-tested with 2.5 (because of the rebase). >> AFAIU this is pretty much ready to be picked. > > > I wanted to pick this, but it collides with yout patch > s390x/css: catch section mismatch on load > > > Can you rebase it on this patch > (see https://github.com/borntraeger/qemu/commits/s390-next) > >
Hm, that's tricky because I actually have to do the equivalent of 's390x/css: catch section mismatch on load' as part of this. I have just sent out an RFC showing in that direction. There however I have to touch common vmstate stuff. I have initially hoped 's390x/css: catch section mismatch on load' into master soon and I can do a 2 patch series on top of that (first patch common vmstate stuff, second patch the adaptation of this patch). Here is a link to my RFC: https://lists.nongnu.org/archive/html/qemu-devel/2017-06/msg01413.html What is in your opinion the best way to resolve this? Regards, Halil