From nobody Thu May 16 12:23:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=126.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1533642436414679.6096506379685; Tue, 7 Aug 2018 04:47:16 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CDCA53082264; Tue, 7 Aug 2018 11:47:11 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1FEC7308BDA6; Tue, 7 Aug 2018 11:47:11 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 1FD6B4A463; Tue, 7 Aug 2018 11:47:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w77Bl7wQ017483 for ; Tue, 7 Aug 2018 07:47:08 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7CB4659150; Tue, 7 Aug 2018 11:47:07 +0000 (UTC) Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8251F587D5 for ; Tue, 7 Aug 2018 11:46:42 +0000 (UTC) Received: from m50-110.126.com (m50-110.126.com [123.125.50.110]) by mx1.redhat.com (Postfix) with ESMTP id C797187639 for ; Tue, 7 Aug 2018 11:46:36 +0000 (UTC) Received: from localhost.localdomain (unknown [111.202.166.3]) by smtp4 (Coremail) with SMTP id jdKowABXlniFhmlbvb9BAg--.14303S4; Tue, 07 Aug 2018 19:46:33 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=QF97W sv6IdeRr3VgqwKEbKAyPeVzrOHtKitGKgAlYWI=; b=V2dZJsiaF8nf4obOSy1Vc 90myqwy6slzHclG+8ixtoVF23HfVTR3u8CoEPIvpxpqnHP80jBENaE8ofl2yutsB ZLvoLcPLpUW+Z3do5gF0B7B1P9/3ewxnTTktVH9hl20b0xHe0BhK99Iudsa8M76K g3CsBDj3dxTNBfyqhZlO8k= From: Bobo Du To: libvir-list@redhat.com Date: Tue, 7 Aug 2018 07:46:11 -0400 Message-Id: <1533642371-99195-2-git-send-email-dubo163@126.com> In-Reply-To: <1533642371-99195-1-git-send-email-dubo163@126.com> References: <1533642371-99195-1-git-send-email-dubo163@126.com> MIME-Version: 1.0 X-CM-TRANSID: jdKowABXlniFhmlbvb9BAg--.14303S4 X-Coremail-Antispam: 1Uf129KBjvdXoWrtrW8ZFWUWrWfXF43Gw13twb_yoW3KwcEk3 yjvr47GryUurnaka17uFn3ZF92vwn5XFs3Gr4rtFZ8GryjyF4rta97WF4fG3s8Wa13Arn3 ZF12gr1Ska4DWjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU090eDUUUUU== X-Originating-IP: [111.202.166.3] X-CM-SenderInfo: 5gxe0iiwt6ij2wof0z/1tbifBmbMFpD5UQLfAAAsB X-Greylist: Sender passed SPF test, ACL 232 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 07 Aug 2018 11:46:41 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 07 Aug 2018 11:46:41 +0000 (UTC) for IP:'123.125.50.110' DOMAIN:'m50-110.126.com' HELO:'m50-110.126.com' FROM:'dubo163@126.com' RCPT:'' X-RedHat-Spam-Score: 1.061 * (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_ANBREP_L3, RCVD_IN_MSPIKE_BL, RCVD_IN_MSPIKE_L3, SPF_PASS) 123.125.50.110 m50-110.126.com 123.125.50.110 m50-110.126.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.26 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Cc: Bobo Du , Bobo Du Subject: [libvirt] [PATCH] qemu:Fix snapshot creating with vm xml persistent X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Tue, 07 Aug 2018 11:47:15 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 RDKM_2 RSF_0 Z_629925259 SPT_0 the vm xml will be existed when the vm is undefined after started. blockcommit interface also has the bug with above. Step1:prepare a vm=EF=BC=8Ceg:test1,start it and undefined Step2: virsh snapshot-create-as test1 --disk-only --no-metadata Step3:ls /etc/libvirt/qemu/test1.xml,then it will be exist here Signed-off-by: Bobo Du newDef); ret =3D 0; endjob: qemuDomainObjEndJob(driver, vm); --=20 1.8.3.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list