Skip to contentSkip to conversation

Cdrom empty not working with new disk configuration

DISCUSSION Fabio Fantoni 2 participants 2 messages Apr 24, 2012

lore
Share & tools
lore
#0 lore raw

With new xl disk configuration is not possible set empty cdrom

disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw',',raw,hdb,ro,cdrom']

xl create /etc/xen/XP.cfg
Parsing config file /etc/xen/XP.cfg
libxl: error: libxl_device.c:197:libxl__device_disk_set_backend: Disk vdev=hdb failed to stat: : No such file or directory
libxl: error: libxl_dm.c:1045:libxl__destroy_device_model: Couldn't find device model's pid: No such file or directory
libxl: error: libxl.c:1094:libxl_domain_destroy: libxl__destroy_device_model failed for 8

Now xl cd-insert/cd-eject are not working
xl cd-insert is not possible without empty cdrom and cd-eject fail for error on setting of empty cdrom

xl cd-eject XP hdc
command line: config parsing error in disk specification: unknown value for format: near hdc:cdrom' in ,hdc:cdrom,r'

Tips on how to solve the problem?

Thanks for any reply and sorry for bad english

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

#1 lore raw
Quoted 17 lines · Fabio Fantoni

With new xl disk configuration is not possible set empty cdrom

disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw',',raw,hdb,ro,cdrom']

xl create /etc/xen/XP.cfg
Parsing config file /etc/xen/XP.cfg
libxl: error: libxl_device.c:197:libxl__device_disk_set_backend: Disk vdev=hdb failed to stat: : No such file or directory
libxl: error: libxl_dm.c:1045:libxl__destroy_device_model: Couldn't find device model's pid: No such file or directory
libxl: error: libxl.c:1094:libxl_domain_destroy:
libxl__destroy_device_model failed for 8

Now xl cd-insert/cd-eject are not working
xl cd-insert is not possible without empty cdrom and cd-eject fail for error on setting of empty cdrom

Quoted 5 lines

xl cd-eject XP hdc
command line: config parsing error in disk specification: unknown value for format: near hdc:cdrom' in ,hdc:cdrom,r'

Tips on how to solve the problem?

I couldn't get this to work either. I'll include this in the bug list for 4.2.

Ian.