qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Deepak C Shetty <deepakcs@linux.vnet.ibm.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Fwd: [libvirt] virDomainAttachDevice error during disk hotplug
Date: Tue, 20 Aug 2013 16:43:48 +0200	[thread overview]
Message-ID: <20130820144348.GC5536@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <520E2798.7030607@linux.vnet.ibm.com>

On Fri, Aug 16, 2013 at 06:52:32PM +0530, Deepak C Shetty wrote:
> 2) qemu-img info /var/run/vdsm/3333017d-1278-4bfb-8129-62bded257399
> image: /var/run/vdsm/3333017d-1278-4bfb-8129-62bded257399
> file format: qcow2
> virtual size: 3.8G (4096000000 bytes)
> disk size: 196K
> cluster_size: 65536
> backing file:
> /rhev/data-center/000065de-04b8-42e2-986c-2de664708be7/11112d24-4cda-4200-8f6d-a1d8362c70fd/images/22224c45-6504-4ea1-bd24-12340017dd32/3333017d-1278-4bfb-8129-62bded257399
> backing file format: qcow2

Good, QEMU can parse and read the file.

> 3) ls -l
> /rhev/data-center/000065de-04b8-42e2-986c-2de664708be7/11112d24-4cda-4200-8f6d-a1d8362c70fd/images/22224c45-6504-4ea1-bd24-12340017dd32/3333017d-1278-4bfb-8129-62bded257399
> -r--r-----. 1 vdsm kvm 197120 Aug 10 11:59
> /rhev/data-center/000065de-04b8-42e2-986c-2de664708be7/11112d24-4cda-4200-8f6d-a1d8362c70fd/images/22224c45-6504-4ea1-bd24-12340017dd32/3333017d-1278-4bfb-8129-62bded257399

Read-only?

> 4) libvirtd.log snippets:
> 
> 2013-08-10 11:19:41.766+0000: 1103: debug : virDomainAttachDevice:9820 :
> dom=0x7f92f4003f20, (VM: name=dpk_BR_vm,
> uuid=9999017d-1278-4bfb-8129-62bded257399), xml=<disk device="disk"
> snapshot="no" type="file">
>         <source file="/var/run/vdsm/3333017d-1278-4bfb-8129-62bded257399"/>
>         <target bus="virtio" dev="vdb"/>
> <serial>22224c45-6504-4ea1-bd24-12340017dd32</serial>
>         <driver cache="none" error_policy="stop" io="threads"
> name="qemu" type="qcow2"/>
> </disk>

I see no read-only option.

Does it work if you make the file read-write instead?

  reply	other threads:[~2013-08-20 14:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <52062D34.1050804@linux.vnet.ibm.com>
2013-08-16 13:22 ` [Qemu-devel] Fwd: [libvirt] virDomainAttachDevice error during disk hotplug Deepak C Shetty
2013-08-20 14:43   ` Stefan Hajnoczi [this message]
2013-08-20 14:57     ` Daniel P. Berrange
2013-08-21  9:03       ` Stefan Hajnoczi
2013-08-21  9:08         ` Daniel P. Berrange

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=20130820144348.GC5536@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=deepakcs@linux.vnet.ibm.com \
    --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).