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

Reply via email to