From: Eric Blake <eblake@redhat.com>
To: Bug 1192780 <1192780@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1192780] Re: qemu-kvm with snapshot option always fails with Permission denied Could not open disk image
Date: Thu, 25 Jul 2013 10:32:58 -0600 [thread overview]
Message-ID: <51F1533A.50502@redhat.com> (raw)
In-Reply-To: <20130725160913.7464.14102.malone@chaenomeles.canonical.com>
[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]
On 07/25/2013 10:09 AM, Deepak C Shetty wrote:
> Hi, quick question,
> I thought that using the <transient/> xml tag of <disk> element is the right way to do in libvirt ?
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 <qemu:commandline> method being used ?
To try and work around the unimplemented nature of the libvirt design.
>
> Also with -snapshot, iiuc the temp. file is created by QEMU internally,
> so which temp. file and its selinux perms is being referenced above ?
>
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.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 621 bytes --]
next prev parent reply other threads:[~2013-07-25 16:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-20 2:42 [Qemu-devel] [Bug 1192780] [NEW] qemu-kvm with snapshot option always fails with Permission denied Could not open disk image Sam Stoelinga
2013-07-25 15:46 ` Eric Blake
2013-07-25 16:09 ` [Qemu-devel] [Bug 1192780] " Deepak C Shetty
2013-07-25 16:32 ` Eric Blake [this message]
2013-07-25 16:45 ` Eric Blake
2013-07-26 4:55 ` Deepak C Shetty
2017-07-20 12:00 ` Thomas Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51F1533A.50502@redhat.com \
--to=eblake@redhat.com \
--cc=1192780@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).