[fedora-virt] FYI: iPXE in Fedora 17

Kashyap Chamarthy kashyapc at fedoraproject.org
Wed Apr 4 08:14:17 UTC 2012


>>
>> Ok, I installed the rpms, and tried to start an old F16 guest, and then tried to create a
>> 'new' guest w/ 'pxe' option. This is what I see:
>>
>> ##################################################################
>> [root at foobar qemu-and-ipxe-rpms]# virsh start f16t1
>> error: Failed to start domain f16t1
>> error: internal error cannot parse /usr/bin/qemu-kvm version number in 'QEMU emulator
>> version 1.0 (qemu-kvm-1.0), Copyright (c) 2003-2008 Fabrice Bellard'
>>
>> [root at foobar qemu-and-ipxe-rpms]#
>> ##################################################################
>> [root at foobar qemu-and-ipxe-rpms]# rpm -qa | grep -i qemu
>> ipxe-roms-qemu-20120328-1.gitaac9718.fc16.noarch
>> qemu-common-1.0-11.fc16.x86_64
>> qemu-kvm-1.0-11.fc16.x86_64
>> qemu-system-x86-1.0-11.fc16.x86_64
>> qemu-img-1.0-11.fc16.x86_64
>> [root at foobar qemu-and-ipxe-rpms]#
>> ##################################################################
>>
>> And, then try to create a new guest w/ 'pxe' using virt-install
>> ##################################################################
>> [root at foobar pxetest]# ./pxetest1.bash
>> + virt-install --connect=qemu:///system --network=bridge:br0 --pxe --name f16tbox2 --disk
>> path=/var/lib/libvirt/images/f16tbox2.img,size=8 --ram 1024 --vcpus=2 --check-cpu --hvm
>> --os-variant fedora16
>> ERROR    Host does not support virtualization type 'hvm'
>> ##################################################################
>> [root at foobar pxetest]# file /dev/kvm
>> /dev/kvm: character special
>> [root at foobar pxetest]#
>> ##################################################################
>>
>> (Side note: the above same virt-install cmd-line worked for me using gpxe ont this same box)
>>
>> Any hints?
> 
> The version of libvirt you have is not expecting the new 2-digit QEMU
> version numbers. Update to newer libvirt too !

Gah, silly me.

Just kicked off a scratch build for libvirt too using this srm -->
libvirt-0.9.10-4.fc17.src.rpm  -- http://koji.fedoraproject.org/koji/taskinfo?taskID=3962625

Will retest once it's built.

Thanks.


> 
> 
> Daniel



More information about the virt mailing list