On 09/30/2016 05:02 PM, Paolo Bonzini wrote: > > On 30/09/2016 16:19, Halil Pasic wrote: >> > 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 was done by introducing a vmstate based wrapper >> > driving the well know virtio migration process. As this transition is >> > still in progress, some synergies were left unexploited, and some things >> > can be expressed in a more vmstatish way. > Another useful thing to do is to move code out of virtio_load and into a > post_load callback of vmstate_virtio. > > Paolo >
Hi Paolo, thanks for the review. I agree, but I see this out of scope for this patch series. If you like I could do something along the lines as a separate patch. Cheers, Halil
signature.asc
Description: OpenPGP digital signature