<div dir="ltr"><div><div><div>hello, <br></div>this issue can be corrected by setting x-igd-gms <br></div>Regards, <br></div>Nicolas Prochazka<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-17 10:05 GMT+02:00 nicolas prochazka <span dir="ltr"><<a href="mailto:prochazka.nicolas@gmail.com" target="_blank">prochazka.nicolas@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
igd passthrough with intel nuc broadwell, skylake, kabylake works very<br>
well with windows OS.<br>
But, since a intel update igd drivers , >  20.19.15.4531 from<br>
29/09/2016, ( we are using intel driver from intel site, not windows<br>
default driver )<br>
just after driver installation, half of the ram of the OS is taken (<br>
4G for 8G Ram) as non paginated ram.<br>
With a native installation, this problem does not exist.<br>
Any idea ?<br>
<br>
<br>
Regards,<br>
Nicolas Prochazka<br>
<br>
Quest :windows 10 64bits<br>
<br>
Host :<br>
kernel 4.9.23<br>
qemu : 2.9.0<br>
qemu command line :<br>
usr/bin/qemu-system-x86_64 -name guest=win10,debug-threads=on -S<br>
-object secret,id=masterKey0,format=<wbr>raw,file=/var/lib/libvirt/<wbr>qemu/domain-1-win10/master-<wbr>key.aes<br>
-machine pc-i440fx-2.7,accel=kvm,usb=<wbr>off -cpu<br>
host,+x2apic,hv_time,hv_<wbr>relaxed,hv_vapic,hv_spinlocks=<wbr>0x1fff -bios<br>
/usr/share/seabios/bios.bin -m 6564 -mem-prealloc -mem-path<br>
/dev/hugepages/libvirt/qemu -realtime mlock=off -smp<br>
2,sockets=1,cores=2,threads=1 -uuid<br>
44a909d4-1b81-3a94-8b1e-<wbr>f86fa93947bb -nographic -no-user-config<br>
-nodefaults -chardev<br>
socket,id=charmonitor,path=/<wbr>var/lib/libvirt/qemu/domain-1-<wbr>win10/monitor.sock,server,<wbr>nowait<br>
-mon chardev=charmonitor,id=<wbr>monitor,mode=control -rtc base=localtime<br>
-no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global<br>
PIIX4_PM.disable_s4=1 -boot strict=on -device<br>
piix3-usb-uhci,id=usb,bus=pci.<wbr>0,addr=0x1.0x2 -device<br>
virtio-serial-pci,id=virtio-<wbr>serial0,bus=pci.0,addr=0x4 -drive<br>
file=nbd:unix:/tmp/win10.ctl,<wbr>format=raw,if=none,id=drive-<wbr>ide0-0-0<br>
-device ide-hd,bus=ide.0,unit=0,drive=<wbr>drive-ide0-0-0,id=ide0-0-0,<wbr>bootindex=1<br>
-drive file=nbd:unix:/tmp/swap.ctl,<wbr>format=raw,if=none,id=drive-<wbr>ide0-0-1<br>
-device ide-hd,bus=ide.0,unit=1,drive=<wbr>drive-ide0-0-1,id=ide0-0-1<br>
-netdev tap,fd=21,id=hostnet0 -device<br>
e1000,netdev=hostnet0,id=net0,<wbr>mac=ac:de:50:68:49:75,bus=pci.<wbr>0,addr=0x3<br>
-chardev socket,id=charchannel0,path=/<wbr>var/lib/libvirt/qemu/channel/<wbr>target/domain-1-win10/org.<wbr>qemu.guest_agent.0,server,<wbr>nowait<br>
-device virtserialport,bus=virtio-<wbr>serial0.0,nr=1,chardev=<wbr>charchannel0,id=channel0,name=<wbr>org.qemu.guest_agent.0<br>
-device vfio-pci,host=00:02.0,id=<wbr>hostdev0,bus=pci.0,addr=0x2 -device<br>
vfio-pci,host=00:14.0,id=<wbr>hostdev1,bus=pci.0,addr=0x5 -device<br>
vfio-pci,host=00:1f.3,id=<wbr>hostdev2,bus=pci.0,addr=0x6 -netdev<br>
user,id=user.0,restrict=on,<wbr>hostfwd=tcp:127.0.0.1:5901-:<wbr>5900 -device<br>
e1000,netdev=user.0 -msg timestamp=on<br>
<br>
<br>
<domain type='kvm' id='1'<br>
xmlns:qemu='<a href="http://libvirt.org/schemas/domain/qemu/1.0" rel="noreferrer" target="_blank">http://libvirt.<wbr>org/schemas/domain/qemu/1.0</a>'><br>
  <name>win10</name><br>
  <uuid>44a909d4-1b81-3a94-8b1e-<wbr>f86fa93947bb</uuid><br>
  <memory unit='KiB'>6721536</memory><br>
  <currentMemory unit='KiB'>6721536</<wbr>currentMemory><br>
  <memoryBacking><br>
    <hugepages/><br>
  </memoryBacking><br>
  <vcpu placement='static'>2</vcpu><br>
  <cputune><br>
    <vcpupin vcpu='0' cpuset='2'/><br>
    <vcpupin vcpu='1' cpuset='3'/><br>
  </cputune><br>
  <resource><br>
    <partition>/machine</<wbr>partition><br>
  </resource><br>
  <os><br>
    <type arch='x86_64' machine='pc-i440fx-2.7'>hvm</<wbr>type><br>
    <loader readonly='yes' type='rom'>/usr/share/seabios/<wbr>bios.bin</loader><br>
    <boot dev='hd'/><br>
  </os><br>
  <features><br>
    <acpi/><br>
    <apic/><br>
    <hap state='on'/><br>
    <hyperv><br>
      <relaxed state='on'/><br>
      <vapic state='on'/><br>
      <spinlocks state='on' retries='8191'/><br>
    </hyperv><br>
  </features><br>
  <cpu mode='host-passthrough'><br>
    <topology sockets='1' cores='2' threads='1'/><br>
    <feature policy='optional' name='x2apic'/><br>
  </cpu><br>
  <clock offset='localtime'><br>
    <timer name='hpet' present='no'/><br>
    <timer name='hypervclock' present='yes'/><br>
  </clock><br>
  <on_poweroff>destroy</on_<wbr>poweroff><br>
  <on_reboot>restart</on_reboot><br>
  <on_crash>destroy</on_crash><br>
  <pm><br>
    <suspend-to-mem enabled='no'/><br>
    <suspend-to-disk enabled='no'/><br>
  </pm><br>
  <devices><br>
    <emulator>/usr/bin/qemu-kvm.<wbr>igd</emulator><br>
    <disk type='network' device='disk'><br>
      <driver name='qemu' type='raw'/><br>
      <source protocol='nbd'><br>
        <host transport='unix' socket='/tmp/win10.ctl'/><br>
      </source><br>
      <backingStore/><br>
      <target dev='hda' bus='ide'/><br>
      <alias name='ide0-0-0'/><br>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/><br>
    </disk><br>
    <disk type='network' device='disk'><br>
      <driver name='qemu' type='raw'/><br>
      <source protocol='nbd'><br>
        <host transport='unix' socket='/tmp/swap.ctl'/><br>
      </source><br>
      <backingStore/><br>
      <target dev='hdb' bus='ide'/><br>
      <alias name='ide0-0-1'/><br>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/><br>
    </disk><br>
    <controller type='usb' index='0'><br>
      <alias name='usb'/><br>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01'<br>
function='0x2'/><br>
    </controller><br>
    <controller type='pci' index='0' model='pci-root'><br>
      <alias name='pci.0'/><br>
    </controller><br>
    <controller type='ide' index='0'><br>
      <alias name='ide'/><br>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01'<br>
function='0x1'/><br>
    </controller><br>
    <controller type='virtio-serial' index='0'><br>
      <alias name='virtio-serial0'/><br>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04'<br>
function='0x0'/><br>
    </controller><br>
    <interface type='bridge'><br>
      <mac address='ac:de:50:68:49:75'/><br>
      <source bridge='switch0'/><br>
      <vlan><br>
        <tag id='0'/><br>
      </vlan><br>
      <virtualport type='openvswitch'><br>
        <parameters interfaceid='fed8ff3d-b5db-<wbr>4541-8862-e1e2fa912ad8'/><br>
      </virtualport><br>
      <target dev='vnet0'/><br>
      <model type='e1000'/><br>
      <alias name='net0'/><br>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03'<br>
function='0x0'/><br>
    </interface><br>
    <channel type='unix'><br>
      <source mode='bind'<br>
path='/var/lib/libvirt/qemu/<wbr>channel/target/domain-1-win10/<wbr>org.qemu.guest_agent.0'/><br>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/><br>
      <alias name='channel0'/><br>
      <address type='virtio-serial' controller='0' bus='0' port='1'/><br>
    </channel><br>
    <input type='mouse' bus='ps2'><br>
      <alias name='input0'/><br>
    </input><br>
    <input type='keyboard' bus='ps2'><br>
      <alias name='input1'/><br>
    </input><br>
    <hostdev mode='subsystem' type='pci' managed='yes'><br>
      <driver name='vfio'/><br>
      <source><br>
        <address domain='0x0000' bus='0x00' slot='0x02' function='0x0'/><br>
      </source><br>
      <alias name='hostdev0'/><br>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02'<br>
function='0x0'/><br>
    </hostdev><br>
    <hostdev mode='subsystem' type='pci' managed='yes'><br>
      <driver name='vfio'/><br>
      <source><br>
        <address domain='0x0000' bus='0x00' slot='0x14' function='0x0'/><br>
      </source><br>
      <alias name='hostdev1'/><br>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05'<br>
function='0x0'/><br>
    </hostdev><br>
    <hostdev mode='subsystem' type='pci' managed='yes'><br>
      <driver name='vfio'/><br>
      <source><br>
        <address domain='0x0000' bus='0x00' slot='0x1f' function='0x3'/><br>
      </source><br>
      <alias name='hostdev2'/><br>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06'<br>
function='0x0'/><br>
    </hostdev><br>
    <memballoon model='none'><br>
      <alias name='balloon0'/><br>
    </memballoon><br>
  </devices><br>
  <seclabel type='none' model='none'/><br>
  <seclabel type='dynamic' model='dac' relabel='yes'><br>
    <label>+0:+0</label><br>
    <imagelabel>+0:+0</imagelabel><br>
  </seclabel><br>
  <qemu:commandline><br>
    <qemu:arg value='-netdev<br>
user,id=user.0,restrict=on,<wbr>hostfwd=tcp:127.0.0.1:5901-:<wbr>5900 -device<br>
e1000,netdev=user.0'/><br>
  </qemu:commandline><br>
</domain><br>
</blockquote></div><br></div>