Поставил вроде все как обычно
aptitude install qemu-kvm bridge-utils libvirt-bin virtinst
# virt-install -n vmWinXP -r 512 -f /kvm/vmWinXP.img -s 10 -c /kvm/WinXP.iso --accelerate --os-type=windows --os-variant=winxp -v --vnc -w bridge:kvmbr0 --noacpi
Starting install...
Creating domain... | 0 B 00:00
Cannot open display:
Run 'virt-viewer --help' to see a full list of available command line options
хотя
# virsh -c qemu:///system list --all
Id Name State
----------------------------------
- vmWinXP shut off
# virsh -c qemu:///system start vmWinXP
error: Failed to start domain vmWinXP
error: Timed out during operation: cannot acquire state change lock
может тут что то значит?
# cat vmWinXP.log
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin HOME=/root USER=root LOGNAME=root QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name vmWinXP -uuid 6a068020-7afd-838a-51c8-d53d6dcf02e8 -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/vmWinXP.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=localtime -no-reboot -no-acpi -boot d -drive file=/kvm/vmWinXP.img,if=none,id=drive-ide0-0-0,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive file=/kvm/WinXP.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -device rtl8139,vlan=0,id=net0,mac=52:54:00:58:a6:7b,bus=pci.0,addr=0x3 -net tap,fd=33,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -vnc 127.0.0.1:0 -k en-us -vga std -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
char device redirected to /dev/pts/6
TUNGETIFF ioctl() failed: Invalid argument
да и
# netstat -nap | grep :5900
# ps aux | grep libvirt
root 28438 0.0 0.1 62804 5800 ? Sl 11:17 0:00 /usr/sbin/libvirtd -d