Tuesday, March 27, 2012

Windows 7 KVM Trouble on Fedora 16

For the past school year I have been forced to use Windows for various proprietary applications that we are required to use in MBA school. =(  I have been running Fedora within VMWare Player within Windows 7 on my Thinkpad T410s.  Today I wiped my laptop, installed Fedora 16, and I am attempting to install a KVM guest of Windows 7 x64 from an ISO image using these instructions.  Unfortunately, shortly after the ISO boots in KVM it fails with this BSOD.

A quick Google search reveals seemingly nothing related to KVM.  On a hunch, I ran the qemu-kvm command that libvirt launched, and it printed this error message: KVM not supported for this target

There were some Fedora 15 era bugs with this error, but nothing more recent.  BIOS has Virtualization enabled, and lsmod shows kvm and kvm_intel loaded.  After reloading kvm_intel, I see this kmsg:
kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround

Oddly enough, the previous KVM not supported for this target message no longer happens.  This however has no effect on the BSOD.

Has anyone successfully installed Windows 7 in Fedora 16 KVM?

UPDATE: Windows 7 x64 install worked in kvm on RHEL6 on a different machine.  For some reason, only Windows 7 x32 works on my Thinkpad T410s with Fedora 16 x86_64.  Makes no sense...


  1. This comment has been removed by the author.

  2. I installed Windows 7 x64 in Fedora 16 KVM successfully. Your problem is weird. Did you try install via virt-install ?

  3. No problem installing / using here either. Mine does bork when using Spice though. What kind of hardware are you using?

  4. I got past the point of the Win7 32-bit installation.

    Did you install the virtio-win package in the host and then point the virtio-win.vfp to the floppy (virtual floppy image) during the installation? It contains some missing drivers.

    The problem is that the virtio-win package is not in F16. I used one from a RHEL repository I found somewhere.

  5. You can grab virtio-win ISO from here http://dl.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/
    Then try install via virt-manager or virt-install like this http://pastebin.com/ZCJCXcq5