From patchwork Tue Dec 5 13:35:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Henrique Barboza X-Patchwork-Id: 844741 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yrjSB21G0z9tB8 for ; Wed, 6 Dec 2017 00:35:53 +1100 (AEDT) Received: from localhost ([::1]:48742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMDO2-0002UR-5S for incoming@patchwork.ozlabs.org; Tue, 05 Dec 2017 08:35:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMDNe-0002U9-Ij for qemu-devel@nongnu.org; Tue, 05 Dec 2017 08:35:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMDNZ-0001VP-MM for qemu-devel@nongnu.org; Tue, 05 Dec 2017 08:35:26 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:38406) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eMDNZ-0001Ul-Bu for qemu-devel@nongnu.org; Tue, 05 Dec 2017 08:35:21 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vB5DXrWU050490 for ; Tue, 5 Dec 2017 08:35:18 -0500 Received: from e14.ny.us.ibm.com (e14.ny.us.ibm.com [129.33.205.204]) by mx0a-001b2d01.pphosted.com with ESMTP id 2enrg74nm0-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 05 Dec 2017 08:35:18 -0500 Received: from localhost by e14.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 5 Dec 2017 08:35:17 -0500 Received: from b01cxnp23032.gho.pok.ibm.com (9.57.198.27) by e14.ny.us.ibm.com (146.89.104.201) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 5 Dec 2017 08:35:15 -0500 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id vB5DZF5Z43319310; Tue, 5 Dec 2017 13:35:15 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 633DB112057; Tue, 5 Dec 2017 08:33:36 -0500 (EST) Received: from localhost.localdomain (unknown [9.80.231.239]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP id 8501C112047; Tue, 5 Dec 2017 08:33:35 -0500 (EST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Date: Tue, 5 Dec 2017 11:35:07 -0200 X-Mailer: git-send-email 2.13.6 X-TM-AS-GCONF: 00 x-cbid: 17120513-0052-0000-0000-0000028CD686 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008153; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000243; SDB=6.00955785; UDB=6.00483094; IPR=6.00735822; BA=6.00005729; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00018362; XFM=3.00000015; UTC=2017-12-05 13:35:17 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17120513-0053-0000-0000-000052D2A696 Message-Id: <20171205133508.15061-1-danielhb@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-12-05_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1712050196 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 148.163.156.1 Subject: [Qemu-devel] [PATCH v5 0/1] savevm/loadvm with postcopy flag qemu-iotest X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Henrique Barboza Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Changes from v4: - added a 'refcount_bits=1' constraint for internal snapshots Changes from v3: - rebased with master - file name changed from 198 to 201 - removed Creator/owner information (it can be retrieved with git) - added a migration successful check before executing savevm - removed a trailing double comma in the snapshot name Daniel Henrique Barboza (1): tests/qemu-iotests: adding savevm/loadvm with postcopy flag test tests/qemu-iotests/201 | 120 +++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/201.out | 23 +++++++++ tests/qemu-iotests/group | 1 + 3 files changed, 144 insertions(+) create mode 100755 tests/qemu-iotests/201 create mode 100644 tests/qemu-iotests/201.out