WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1678] New: fail to create hvm guest with qcow2 image by

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1678] New: fail to create hvm guest with qcow2 image by xl
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Sun, 31 Oct 2010 07:01:11 -0700
Delivery-date: Sun, 31 Oct 2010 07:01:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1678

           Summary: fail to create hvm guest with qcow2 image by xl
           Product: Xen
           Version: unstable
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: yang.z.zhang@xxxxxxxxx


Environment:
------------
Service Arch (ia32/ia32e/IA64): ia32/ia32e
Guest Arch (ia32/ia32e/IA64): ia32/ia32e
Guest OS Type (Linux/Windows):linux
Change Set: 22341
Hardware: all
Other:


Bug detailed description:
--------------------------
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.



Reproduce steps:
----------------
1.install latest xen
2.prepare a qcow2 image and assign it as guest image
3.use xl create config to create guest

Current result:
----------------
xl create fails

Expected result:
----------------
guest start successful

Basic root-causing log:
----------------------


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 1678] New: fail to create hvm guest with qcow2 image by xl, bugzilla-daemon <=