[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] attach an iso file to a PV guest
On Wed, 2013-07-31 at 17:17 +0200, Maarten Vanraes wrote: > Op woensdag 31 juli 2013 15:36:39 schreef Ian Campbell: > > On Wed, 2013-07-31 at 16:20 +0200, Maarten Vanraes wrote: > > > i'm using the xl tools and i want to attach an iso file to a PV. > > > > Which version of Xen and what does your guest config file contain? > > > > Please can you provide the result of attempting "xl -vvv create $cfg" with > > your $cfg > > thanks to your suggestion to use -vvv i can now see more on what's going on... > > this is xen 4.2.2 using the centos repository with kernel: > 3.4.46-8.el6.centos.alt.x86_64 > > > what didn't work: > [ ]# xl -vvv block-attach templ-sl6 > format=raw,vdev=hdb,access=ro,backendtype=tap,devtype=cdrom,target=/path/to/SL-64.iso > > output: > ----------- > libxl: debug: libxl.c:3211:libxl_device_disk_add: ao 0x1a09a40: create: > how=(nil) callback=(nil) poller=0x1a09aa0 > libxl: debug: libxl_device.c:245:libxl__device_disk_set_backend: Disk > vdev=hdb > spec.backend=tap > DEBUG libxl__blktap_devpath 37 aio:/etc/xen/isos/ScientificLinux/SL-64- > x86_64-2013-03-18-Install-DVD.iso > libxl: error: libxl.c:1866:device_disk_add: failed to get blktap devpath for > 0x1a09bf0 Weird. There were some oddities with cdrom and/or blktap in 4.2, which may be improved in 4.3. Can you try without the backendtype=tap bit (just say nothing). I hope this will cause libxl to automatically pick something which actually works. Unless you know you have some specific requirement for blktap this is good advice in general. Ian. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |