* xl cd-insert / xl cd-eject on xen-unstable @ 2012-04-17 13:34 Fantu 2012-04-20 9:30 ` Fantu 2012-04-20 10:26 ` Ian Campbell 0 siblings, 2 replies; 6+ messages in thread From: Fantu @ 2012-04-17 13:34 UTC (permalink / raw) To: xen-devel Someone can explain use of these commands? I ran tests with a hvm domU but with errors For example: xl -v cd-insert XP hdc raw:/mnt/vm/iso/test.iso libxl: error: libxl.c:1647:libxl_cdrom_insert: Virtual device not found Thanks for any reply. -- View this message in context: http://xen.1045712.n5.nabble.com/xl-cd-insert-xl-cd-eject-on-xen-unstable-tp5646585p5646585.html Sent from the Xen - Dev mailing list archive at Nabble.com. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xl cd-insert / xl cd-eject on xen-unstable 2012-04-17 13:34 xl cd-insert / xl cd-eject on xen-unstable Fantu @ 2012-04-20 9:30 ` Fantu 2012-04-20 10:26 ` Ian Campbell 1 sibling, 0 replies; 6+ messages in thread From: Fantu @ 2012-04-20 9:30 UTC (permalink / raw) To: xen-devel I also try with qemu-xen-traditional instead of qemu-xen but nothing same error, someone can help me please? For now I not found howto/wiki/readme about xl cd-insert/cd-eject and all pratical test is failed. Thanks for any reply and sorry for bad english. -- View this message in context: http://xen.1045712.n5.nabble.com/xl-cd-insert-xl-cd-eject-on-xen-unstable-tp5646585p5653764.html Sent from the Xen - Dev mailing list archive at Nabble.com. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xl cd-insert / xl cd-eject on xen-unstable 2012-04-17 13:34 xl cd-insert / xl cd-eject on xen-unstable Fantu 2012-04-20 9:30 ` Fantu @ 2012-04-20 10:26 ` Ian Campbell 2012-04-20 11:16 ` Fantu 1 sibling, 1 reply; 6+ messages in thread From: Ian Campbell @ 2012-04-20 10:26 UTC (permalink / raw) To: Fantu; +Cc: xen-devel On Tue, 2012-04-17 at 14:34 +0100, Fantu wrote: > Someone can explain use of these commands? I ran tests with a hvm domU but > with errors > > For example: > xl -v cd-insert XP hdc raw:/mnt/vm/iso/test.iso > libxl: error: libxl.c:1647:libxl_cdrom_insert: Virtual device not found What is your guest configuration? You need to have created it with an empty virtual CDROM device (specifically hdc in the case you outline above). Ian. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xl cd-insert / xl cd-eject on xen-unstable 2012-04-20 10:26 ` Ian Campbell @ 2012-04-20 11:16 ` Fantu 2012-04-23 14:21 ` Fantu 0 siblings, 1 reply; 6+ messages in thread From: Fantu @ 2012-04-20 11:16 UTC (permalink / raw) To: xen-devel Thanks for reply. What I must write for emply virtual cdrom? I tried 'hdc,ro,cdrom' but return parsing error. I also tried cd-eject with this configuration: --------------------------------------- name='XP' builder="hvm" memory=1024 vcpus=2 hap=1 pae=1 acpi=1 apic=1 nx=1 vif=['bridge=xenbr0'] #vfb=['vnc=1,vncunused=1,vnclisten=0.0.0.0,keymap=it'] disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw','/mnt/vm/iso/test.iso,raw,hdc,ro,cdrom'] #disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw'] boot='cd' xen_platform_pci=1 viridian=1 device_model_version="qemu-xen" #device_model_override="/usr/lib/xen/bin/qemu-debug.sh" vnc=1 vncunused=1 vnclisten="0.0.0.0" keymap="it" #spice=1 #spicehost="0.0.0.0" #spiceport=6000 #spicedisable_ticketing=1 on_poweroff="destroy" on_reboot="restart" on_crash="destroy" stdvga=0 #device_model_args=["-vga qxl -global qxl-vga.vram_size_mb=16"] #videoram=128 #device_model_args=["-vga qxl"] --------------------------------------- And return this error: xl cd-eject XP hdc command line: config parsing error in disk specification: unknown value for format: near `hdc:cdrom' in `,hdc:cdrom,r' xl cd-eject is not full compatible with new disk configuration? (the cdrom added on xl configuration file is working) -- View this message in context: http://xen.1045712.n5.nabble.com/xl-cd-insert-xl-cd-eject-on-xen-unstable-tp5646585p5653963.html Sent from the Xen - Dev mailing list archive at Nabble.com. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xl cd-insert / xl cd-eject on xen-unstable 2012-04-20 11:16 ` Fantu @ 2012-04-23 14:21 ` Fantu 2012-04-23 14:49 ` Fantu 0 siblings, 1 reply; 6+ messages in thread From: Fantu @ 2012-04-23 14:21 UTC (permalink / raw) To: xen-devel Fantu wrote > > Thanks for reply. > What I must write for emply virtual cdrom? I tried 'hdc,ro,cdrom' but > return parsing error. > > I also tried cd-eject with this configuration: > --------------------------------------- > name='XP' > builder="hvm" > memory=1024 > vcpus=2 > hap=1 > pae=1 > acpi=1 > apic=1 > nx=1 > vif=['bridge=xenbr0'] > #vfb=['vnc=1,vncunused=1,vnclisten=0.0.0.0,keymap=it'] > disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw','/mnt/vm/iso/test.iso,raw,hdc,ro,cdrom'] > #disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw'] > boot='cd' > xen_platform_pci=1 > viridian=1 > device_model_version="qemu-xen" > #device_model_override="/usr/lib/xen/bin/qemu-debug.sh" > vnc=1 > vncunused=1 > vnclisten="0.0.0.0" > keymap="it" > #spice=1 > #spicehost="0.0.0.0" > #spiceport=6000 > #spicedisable_ticketing=1 > on_poweroff="destroy" > on_reboot="restart" > on_crash="destroy" > stdvga=0 > #device_model_args=["-vga qxl -global qxl-vga.vram_size_mb=16"] > #videoram=128 > #device_model_args=["-vga qxl"] > --------------------------------------- > > And return this error: > xl cd-eject XP hdc > command line: config parsing error in disk specification: unknown value > for format: near `hdc:cdrom' in `,hdc:cdrom,r' > > xl cd-eject is not full compatible with new disk configuration? (the cdrom > added on xl configuration file is working) > I Try also with: disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw','/mnt/vm/iso/test.iso,raw,hdc:cdrom,r'] But always same error on eject: xl cd-eject XP hdc command line: config parsing error in disk specification: unknown value for format: near `hdc:cdrom' in `,hdc:cdrom,r' Seem not refer to domU configuration files but xl bug -- View this message in context: http://xen.1045712.n5.nabble.com/xl-cd-insert-xl-cd-eject-on-xen-unstable-tp5646585p5659521.html Sent from the Xen - Dev mailing list archive at Nabble.com. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xl cd-insert / xl cd-eject on xen-unstable 2012-04-23 14:21 ` Fantu @ 2012-04-23 14:49 ` Fantu 0 siblings, 0 replies; 6+ messages in thread From: Fantu @ 2012-04-23 14:49 UTC (permalink / raw) To: xen-devel Fantu wrote > > > Fantu wrote >> >> Thanks for reply. >> What I must write for emply virtual cdrom? I tried 'hdc,ro,cdrom' but >> return parsing error. >> >> I also tried cd-eject with this configuration: >> --------------------------------------- >> name='XP' >> builder="hvm" >> memory=1024 >> vcpus=2 >> hap=1 >> pae=1 >> acpi=1 >> apic=1 >> nx=1 >> vif=['bridge=xenbr0'] >> #vfb=['vnc=1,vncunused=1,vnclisten=0.0.0.0,keymap=it'] >> disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw','/mnt/vm/iso/test.iso,raw,hdc,ro,cdrom'] >> #disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw'] >> boot='cd' >> xen_platform_pci=1 >> viridian=1 >> device_model_version="qemu-xen" >> #device_model_override="/usr/lib/xen/bin/qemu-debug.sh" >> vnc=1 >> vncunused=1 >> vnclisten="0.0.0.0" >> keymap="it" >> #spice=1 >> #spicehost="0.0.0.0" >> #spiceport=6000 >> #spicedisable_ticketing=1 >> on_poweroff="destroy" >> on_reboot="restart" >> on_crash="destroy" >> stdvga=0 >> #device_model_args=["-vga qxl -global qxl-vga.vram_size_mb=16"] >> #videoram=128 >> #device_model_args=["-vga qxl"] >> --------------------------------------- >> >> And return this error: >> xl cd-eject XP hdc >> command line: config parsing error in disk specification: unknown value >> for format: near `hdc:cdrom' in `,hdc:cdrom,r' >> >> xl cd-eject is not full compatible with new disk configuration? (the >> cdrom added on xl configuration file is working) >> > > I Try also with: > disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw','/mnt/vm/iso/test.iso,raw,hdc:cdrom,r'] > But always same error on eject: > xl cd-eject XP hdc > command line: config parsing error in disk specification: unknown value > for format: near `hdc:cdrom' in `,hdc:cdrom,r' > > Seem not refer to domU configuration files but xl bug > Probably I have found the bug, on xl_cmdimpl.c on main_cd_eject function: cd_insert(p, virtdev, NULL); It gives error, probably not compatible with new disk configuration parsing. I tried to modify cd_insert function but without success. Someone can fix this bug please? -- View this message in context: http://xen.1045712.n5.nabble.com/xl-cd-insert-xl-cd-eject-on-xen-unstable-tp5646585p5659590.html Sent from the Xen - Dev mailing list archive at Nabble.com. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-04-23 14:49 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-04-17 13:34 xl cd-insert / xl cd-eject on xen-unstable Fantu 2012-04-20 9:30 ` Fantu 2012-04-20 10:26 ` Ian Campbell 2012-04-20 11:16 ` Fantu 2012-04-23 14:21 ` Fantu 2012-04-23 14:49 ` Fantu
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.