Re: [Qemu-devel] [PATCH v2 00/12] virtio migration: simplify vmstate helper

2016-10-06 Thread Halil Pasic
On 10/06/2016 05:30 PM, Paolo Bonzini wrote: > > > On 06/10/2016 14:55, Halil Pasic wrote: >> >> Let us simplify a couple of things and get rid of some code duplication. >> >> NOTE: This series is exploring the suggestions of Paolo (I did my best >> to do everything as requested). I still think

Re: [Qemu-devel] [PATCH v2 00/12] virtio migration: simplify vmstate helper

2016-10-06 Thread Paolo Bonzini
On 06/10/2016 14:55, Halil Pasic wrote: > > Let us simplify a couple of things and get rid of some code duplication. > > NOTE: This series is exploring the suggestions of Paolo (I did my best > to do everything as requested). I still think that we are better of with > a macro that with spelling

[Qemu-devel] [PATCH v2 00/12] virtio migration: simplify vmstate helper

2016-10-06 Thread Halil Pasic
As a part of the long term effort to convert migration to vmstate the migration of virtio devices was recently partially switched to vmstate starting with the outer layer (commit 5943124cc "virtio: Migration helper function and macro" and the subsequent "virtio-*: Wrap in vmstate" commits). This w