On 01/24/2012 05:13 AM, Avi Kivity wrote:
On 01/24/2012 12:21 PM, Gerd Hoffmann wrote:
But viewing RAM as just another device, having Xen only restore a
subset of
devices should be a reasonable thing to do moving forward.
I don't think modeling device memory (i.e. vga vram) as something
independent from the device (vga) is a good idea. Because it isn't.
Right. We should have VMSTATE_RAM() to express the dependency.
No, VMSTATE has nothign to do with reset.
Ram should be a device and then you can hook up ram through the composition
tree.
But reset is going to propagate preorder, not postorder, so this isn't going to
help anyway.
Postorder initialization doesn't make a whole lot of sense when you think about
the semantics of it.
Regards,
Anthony Liguori