Kilbasar
July 14th, 2009, 11:46 AM
Hi,
I'm trying to get Vista to run under KVM on Jaunty. The installation went perfectly (used the virt-manager installation wizard, mostly default options, selected Vista as the os type). But after install, I cannot boot into the actual OS. All I get is the QEMU fake bios stuff, then a black screen. I've also tried running it from the command line, basically just:
kvm -m 1024 -vga std vista.img
I've tried each options for "-vga", all give the same result. Anyone gotten around this, or know any other kvm options I should try? Thanks! My XML file for libvirt is below, although it's pretty vanilla.
- Kilbasar
# cat vista.xml
<domain type='kvm'>
<name>vista</name>
<uuid>73052d3b-02e9-5241-0df2-777a43600f75</uuid>
<memory>1048576</memory>
<currentMemory>1048576</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='i686' machine='pc'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='localtime'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
<source file='/etc/vm/vista.img'/>
<target dev='hda' bus='ide'/>
</disk>
<disk type='block' device='cdrom'>
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
<interface type='bridge'>
<mac address='54:52:00:0b:f8:50'/>
<source bridge='br0'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>
<sound model='es1370'/>
</devices>
</domain>
I'm trying to get Vista to run under KVM on Jaunty. The installation went perfectly (used the virt-manager installation wizard, mostly default options, selected Vista as the os type). But after install, I cannot boot into the actual OS. All I get is the QEMU fake bios stuff, then a black screen. I've also tried running it from the command line, basically just:
kvm -m 1024 -vga std vista.img
I've tried each options for "-vga", all give the same result. Anyone gotten around this, or know any other kvm options I should try? Thanks! My XML file for libvirt is below, although it's pretty vanilla.
- Kilbasar
# cat vista.xml
<domain type='kvm'>
<name>vista</name>
<uuid>73052d3b-02e9-5241-0df2-777a43600f75</uuid>
<memory>1048576</memory>
<currentMemory>1048576</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='i686' machine='pc'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='localtime'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
<source file='/etc/vm/vista.img'/>
<target dev='hda' bus='ide'/>
</disk>
<disk type='block' device='cdrom'>
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
<interface type='bridge'>
<mac address='54:52:00:0b:f8:50'/>
<source bridge='br0'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>
<sound model='es1370'/>
</devices>
</domain>