From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2OTd-0006KY-RC for qemu-devel@nongnu.org; Thu, 25 Jul 2013 12:33:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2OTM-0006ky-Dq for qemu-devel@nongnu.org; Thu, 25 Jul 2013 12:33:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2OTM-0006kt-1h for qemu-devel@nongnu.org; Thu, 25 Jul 2013 12:33:00 -0400 Message-ID: <51F1533A.50502@redhat.com> Date: Thu, 25 Jul 2013 10:32:58 -0600 From: Eric Blake MIME-Version: 1.0 References: <20130620024232.3801.5553.malonedeb@soybean.canonical.com> <20130725160913.7464.14102.malone@chaenomeles.canonical.com> In-Reply-To: <20130725160913.7464.14102.malone@chaenomeles.canonical.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5TEMsFRClGGkD5pbMoVxdx1J2fheCMjpd" Subject: Re: [Qemu-devel] [Bug 1192780] Re: qemu-kvm with snapshot option always fails with Permission denied Could not open disk image List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1192780 <1192780@bugs.launchpad.net> Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5TEMsFRClGGkD5pbMoVxdx1J2fheCMjpd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/25/2013 10:09 AM, Deepak C Shetty wrote: > Hi, quick question,=20 > I thought that using the xml tag of element is = the right way to do in libvirt ?=20 Yes, that is the designed way. Unfortunately, it has not been implemented yet (no one has been clamoring for the feature enough to write the patch themselves, or for someone else to take interest and write a patch on their behalf). > Why is method being used ? To try and work around the unimplemented nature of the libvirt design. >=20 > Also with -snapshot, iiuc the temp. file is created by QEMU internally,= > so which temp. file and its selinux perms is being referenced above ? >=20 Qemu creating a file itself when libvirt has set SELinux rules on the qemu instance is very likely to fail, since qemu doesn't know what label to give the temp file, but the temp file must be labeled to be used. Hence, this really needs to be implemented properly in libvirt, and is not a qemu bug. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --5TEMsFRClGGkD5pbMoVxdx1J2fheCMjpd 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/ iQEcBAEBCAAGBQJR8VM6AAoJEKeha0olJ0NqlV0H/jczXiMrQy9TpSAm0DQNAqoP nCCkVn4bDhTKkeqea8cyJpgVAneGhKOUaFaWKBak/wlqZHfzeg/yAKY7tnraAI4Y N5G7R7+nQPZuZ/bR+Pa2wFOZ24EnSDRLcnNBnG+9oRCoyhurAVEKGorHF3M0PfSQ IkpGDeV9Jkc8hdqnIGrja/ZZ8CmjJO+PL1F6RZryke73MJUVed9+2NAWOI/1R14O Troy2tQDV2GWlEgWrwBW1G+5nubIvgQbwKqTD12RlytPyQDZ351S1jXkp0x8g4yh Jti9TPB82JVlNTeyw+HrwtRbf34Kb+fd7Wx5FI/NRKB1vKgbbDY6bSJP3era0HM= =aFdW -----END PGP SIGNATURE----- --5TEMsFRClGGkD5pbMoVxdx1J2fheCMjpd--