Skip to contentSkip to conversation

libxl: Fix bug in libxl_cdrom_insert, make more robust against bad xenstore data

PATCH Fabio Fantoni 1 participant 1 message Nov 22, 2012

lore
Share & tools
lore
#0 lore raw

I tested it with xen-unstable: no more segfault error and in genera good debug. Below the result of my test:

xl cd-insert W7 hdb raw:/mnt/vm/iso/QUANTAL.iso
libxl: error: libxl_device.c:243:libxl__device_disk_set_backend: Disk vdev=hdb failed to stat: raw:/mnt/vm/iso/QUANTAL.iso: No such file or directory

I launched the command based on this syntax:
Usage: xl [-vfN] cd-insert <Domain> <VirtualDevice> <type:path>

I also tried removing "raw:" but it gave:
xl cd-insert W7 hdb /mnt/vm/iso/QUANTAL.iso
libxl: error: libxl_device.c:269:libxl__device_disk_set_backend: no suitable backend for disk hdb

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel