<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p>>> <span style="font-size: 12pt;">I run QEMU with the following command:</span></p>
<pre>>> -device vfio-pci,host=01:00.0,x-vga=on -device vfio-pci,host=01:00.1</pre>
<pre><br></pre>
<pre>You are missing the PCIe Root Bridge, and attaching the GPU to it. Linux is picky about that.</pre>
<pre>Try with this:</pre>
<pre><span>-device ioh3420,chassis=0,id=testbus \
</span><div>-device vfio-pci,host=01:00.0,multifunction=true,bus=testbus,addr=00.0,x-vga=on \</div><div>-device vfio-pci,host=01:00.1,bus=testbus,addr=00.1 \</div></pre>
<p></p>
</div>
</body>
</html>