[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.