This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] xl create fail with qcow2 image sometimes

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] xl create fail with qcow2 image sometimes
From: "Zhang, Yang Z" <yang.z.zhang@xxxxxxxxx>
Date: Wed, 13 Oct 2010 16:00:38 +0800
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Wed, 13 Oct 2010 01:03:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActqrLkuQWMMF16pQoOI1HNq6kLkGA==
Thread-topic: xl create fail with qcow2 image sometimes
Hi all
I find use "xl create" to create guest with qcow2 image fails sometimes. It 
shows the error:
cannot add disk 0 to domain: -2
libxl: error: libxl.c:896:libxl_destroy_device_model Couldn't find device 
model's pid: No such file or directory
libxl: error: libxl.c:956:libxl_domain_destroy libxl_destroy_device_model 
failed for 21

I use follow command to create qcow2 image.
qemu-img-xen create -f qcow2 test.img -b /share/xvs/img/app/ia32e_SMP.img

But sometimes it is successful to create guest.
For example:
I use qemu-img-xen to create two same images: test.qcow2 and test1.qcow2. 
Using same config file to create guest, it is successful with test.qcow2 but 
fail with test1.qcow2.

The changeset i used is 22155. Anyone meet this issue? Or any suggestion?

best regards

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] xl create fail with qcow2 image sometimes, Zhang, Yang Z <=