[libvirt-users] libvirt 1.2.5 + xen 4.4
Daniel P. Berrange
berrange at redhat.com
Thu Sep 25 08:35:35 UTC 2014
On Thu, Sep 25, 2014 at 10:40:24AM +0530, cool dharma06 wrote:
> hi,
>
>
> i am trying to create hvm in xen via libvirt but i am facing some error. i
> installed the packages like bltap-utils, blktap-dkms in my dom0.
>
>
> virsh create tiny_core.xml
> p11-kit: invalid config filename, will be ignored in the future:
> /etc/pkcs11/modules/gnome-keyring-module
> error: Failed to create domain from tiny_core.xml
> error: internal error: libxenlight failed to create new domain 'tiny'
>
>
> config.xml file:
> <domain type='xen'>
> <name>tiny</name>
> <uuid>cc5b436b-a04b-4fc3-b145-e91df494fd26</uuid>
> <memory unit='KiB'>262144</memory>
> <currentMemory unit='KiB'>262144</currentMemory>
> <vcpu placement='static'>1</vcpu>
> <os>
> <type arch='x86_64' machine='xenfv'>hvm</type>
> <loader>/usr/local/lib/xen/boot/hvmloader</loader>
> <boot dev='hd'/>
> </os>
> <pae/>
> <acpi/>
> <apic/>
> <clock offset='variable' adjustment='0' basis='localtime'/>
> <on_poweroff>destroy</on_poweroff>
> <on_reboot>restart</on_reboot>
> <on_crash>restart</on_crash>
> <devices>
> <emulator>/usr/local/lib/xen/bin/qemu-dm</emulator>
> <disk type='file' device='disk'>
> <driver name='file'/>
> <source file='/opt/tinyos/tiny_core_plus.img'/>
> <target dev='hda'/>
> </disk>
[snip]
> libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk
> vdev=hda spec.backend=tap
> libxl: debug: libxl_device.c:210:disk_try_backend: Disk vdev=hda, backend
> tap unsuitable because blktap not available
You seem to have built yourself a Xen build without the blktap disk
driver backend, which is making Xen unhappy.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvirt-users
mailing list