<div dir="ltr">Here is my xml in case it helps:<br><div><br></div><div><div><domain type='kvm'></div><div>  <name>dozer</name></div><div>  <uuid>989e9ee8-2e0a-asdf-asdf-00a41fdb1b31</uuid></div><div>  <title>dozer</title></div><div>  <memory unit='KiB'>8388608</memory></div><div>  <currentMemory unit='KiB'>8388608</currentMemory></div><div>  <memoryBacking></div><div>    <hugepages/></div><div>  </memoryBacking></div><div>  <vcpu placement='static'>4</vcpu></div><div>  <cputune></div><div>    <vcpupin vcpu='0' cpuset='4'/></div><div>    <vcpupin vcpu='1' cpuset='5'/></div><div>    <vcpupin vcpu='2' cpuset='6'/></div><div>    <vcpupin vcpu='3' cpuset='7'/></div><div>  </cputune></div><div>  <os></div><div>    <type arch='x86_64' machine='pc-i440fx-xenial'>hvm</type></div><div>    <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader></div><div>    <nvram>/var/lib/libvirt/qemu/nvram/dozer_VARS.fd</nvram></div><div>    <boot dev='hd'/></div><div>  </os></div><div>  <features></div><div>    <acpi/></div><div>    <apic/></div><div>    <hyperv></div><div>      <relaxed state='on'/></div><div>      <vapic state='on'/></div><div>      <spinlocks state='on' retries='8191'/></div><div>    </hyperv></div><div>  </features></div><div>  <cpu mode='host-passthrough'></div><div>    <topology sockets='1' cores='4' threads='1'/></div><div>  </cpu></div><div>  <clock offset='localtime'></div><div>    <timer name='rtc' tickpolicy='catchup'/></div><div>    <timer name='pit' tickpolicy='delay'/></div><div>    <timer name='hpet' present='no'/></div><div>    <timer name='hypervclock' present='yes'/></div><div>  </clock></div><div>  <on_poweroff>destroy</on_poweroff></div><div>  <on_reboot>restart</on_reboot></div><div>  <on_crash>restart</on_crash></div><div>  <pm></div><div>    <suspend-to-mem enabled='no'/></div><div>    <suspend-to-disk enabled='no'/></div><div>  </pm></div><div>  <devices></div><div>    <emulator>/usr/bin/kvm-spice</emulator></div><div>    <disk type='file' device='disk'></div><div>      <driver name='qemu' type='qcow2'/></div><div>      <source file='/var/lib/libvirt/images/dozer.qcow2'/></div><div>      <target dev='sda' bus='scsi'/></div><div>      <address type='drive' controller='0' bus='0' target='0' unit='0'/></div><div>    </disk></div><div>    <disk type='block' device='disk'></div><div>      <driver name='qemu' type='raw' cache='none' io='native'/></div><div>      <source dev='/dev/sdb1'/></div><div>      <target dev='sdb' bus='scsi'/></div><div>      <address type='drive' controller='0' bus='0' target='0' unit='1'/></div><div>    </disk></div><div>    <controller type='usb' index='0' model='ich9-ehci1'></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/></div><div>    </controller></div><div>    <controller type='usb' index='0' model='ich9-uhci1'></div><div>      <master startport='0'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/></div><div>    </controller></div><div>    <controller type='usb' index='0' model='ich9-uhci2'></div><div>      <master startport='2'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/></div><div>    </controller></div><div>    <controller type='usb' index='0' model='ich9-uhci3'></div><div>      <master startport='4'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/></div><div>    </controller></div><div>    <controller type='scsi' index='0' model='virtio-scsi'></div><div>      <driver queues='4'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/></div><div>    </controller></div><div>    <controller type='pci' index='0' model='pci-root'/></div><div>    <interface type='network'></div><div>      <mac address='52:54:00:bb:4f:3b'/></div><div>      <source network='default'/></div><div>      <model type='virtio'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/></div><div>    </interface></div><div>    <interface type='bridge'></div><div>      <mac address='52:54:00:de:52:c9'/></div><div>      <source bridge='br0'/></div><div>      <model type='virtio'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/></div><div>    </interface></div><div>    <hostdev mode='subsystem' type='pci' managed='yes'></div><div>      <source></div><div>        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/></div><div>      </source></div><div>      <rom file='/var/lib/libvirt/roms/MSI.RX480.4096.160720.rom'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/></div><div>    </hostdev></div><div>    <hostdev mode='subsystem' type='pci' managed='yes'></div><div>      <source></div><div>        <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/></div><div>      </source></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/></div><div>    </hostdev></div><div>    <hostdev mode='subsystem' type='usb' managed='yes'></div><div>      <source></div><div>        <vendor id='0x24f0'/></div><div>        <product id='0x0137'/></div><div>      </source></div><div>    </hostdev></div><div>    <hostdev mode='subsystem' type='usb' managed='yes'></div><div>      <source></div><div>        <vendor id='0x1532'/></div><div>        <product id='0x0016'/></div><div>      </source></div><div>    </hostdev></div><div>    <hostdev mode='subsystem' type='usb' managed='yes'></div><div>      <source></div><div>        <vendor id='0x045e'/></div><div>        <product id='0x070f'/></div><div>      </source></div><div>    </hostdev></div><div>    <memballoon model='virtio'></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/></div><div>    </memballoon></div><div>  </devices></div><div></domain></div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 22, 2017 at 4:30 PM, P. Pronk <span dir="ltr"><<a href="mailto:vfio@pronk.nl" target="_blank">vfio@pronk.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Thanks, that's good to know and I will try to specify the rom.<br>
<br>
In the mean time, do you know which bios revision your card has? The other revision is <a href="https://www.techpowerup.com/vgabios/185395/msi-rx480-8192-160719" rel="noreferrer" target="_blank">https://www.techpowerup.com/vg<wbr>abios/185395/msi-rx480-8192-16<wbr>0719</a><br>
<br>
So is it 113-MSITV341MH.151 or 113-MSITV341MH.152 ?<br>
<br>
Pim<span class=""><br>
<br>
<br>
<br>
On 2017-01-22 20:46, Scott wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I have that msi rx480 card working with pass through.<br>
<br>
Note I had a much easier time using the uefi bios. I am currently<br>
specifying a rom file in my XML for my video card but I don't think<br>
that's entirely necessary.<br>
<br>
scott<br>
<br>
On Jan 22, 2017 12:47 PM, "P. Pronk" <<a href="mailto:vfio@pronk.nl" target="_blank">vfio@pronk.nl</a>> wrote:<br>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On Sun, 22 Jan 2017 11:55:57 +1100, Luke Yelavich wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Who is the manufacturer of both your AMD cards? So far as I<br>
understand<br>
things, its up to the manufacturer of the card to provide the<br>
appropriate ROM<br>
to suit the configuration of the card. Its likely that a ROM/BIOS<br>
update may<br>
fix your RX 480 card. Do both cards work under a pure Windows<br>
environment?<br>
</blockquote>
<br>
That's a simple question but a difficult answer to get a pure<br>
Windows environment working again ;)<br>
<br>
Anyway, I got the following results after using GPU-Z under Windows:<br>
The RX480 is a MSI Gaming X 8G:<br>
</span><a href="https://www.techpowerup.com/vgabios/187387/187387" rel="noreferrer" target="_blank">https://www.techpowerup.com/vg<wbr>abios/187387/187387</a> [1]<span class=""><br>
and the RX460 is a XFX R460P4TFG5:<br>
</span><a href="https://www.techpowerup.com/vgabios/189230/189230" rel="noreferrer" target="_blank">https://www.techpowerup.com/vg<wbr>abios/189230/189230</a> [2]<span class=""><br>
<br>
Cheers, Pim<br>
<br>
______________________________<wbr>_________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a><br>
</span><a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/vfio-users</a> [3]<br>
</blockquote>
<br>
<br>
Links:<br>
------<br>
[1] <a href="https://www.techpowerup.com/vgabios/187387/187387" rel="noreferrer" target="_blank">https://www.techpowerup.com/vg<wbr>abios/187387/187387</a><br>
[2] <a href="https://www.techpowerup.com/vgabios/189230/189230" rel="noreferrer" target="_blank">https://www.techpowerup.com/vg<wbr>abios/189230/189230</a><br>
[3] <a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/vfio-users</a><br>
</blockquote>
</blockquote></div><br></div>