Jump to content

Windows 8 portable, please!!! =)


Stalkkaaja

Recommended Posts

Sooo... I've hit a wall with my experiments and wonder if it's even possible. I've tried many kind of xml-configurations and when something gets better, something else gets broken. Argh, please help me! =)

 

What I have thus far:

-Fresh Windows 8.1 installation on KVM

-Kinda have a passthrough for my iGPU out of AMD A10-6700 (Radeon HD 8670D)

 

And here is when the trouble starts:

-Mouse pointer is not tracking well. (Not well at all, it's almost crazy and I have to swing the mouse multiple times out of VNC-window to get the pointer where I want. Mouse did work with the stock settings(created via WebGui -> VMs -> +Create) but something broke it after I tried to get the gpu passed through.

-Everything is very choppy. I'm using wireless to connect it, but it's 802.11ac(on my desktop) and should be more than enough.

-GPU passthrough is not really working. I can see that device in Windows but drivers do not work with it and it does not activate. What did I miss?

 

What I've tried for example:

-Disable Microsoft Basic Display Adapter to get Radeon Activated after restart -> Nothing.

-Remove <video> lines from windows8.xml -> They'll get autogenerated after I start the machine in WebGui.

-Remove <video> and <graphics> from windows8.xml -> No idea... Now I can't login to that VM because I would need VNC for it. At least they won't get autogenerated at this point. =)

 

What is the best way to connect to Windows 8.1 KVM that has a GPU passthrough? My unRaid server is a small headless ITX-case and I'd like to keep it that way. I just wanna connect it externally, using putty, vnc(or something else?) and webgui.

 

U can see the screenshots(driver problem) out of that VM in HERE

Here's my unRaid server main specs:

 

Motherboard: Asrock FM2A88X-ITX+ (Wifi+bluetooth not installed for now)

APU: A10-6700 (Has that Radeon HD 8670D that I'm trying to passthrough)

DDR3: 8Gb kit (2x4), 1866MHz Sniper something...

SSD: Kingston V300, 240Gb (Cache, Docker Apps, 80Gb VM for testing)

HDD: 2 x 2TB WD RE4 (Parity + 2TB storagte)

Connected to Asus DSL-AC68U(802.11ac, router+modem) with 20cm ethernet cable

 

Here's my Devices in VM Manager:

(I have also attached a html file inside a devices.zip that has ALL of my devices listed)

 

pci_0000_00_01_0 0x1002:0x990c vfio-pci AMD/ATI [Advanced Micro Devices, Inc.] Richland [Radeon HD 8670D]

pci_0000_00_01_1 0x1002:0x9902 vfio-pci AMD/ATI [Advanced Micro Devices, Inc.] Trinity HDMI Audio Controller

pci_0000_00_14_2 0x1022:0x780d vfio-pci AMD [Advanced Micro Devices, Inc.]         FCH Azalia Controller

 

My current windows8.xml

<domain type='kvm' id='21' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Windows8</name>
  <uuid>75d59834-fafe-4426-9549-5b3f0b65609f</uuid>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='3'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-2.1'>hvm</type>
    <boot dev='hd'/>
    <boot dev='cdrom'/>
    <bootmenu enable='no'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='4' threads='1'/>
  </cpu>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none' io='native'/>
      <source file='/mnt/cache/VM/windows8.qcow2'/>
      <backingStore/>
      <target dev='vdc' bus='virtio'/>
      <alias name='virtio-disk2'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/cache/VM/windows8.iso'/>
      <backingStore/>
      <target dev='hda' bus='sata'/>
      <readonly/>
      <alias name='sata0-0-0'/>
      <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/cache/VM/virtio.iso'/>
      <backingStore/>
      <target dev='hdd' bus='sata'/>
      <readonly/>
      <alias name='sata0-0-3'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <controller type='sata' index='0'>
      <alias name='sata0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='dmi-to-pci-bridge'>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='2' model='pci-bridge'>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:99:f5:fc'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='none' model='none'/>
  <qemu:commandline>
    <qemu:arg value='-device'/>
    <qemu:arg value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=00:01.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=00:01.1,bus=pcie.0'/>
  </qemu:commandline>
</domain>

 

So... Is it even possible to do what I'm trying to do? All I want is a Windows 8.1 VM that is running 24/7 on unRaid server. I wanna be able to access it from Ipad(using tablet-mode, please) as well as desktop pc... Will I get the benefit of gpu passthrough even after I connect that VM via VNC if I just have a fast connection, or should I try something else?

 

go.txt

syslinux.cfg

devices.zip

Link to comment

you can't have GPU passthru with VNC; it's one or the other.  I suggest you try to get everything pretty much installed and setup with VNC, then remove the video and graphics section of the XML, and add the passthru stuff, and finish installing the GPU drivers once passthru is working.

 

I also suggest you have 2 VM's for each VM that has passthru.  Basically the same, but one with VNC, the other with passthru.  Once you're finished getting the VNC version working, copy the XML to a new VM, change the uuid, the name, and the video components of it.  This way you have 2 ways to access the VM, in case GPU passthru crashes or has issues, you can still get to the VM thru VNC easily.

 

With all that said, iGPU passthru has not worked for anyone that I know of.  It can work, and there are stories of it working on the internet, but no one has it working with unRAID that I know of.

 

As for your mouse issue, add this to your XML

    <input type='tablet' bus='usb'/>

Link to comment

Thnx for the tip for adding a second xml for the vpn-version. =) This is what the manager came with and is working, even tho graphics are slow:

 

<domain type='kvm'>
  <name>windows8vpn</name>
  <uuid>35f6fd03-c1d0-4e96-a41d-4502bf0586b9</uuid>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='localtime'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='yes'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/mnt/cache/VM/windows8.qcow2'/>
      <target dev='hda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/cache/VM/virtio.iso'/>
      <target dev='hdd' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='1' target='0' unit='1'/>
    </disk>
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:70:22:71'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
</domain>

 

 

As for your mouse issue, add this to your XML

    <input type='tablet' bus='usb'/>

 

But back to the main problem... If I try to add that line there, this is what comes when I try to start the domain:

 

Error while starting domain: internal error: early end of file from monitor: possible problem: 2014-11-18T16:12:13.526765Z qemu-system-x86_64: -device usb-tablet,id=input0: No 'usb-bus' bus found for device 'usb-tablet'

 

So I was wondering if I could add the missing code from working vpn-version to the pt-version, while at the same time, I would remove the <graphics> and <video> lines:

 

    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>

 

This is what happens:

 

Error changing domain definition: internal error: Bus 0 must be PCI for integrated PIIX3 USB or IDE controllers

 

Errrr.... I'm a total noob when it comes to this area.... What have I messed up? =) Oh and one more thing... Since vpn can't be on when passthrough is working, would it be possible to access that computer remotely via rdp or such? What do u guys do?

Link to comment

I think you can access via RDP, I've not tried yet.  I heard from someone that you can access the same image at the same time from both the passthru and the VNC VM's.  I haven't had any luck, because both my images have the USB stuff in them, and I can have them both in use at the same time.  I tried removing them from my VNC image, but didn't have enough CPU and memory to use in both, so i just gave up; it's just not that important to me to access both simultaneously.

 

i suspect your problem with the mouse/tablet is maybe where you're putting the code in the XML.

 

Here is my full, working, passthru XML.  you'll have to change some parts to match your system, but the bulk of it should remain the same.

 

<domain type='kvm' id='3' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Windows8_Passthru</name>
  <uuid>2e151e44-f801-4773-a6df-bfb01b0812fb</uuid>
  <description>Windows8 with Passthru</description>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-2.1'>hvm</type>
    <boot dev='hd'/>
    <bootmenu enable='no'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough'>
  </cpu>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none' io='native'/>
      <source file='/mnt/disk/snapdisk/Windows8.qcow2'/>
      <backingStore/>
      <target dev='vdc' bus='virtio'/>
      <alias name='virtio-disk2'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/backup/Programs/WindowsISOs/en_windows_8_1_x64_dvd_2707217.iso'/>
      <backingStore/>
      <target dev='hda' bus='sata'/>
      <readonly/>
      <alias name='sata0-0-0'/>
      <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/user/backup/Programs/WindowsISOs/virtio-win-0.1-81.iso'/>
      <backingStore/>
      <target dev='sdd' bus='sata'/>
      <readonly/>
      <alias name='sata0-0-3'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb0'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb0'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb0'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x2'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='sata0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='dmi-to-pci-bridge'>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='2' model='pci-bridge'>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:16:3e:c8:c8:c8'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
    </interface>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
    </input>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x050d'/>
        <product id='0x0201'/>
        <address bus='3' device='3'/>
      </source>
      <alias name='hostdev0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x045e'/>
        <product id='0x0745'/>
        <address bus='3' device='6'/>
      </source>
      <alias name='hostdev1'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x0a12'/>
        <product id='0x0001'/>
        <address bus='3' device='7'/>
      </source>
      <alias name='hostdev2'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x147a'/>
        <product id='0xe03e'/>
        <address bus='3' device='4'/>
      </source>
      <alias name='hostdev3'/>
    </hostdev>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='none' model='none'/>
  <qemu:commandline>
    <qemu:arg value='-device'/>
    <qemu:arg value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=01:00.1,bus=pcie.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=07:00.0,bus=pcie.0'/>
  </qemu:commandline>
</domain>

Link to comment

Interesting, I never noticed this before.  The 'full' tag is the same as I have in my passthru XML, where it doesn't really matter, since I'm using a 'real' mouse there.  I suppose I could probably remove it from that XML (but I'm not going to mess with a working XML).

 

But, in my VNC XML, I don't have the 'full' tag stuff, I only have this in that XML, and it works great...

 

    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>

Link to comment

Interesting, I never noticed this before.  The 'full' tag is the same as I have in my passthru XML, where it doesn't really matter, since I'm using a 'real' mouse there.  I suppose I could probably remove it from that XML (but I'm not going to mess with a working XML).

 

But, in my VNC XML, I don't have the 'full' tag stuff, I only have this in that XML, and it works great...

 

    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>

 

The alias subtag isn't necessary.  JustinChase's code is fine.

Link to comment

Getting slightly closer I spose. With this xml I can start the VM and login to it via RDP. It's not lagging at all and mouse is working great. =) But now... The Device Manager still shows my GPU stopped because it can not access the needed resources, whatever that means... Since it's an igpu, should I add some memory for it to use, or something?

 

My windows8pt.xml:

<domain type='kvm' id='31' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>windows8pt</name>
  <uuid>75d59834-fafe-4426-9549-5b3f0b65609f</uuid>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='3'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-2.1'>hvm</type>
    <boot dev='hd'/>
    <bootmenu enable='no'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough'>
  </cpu>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none' io='native'/>
      <source file='/mnt/cache/VM/windows8.qcow2'/>
      <backingStore/>
      <target dev='vdc' bus='virtio'/>
      <alias name='virtio-disk2'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/cache/VM/windows8.iso'/>
      <backingStore/>
      <target dev='hda' bus='sata'/>
      <readonly/>
      <alias name='sata0-0-0'/>
      <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/cache/VM/virtio.iso'/>
      <backingStore/>
      <target dev='hdd' bus='sata'/>
      <readonly/>
      <alias name='sata0-0-3'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb0'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='sata0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='dmi-to-pci-bridge'>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='2' model='pci-bridge'>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:99:f5:fc'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
    </interface>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
    </input>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='none' model='none'/>
  <qemu:commandline>
    <qemu:arg value='-device'/>
    <qemu:arg value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=00:01.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=00:01.1,bus=pcie.0'/>
  </qemu:commandline>
</domain>

Link to comment

I'll let u know if I ever manage pull it off... =) Funny how surprisingly well everything is recognized but still... Something is definitely missing. I don't think some of those values are correct on the gpu-side... Memory running at 12000MHz? =/

 

I took a screenshot of Cpu-Z and GPU-Z and their values. It's in the attachments.

 

Edit: When I took that screenshot, all my cpu-cores didn't passthrough I suppose. I edited this:

 

  <cpu mode='host-passthrough'>
  </cpu>

 

To this:

 

  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='4' threads='1'/>
  </cpu>

 

And Cpu-Z can see all 4 cores, just like Windows. Everything feels a tiny bit snappier once again, even on desktop. =)

cpugpu.jpg.b512e3f5f10f61f0381b7bf552db4805.jpg

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...