qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v1 0/5] VMState testing
@ 2014-07-07 17:17 Sanidhya Kashyap
  2014-07-07 17:18 ` [Qemu-devel] [RFC PATCH v1 1/5] QEMUSizedBuffer/QEMUFile Sanidhya Kashyap
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Sanidhya Kashyap @ 2014-07-07 17:17 UTC (permalink / raw)
  To: qemu list; +Cc: Sanidhya Kashyap, Dr. David Alan Gilbert, Juan Quintela

Hi,

This patch series introduces a mechanism to test the vmstates' information.
Currently, this is achieved by saving the device states' information to
a memory buffer - an abstraction provided by QEMUFile pointer (David's patch)
and then clearing the states followed by loading the data from the buffer.
Currently, this is just a basic implementation in which one cannot test a
particular device - due to the issues in the reset functionality. In the next
version of the patch, I will try to work on this issue so that the vmstate
checking is possible for every device. This will help the users to enable
checking of a device at the time of saving and loading of its state.

I have tried to provide the both of the hmp and qmp commands interface to dump
and load the vmstates. Besides this, one can either cancel an already running
testing process or update the required sleep interval between iteration.

With these patches, I haven't found any bug in the device states. I wish I am
on the right track.


Dr. David Alan Gilbert (1):
  QEMUSizedBuffer/QEMUFile

Sanidhya Kashyap (4):
  VMState test: basic vmstate testing mechanism
  VMState test: hmp interface for vmstate testing
  VMState test: set the frequency of the vmstate testing process
  VMState test: cancel mechanism for an already running vmstate testing
    process

 hmp-commands.hx               |  44 +++++
 hmp.c                         |  34 ++++
 hmp.h                         |   3 +
 include/migration/qemu-file.h |  27 +++
 qapi-schema.json              |  31 ++++
 qemu-file.c                   | 411 ++++++++++++++++++++++++++++++++++++++++++
 qmp-commands.hx               |  70 +++++++
 savevm.c                      | 174 ++++++++++++++++++
 8 files changed, 794 insertions(+)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-07-18 18:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-07 17:17 [Qemu-devel] [RFC PATCH v1 0/5] VMState testing Sanidhya Kashyap
2014-07-07 17:18 ` [Qemu-devel] [RFC PATCH v1 1/5] QEMUSizedBuffer/QEMUFile Sanidhya Kashyap
2014-07-07 18:28   ` Eric Blake
2014-07-08  7:48     ` Dr. David Alan Gilbert
2014-07-07 17:18 ` [Qemu-devel] [RFC PATCH v1 2/5] VMState test: basic vmstate testing mechanism Sanidhya Kashyap
2014-07-07 17:33   ` Eric Blake
2014-07-07 17:18 ` [Qemu-devel] [RFC PATCH v1 3/5] VMState test: hmp interface for vmstate testing Sanidhya Kashyap
2014-07-07 17:18 ` [Qemu-devel] [RFC PATCH v1 4/5] VMState test: set the frequency of the vmstate testing process Sanidhya Kashyap
2014-07-07 18:25   ` Eric Blake
2014-07-18 18:59     ` Sanidhya Kashyap
2014-07-07 17:18 ` [Qemu-devel] [RFC PATCH v1 5/5] VMState test: cancel mechanism for an already running " Sanidhya Kashyap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).