
On 12/20/2010 07:57 AM, Jiri Denemark wrote:
Here are the version numbers:
virsh # version Compiled against library: libvir 0.6.3 Using library: libvir 0.6.3 Using API: QEMU 0.6.3 Running hypervisor: QEMU 0.9.0
Also here are the logs:
# cat /var/log/libvirt/qemu/test01.log LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/ /usr/bin/qemu-system-x86_64 -S -M rhel5.4.0 -no-kqemu -m 512 -smp 1 -nographic -monitor pty -pidfile /var/run/libvirt/qemu//test01.pid -no-reboot -boot c -kernel /var/lib/libvirt/boot/virtinst-vmlinuz.wmv9KP -initrd /var/lib/libvirt/boot/virtinst-initrd.img.PBIGHX -append method=http://10.0.0.100/iso/centos-5.5/ console=ttyS0 ks=http://10.0.0.100/ks/ks-vm.cfg -hda /dev/vg_storage/test01 -net nic,macaddr=54:52:00:6f:8e:05,vlan=0 -net tap,fd=16,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb Supported machines are: pc Standard PC (default) isapc ISA-only PC
Ah, that is the problem. Your /usr/bin/qemu-system-x86_64 binary only supports the above machine types but domain XML wants rhel5.4.0 machine type. Did you install qemu from an unofficial package or something like that? Since normally it supports rhel5.4.0 and the binary is called /usr/libexec/qemu-kvm. If you really want to use the /usr/bin/qemu-system-x86_64 binary, you need to make virt-install use "pc" machine type since by default it doesn't use any and libvirt 0.6.3 selects rhel5.4.0 as a default (newer libvirt versions are more clever in this). However, virt-install doesn't seem to have an option which could be used for overriding machine type :-/
Just an FYI, upstream virt-install does have a --machine option - Cole