<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>To add, this works perfectly fine (only change from non-working command is memory is changed from 12288 to 4096):</div>
<div><br>
</div>
<div>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">/usr/bin/qemu-system-x86_64 -drive if=ide,file=/home/me/myimage.img --enable-kvm -m 4096 -smp 2,sockets=1,cores=1,threads=2 -device vfio-pci,host=03:10.0,id=hostdev0,bus=pci.0,addr=0x6 -nographic</p>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Anjali Kulkarni <<a href="mailto:anjali@juniper.net">anjali@juniper.net</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, December 13, 2016 at 2:58 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a>" <<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a>><br>
<span style="font-weight:bold">Subject: </span>Problem with vfio-pci device type and memory > 10G (or 8G)<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi,</div>
<div><br>
</div>
<div>I am observing that with memory of 10G or 12G, with a vfio-pci device type, qemu hangs and system becomes slow and sluggish, and eventually you need to kill the hung qemu process which never returns.</div>
<div>For eg.:</div>
<div>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">/usr/bin/qemu-system-x86_64 -drive if=ide,file=/home/me/myimage.img --enable-kvm -m 12288 -smp 2,sockets=1,cores=1,threads=2 -device vfio-pci,host=03:10.0,id=hostdev0,bus=pci.0,addr=0x6 –nographic</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">Whereas with 8G or less of memory, it works fine.</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">If I remove –device vfio-pci…, everything works fine.</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">Any idea if someone has seen this issue or how to debug or what the problem could be? Looks like there is a memory limitation somewhere.</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">Anjali</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</p>
</div>
</div>
</div>
</span>
</body>
</html>