Description of problem: virt-install cannot create a headless machine, i.e., no virtual VGA card. The --nographics option does not start the graphical console, but it still creates a virtual Cirrus VGA card for the guest. The --video option does not let you specify 'none' as an option. It gives a Python traceback and ERROR internal error unknown video model 'none' You can create a headless machine with qemu-kvm directly by specifying '-nographic -vga none'. Please let 'virt-install --nographics --video=none ...' create a headless virtual machine with no VGA card. Version-Release number of selected component (if applicable): python-virtinst-0.500.0-5.fc12 How reproducible: every time Steps to Reproduce: 1. virt-install --nographics --video=none ... Actual results: ERROR internal error unknown video model 'none' Expected results: create a virtual machine with no VGA card like 'qemu-kvm -nographic -vga none' Additional info:
For reference, here's my full qemu-kvm command I used when testing: qemu-kvm \ -name rhel54-headless \ -m 512 \ -hda /var/lib/libvirt/images/rhel54-headless.img \ -net nic,model=virtio \ -net user \ -nographic \ -vga none \ -serial stdio \ -kernel /..../RHEL-5-Server/U4/x86_64/os/images/pxeboot/vmlinuz \ -initrd /..../RHEL-5-Server/U4/x86_64/os/images/pxeboot/initrd.img \ -append "console=ttyS0 serial vnc"
The --nographics option to virt-install should already be turning off the VGA card. That it doesn't is a bug in libvirt, we were unable to solve in the past since '-vga' did not exist in QEMU. We can solve it now, with -vga none. There's no need for any other args in virt-install itself.
The qemu -device work facilitating this in libvirt was extensive and could not be backported to F12, so this will only work in F13 and later. Closing as RAWHIDE.