|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] KVM call agenda for tuesday 31 |
Date: | Tue, 31 Jan 2012 16:12:14 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
On 01/31/2012 03:12 PM, Anthony Liguori wrote:
Don't use VMState. Just open code a save/restore function. VMState is too limited in how it handles complex data structures. I really believe the only long term solution we're going to get to here is something that uses a builder interface (like Visitors).
Visitors for complex data structures still require you separate get/set functions. VMState was created to avoid having to write things twice and avoid getting the two out of sync.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |