qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Bug 1192780 <1192780@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1192780] [NEW] qemu-kvm with snapshot option always fails with	Permission denied Could not open disk image
Date: Thu, 25 Jul 2013 09:46:03 -0600	[thread overview]
Message-ID: <51F1483B.7000900@redhat.com> (raw)
In-Reply-To: <20130620024232.3801.5553.malonedeb@soybean.canonical.com>

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

On 06/19/2013 08:42 PM, Sam Stoelinga wrote:
> Public bug reported:
> 
> I'm trying to use the option: -snapshot       write to temporary files
> instead of disk image files
> 

> 
> libvirt.xml that I'm using:
> <domain type="qemu" xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>

> <qemu:commandline>
>    <qemu:arg value='-snapshot'/>
> </qemu:commandline>
> </domain>

This is unsupported usage of libvirt, and not a qemu bug.  You'd need to
take this up with the libvirt list to get libvirt to properly support
temporary disk images without needing <qemu:commandline>, and so that
libvirt is properly setting SELinux permissions on the temporary file.

-- 
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 --]

  reply	other threads:[~2013-07-25 15:46 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 [this message]
2013-07-25 16:09 ` [Qemu-devel] [Bug 1192780] " Deepak C Shetty
2013-07-25 16:32   ` Eric Blake
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=51F1483B.7000900@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).