From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjGrK-0003gX-VS for qemu-devel@nongnu.org; Thu, 13 Dec 2012 17:02:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjGrH-0007qi-1K for qemu-devel@nongnu.org; Thu, 13 Dec 2012 17:02:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjGrG-0007qL-QJ for qemu-devel@nongnu.org; Thu, 13 Dec 2012 17:02:22 -0500 Date: Thu, 13 Dec 2012 17:02:20 -0500 From: Jason Baron Message-Id: Subject: [Qemu-devel] [PATCH 0/3] qtest: add migration testing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, aliguori@us.ibm.com, quintela@redhat.com Hi, Add a basic qtest for migration testing. Currently, it just tests a migrate of machine 'pc' on the same host. Would be nice to extend to multiple machine versions, but that requires multiple binaries, which could be done, but is perhaps a bit awkward from qtest? Testing different machine versions within the same binary doesn't seem like a real world test case to me. Currently, the test aborts, if the migrate takes more than 2 minutes. In any case, the test currently fails for q35, since ahci migration suport isn't in place. Thus, I intend to add q35 testing here, once those ahci migration patches are accepted. Thanks, -Jason Jason Baron (3): qtest: Enable creation of multiple qemu instances qtest: extend qtest_qmp() to fill in the reply qtest: add migrate-test tests/Makefile | 8 ++- tests/libqtest.c | 48 ++++++++++-------- tests/libqtest.h | 4 +- tests/migrate-test.c | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 175 insertions(+), 25 deletions(-) create mode 100644 tests/migrate-test.c