From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAhbQ-0008KT-3C for qemu-devel@nongnu.org; Fri, 25 Jul 2014 11:40:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAhbG-00018X-V4 for qemu-devel@nongnu.org; Fri, 25 Jul 2014 11:40:11 -0400 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:49153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAhbG-00015r-OX for qemu-devel@nongnu.org; Fri, 25 Jul 2014 11:40:02 -0400 Received: by mail-pa0-f46.google.com with SMTP id lj1so6302625pab.33 for ; Fri, 25 Jul 2014 08:40:01 -0700 (PDT) From: Sanidhya Kashyap Date: Fri, 25 Jul 2014 21:09:24 +0530 Message-Id: <1406302776-2306-1-git-send-email-sanidhya.iiith@gmail.com> Subject: [Qemu-devel] [PATCH RFC v2 00/12] VMState testing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu list Cc: Sanidhya Kashyap , "Dr. David Alan Gilbert" , Juan Quintela Hi, The following patch introduce a mechanism to test the correctness of the vmstate's information. This is achieved by saving the device states' information to a memory buffer and then clearing the states, followed by loading the data from the saved memory buffer. v1 --> v2: * Added a list containing all the devices that have been qdevified and gets registered with the SaveStateEntry. * Have provided a way to use either qemu_system_reset functionality or my own version of qdev entries untill all the devices have been qdevified. This gives us the privilege to test any device we want. * Rename some of the variables. I am very bad at naming convention, thanks to community, specially Eric, I try to improve it with every version. * On Eric's advice, I have separated all of the qmp and hmp interface patches. * Changed the DPRINTF statements as required. Dr. David Alan Gilbert (1): QEMUSizedBuffer/QEMUFile Sanidhya Kashyap (11): reset handler for qdevified devices VMState test: query command to extract the qdevified device names VMState test: hmp interface for showing qdevified devices VMstate test: basic VMState testing mechanism VMState test: hmp interface for vmstate testing VMState test: qmp interface for querying the vmstate testing process VMState test: hmp interface for querying the vmstate testing process VMState test: update period of vmstate testing process VMState test: hmp interface for period update VMState test: cancel mechanism for an already running vmstate testing process VMState test: hmp interface for cancel mechanism hmp-commands.hx | 48 +++++ hmp.c | 73 ++++++++ hmp.h | 5 + include/migration/qemu-file.h | 27 +++ monitor.c | 14 ++ qapi-schema.json | 103 +++++++++++ qemu-file.c | 411 ++++++++++++++++++++++++++++++++++++++++++ qmp-commands.hx | 129 +++++++++++++ savevm.c | 357 ++++++++++++++++++++++++++++++++++++ 9 files changed, 1167 insertions(+) -- 1.9.3