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

Re: [Xen-devel] Unhandle NONE type device model broke QDISK backend



On Tue, May 21, Wei Liu wrote:

> bxl: debug: libxl_device.c:380:libxl__device_disk_set_backend: Disk vdev=xvda 
> spec.backend=qdisk
> libxl: debug: libxl_linux.c:235:libxl__get_hotplug_script_info: Domain 
> 1:backend_kind 3, no need to execute scripts

The backtrace looks like that:
(gdb) bt
#0  libxl_device_disk_dm_needed (e=0x5555557950b0, domid=0) at libxl_disk.c:1151
#1  0x00007ffff791c9a9 in libxl__need_xenpv_qemu (gc=gc@entry=0x555555795570, 
d_config=d_config@entry=0x7fffffffdb90) at libxl_dm.c:3196
#2  0x00007ffff7911bdb in libxl__domain_set_device_model 
(gc=gc@entry=0x555555795570, d_config=d_config@entry=0x7fffffffdb90) at 
libxl_create.c:50
#3  0x00007ffff7914a36 in initiate_domain_create (egc=egc@entry=0x7fffffffd970, 
dcs=dcs@entry=0x555555797960) at libxl_create.c:967
#4  0x00007ffff791505f in do_domain_create (ctx=ctx@entry=0x555555790860, 
d_config=d_config@entry=0x7fffffffdb90, domid=domid@entry=0x7fffffffdac8, 
restore_fd=restore_fd@entry=-1,
    send_back_fd=send_back_fd@entry=-1, params=params@entry=0x0, ao_how=0x0, 
aop_console_how=0x0) at libxl_create.c:1766
#5  0x00007ffff7915c8e in libxl_domain_create_new (ctx=0x555555790860, 
d_config=0x7fffffffdb90, domid=0x7fffffffdac8, ao_how=0x0, aop_console_how=0x0) 
at libxl_create.c:1980
#6  0x0000555555579a98 in create_domain (dom_info=0x7fffffffe0f0) at 
xl_vmcontrol.c:932
#7  0x000055555557abfa in main_create (argc=3, argv=0x7fffffffe3c8) at 
xl_vmcontrol.c:1242
#8  0x0000555555561116 in main (argc=3, argv=0x7fffffffe3c8) at xl.c:413

(gdb) p *elem
$2 = {backend_domid = 0, backend_domname = 0x0, pdev_path = 0x55555579b120 
"/nfs_vmimages/sle12sp2/vdisk.pv_sle12sp2_c_qcow2.disk0.qcow2", vdev = 
0x555555794670 "xvda",
  backend = LIBXL_DISK_BACKEND_UNKNOWN, format = LIBXL_DISK_FORMAT_QCOW2, 
script = 0x0, removable = 0, readwrite = 1, is_cdrom = 0, direct_io_safe = 
false, discard_enable = {val = 0},
  colo_enable = {val = 0}, colo_restore_enable = {val = -1}, colo_host = 0x0, 
colo_port = 0, colo_export = 0x0, active_disk = 0x0, hidden_disk = 0x0}

backend is not initialized at this point.
With 'backend=qdisk' it will be initialized, so there is some ordering bug.

Olaf

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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