Re: [Qemu-devel] [RFC PATCH v1 2/5] VMState test: basic vmstate testing mechanism

2014-07-07 Thread Eric Blake
On 07/07/2014 11:18 AM, Sanidhya Kashyap wrote: > This patch introduces the mechanism to test the devices state by storing > and dumping in in the QEMUFile pointer. > > The testing is done as follows: > 1) The VM is halted. > 2) guest state is synchronized. > 3) Then the device state is dumped to

[Qemu-devel] [RFC PATCH v1 2/5] VMState test: basic vmstate testing mechanism

2014-07-07 Thread Sanidhya Kashyap
This patch introduces the mechanism to test the devices state by storing and dumping in in the QEMUFile pointer. The testing is done as follows: 1) The VM is halted. 2) guest state is synchronized. 3) Then the device state is dumped to a temporary memory. 4) The guest state is reset. 5) Then the d