From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaRZG-0000Gr-Ly for qemu-devel@nongnu.org; Thu, 09 May 2013 10:11:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UaRZF-0002MJ-CD for qemu-devel@nongnu.org; Thu, 09 May 2013 10:11:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaRZF-0002MF-33 for qemu-devel@nongnu.org; Thu, 09 May 2013 10:11:33 -0400 Message-ID: <518BAE87.2000208@redhat.com> Date: Thu, 09 May 2013 08:11:19 -0600 From: Eric Blake MIME-Version: 1.0 References: <33183CC9F5247A488A2544077AF190205369B2BE@szxeml538-mbx.china.huawei.com> In-Reply-To: <33183CC9F5247A488A2544077AF190205369B2BE@szxeml538-mbx.china.huawei.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2XFSQRGHVPQHGVLIJWVPD" Subject: Re: [Qemu-devel] "virsh edit" failed to take effect on KVM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gonglei (Arei)" Cc: Yanqiangjun , Luonengjun , "qemu-devel@nongnu.org" , "Huangweidong (Hardware)" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2XFSQRGHVPQHGVLIJWVPD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/09/2013 05:42 AM, Gonglei (Arei) wrote: > Hi all, > we use the command "virsh edit" to modify the VM configuration info= rmation online on KVM Platform(libvirt-1.0.0 and qemu-1.4),=20 > but it does not take effect after reboot. However, it works fine on Xen= Platform. This sort of question belongs best on libvirt-users@redhat.com (libvirt-list-request is not the right list address, and your question isn't quite relevant to qemu-devel). > With the changing, the VM is expected to start from cdrom, when execute= the command "virsh reboot". 'virsh reboot' triggers a software reboot (reusing the same existing qemu process); but 'virsh edit' only affects what will take place on a hard boot (creation of a new qemu process). > But the fact is that the modify does not take effect, the VM is still s= tart from hd.=20 > Well, it will take effect if I use command "virsh shutdown" and "virsh = start" instesad of "virsh reboot". Correct, because that sequence spawns a new qemu process. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2XFSQRGHVPQHGVLIJWVPD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRi66HAAoJEKeha0olJ0NqUtkH/1QJ4s2EQlx/cqcgkwK9Tgui vPNLYHE5q+u2+uBpxXQ8bXUNG0fKTb2AhshGBGI21+NXF/qlCP7Sfg5NKO8/QIlW xOLmZeX9PIxUagR4aTrzsaH4iINgg+VbwHK0FHIKN60pn+NSRE932pB4S64UaI7R 3otgEWUUBdvHuRYVyvhwz7d027lBXScumNSyxz9qkgmqoZdcT/fsiUqv5Hmc/gVC aDljO/jTe+fiaWZ26SLtqB35eUwaYAC8DZqtc9h0N3tzWR9aCCkJhtfa/gnwLrAM 7qZGMf//LMkpr42cX+Zqnq+O7srUEvVaGfNGLtfA5Qqmv0LczHCSRwhMfnLJjPA= =pO37 -----END PGP SIGNATURE----- ------enig2XFSQRGHVPQHGVLIJWVPD--