On 04/03/2012 05:40 AM, Kashyap Chamarthy wrote:
On 04/03/2012 05:14 AM, Kashyap Chamarthy wrote:
> On 03/30/2012 08:26 PM, Daniel P. Berrange wrote:
>> FYI, as of this morning, both Fedora rawhide and Fedora 17 now have QEMU
>> using iPXE.
>>
>>
https://admin.fedoraproject.org/updates/FEDORA-2012-4242/
>>
>> Please try them out with
>>
>> yum --enablerepo=updates-testing update qemu
>>
>> and check PXE boot is working sensibly for you, and that gpxe-roms-qemu
>> gets removed automagically & replaced by ipxe-roms-qemu.
>
> I'm made a scratch build[1] for F16 (as I don't have an F17 host yet), and
about to test
> w/ the below cmd line:
>
> ################
> virt-install --connect=qemu:///system \
> --network=bridge:br0\
> --pxe \
> --name f16tbox \
> --disk path=/export/vmimgs/f16tbox1.img,size=10 \
> --ram 2048 \
> --vcpus=2 \
> --check-cpu \
> --hvm \
> --os-variant fedora16
> ################
> (Also, w/ my firewall turned off (iptables seems to block tftp..)
>
> [1]
http://koji.fedoraproject.org/koji/taskinfo?taskID=3962520
>
> Is this valid?
(replying to myself)
I think, I need to scratch build 'qemu-1.0-11.fc17.src.rpm' as well for F16 -- as
this
seems to have your changelog entry 'Switch to iPXE for netboot ROMs)
Just issued a F16 scratch build for 'qemu' too --
http://koji.fedoraproject.org/koji/taskinfo?taskID=3962553
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@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@foobar qemu-and-ipxe-rpms]#
##################################################################
[root@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@foobar qemu-and-ipxe-rpms]#
##################################################################
And, then try to create a new guest w/ 'pxe' using virt-install
##################################################################
[root@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@foobar pxetest]# file /dev/kvm
/dev/kvm: character special
[root@foobar pxetest]#
##################################################################
(Side note: the above same virt-install cmd-line worked for me using gpxe ont this same
box)
Any hints?
>
>>
>>
>> Regards,
>> Daniel
>
> _______________________________________________
> virt mailing list
> virt(a)lists.fedoraproject.org
>
https://admin.fedoraproject.org/mailman/listinfo/virt