Windows 8 on virsh failed..

This is a failed log on testing Windows 8 on virsh. With kvm (w/o virsh, just kvm command line) I could run Windows 8 VM, but it has some issue on disk performance. So, I’ve tried to move into virsh.


To run on just prepared test server (Intel NCU BOXDC3217IYE) with Debian Wheezy RC1, I need to setup:

  • Setup bridge device: br0
  • Enable vnc_listen = "" in /etc/libvirt/qemu.conf

Tried and failure

Added following xml with virsh define

<domain type='kvm'>
    <boot dev='hd'/>
    <boot dev='cdrom'/>


    <acpi />
    <apic />
    <pae />
  <clock offset='localtime'/>

    <disk type='file' device='disk'>  
      <driver name='qemu' type='raw'/>
      <source file='/local/kvm/win-test.disk'/>
      <target dev='vda' bus='virtio'/>
    <interface type='bridge'>
      <source bridge='br0'/>
      <mac address='52:54:00:1d:18:5e'/>
      <target dev='vnet0'/>  
    <input type='tablet' bus='usb'/>
    <graphics type='vnc' port='5902' keymap='ja'/>

And attached iso image by following xml with virsh attach-device --config WinVM ./iso_win8_ent_ja_x86.xml

<disk type='file' device='cdrom'>
   <driver name='qemu' type='raw' cache='none'/>
   <source file='/local/iso/ja_windows_8_enterprise_x86.iso'/>
   <target dev='hdc'/>
</disk >

(Note: --config makes this iso device permanently.)

After kicking installer by virsh start, Windows 8 installer died with error 5D.
error image

Leave a Reply »