[libvirt-users] Windows 10 guest

Bill Kenworthy billk at iinet.net.au
Wed Aug 19 12:17:46 UTC 2015


I am trying to install windows 10 (dreamspark education ISO) into
qemu-kvm on Gentoo linux.

I got past the cpu problems but am stuck on the image file drivers.

The relevant xml is below.  It asks for the driver disk which I have,
but if I select a driver (either vioscsi or viostor which show as valid
it churns away for a few seconds and brings up the cant find driver
dialog and cant progress.  I've tried both the 102 and 109 RH driver
versions (Ive tried most drivers from the ISO's that shows as
compatible, usually win8 or 8.1.)  Both cdrom xml definitions work fine,
but the disk one doesn't and I cant find the magic incantation.


  <os>
    <type arch='x86_64' machine='pc-q35-2.4'>hvm</type>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
    </hyperv>
    <kvm>
      <hidden state='on'/>
    </kvm>
  </features>
  <cpu mode='custom' match='exact'>
    <model fallback='allow'>core2duo</model>
    <vendor>Intel</vendor>
    <topology sockets='1' cores='2' threads='2'/>

and

<devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/mnt/vm/Win10/Win10_disk1.qcow2'/>
      <target dev='vda' bus='virtio'/>
      <boot order='2'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x06'
function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source
file='/mnt/vm/Win10/en_windows_10_education_x64_dvd_6848120.iso'/>
      <target dev='hda' bus='ide'/>
      <readonly/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/vm/Win10/virtio-win-0.1.102.iso'/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
      <boot order='3'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>




More information about the libvirt-users mailing list