On 2011-08-29 21:22, Anthony Liguori wrote: > On 08/26/2011 09:48 AM, Jan Kiszka wrote: >> More than one year ago I posted some patches to add a monitor command >> callend device_show. The purpose of that command is to dump the state of >> some qdev device based on its vmstate. > > I have a series that does the same thing as this in a totally different > way. Instead of a VMState interpreter, it converts all marshalling to > go through a Visitor interface. This makes it extensible to devices > that don't currently support VMState.
For obtaining a raw picture of some device state, there is still gdb. What this feature is targeting at is a refined view, something VMState already represents as it (in the absence of bugs) contains the complete persistent state, and only that. Once we have QOM in place and also sorted out how VMState 2.0 may look like and how it can be extracted from or expressed within the device model, we will probably change the internals of this feature again. Jan
signature.asc
Description: OpenPGP digital signature