public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* vfio issue in qemu 2.5
@ 2016-02-04 15:01 Goutham GS
  2016-02-04 17:02 ` Alex Williamson
  0 siblings, 1 reply; 6+ messages in thread
From: Goutham GS @ 2016-02-04 15:01 UTC (permalink / raw)
  To: kvm

[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]

Hi All,

We are facing a vfio issue on qemu 2.5. Really appreciate any help or
pointers. Details are as below:

We are using qemu 2.5 compiled out of git commit
0b0571dd246871f18b7d64b5279511e91e2a7bf6 and are using Linux Kernel 3.18.19
for both host and the VM. We are also using KVM VM with pci-assign'ed SRIOV
VF interfaces.

The issue happens once in a while when a running VM is rebooted. On boot,
the VM hits the following error and stops.

qemu-system-x86_64: -device
vfio-pci,host=04:00.7,id=hostdev2,bus=pci.0,addr=0x9: vfio: failed to set
iommu for container: Bad address
qemu-system-x86_64: -device
vfio-pci,host=04:00.7,id=hostdev2,bus=pci.0,addr=0x9: vfio: failed to setup
container for group 40
qemu-system-x86_64: -device
vfio-pci,host=04:00.7,id=hostdev2,bus=pci.0,addr=0x9: vfio: failed to get
group 40
qemu-system-x86_64: -device
vfio-pci,host=04:00.7,id=hostdev2,bus=pci.0,addr=0x9: Device initialization
failed

Strange thing is, once this error is hit, no further VMs can be spawned on
the host and all of them run into the same problem. However a reboot of the
host appears to solve the issue.

I have attached the relevant logs.

Regards,
Goutham.

[-- Attachment #2: vfio_issue.tgz --]
[-- Type: application/x-compressed, Size: 2208 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-05  6:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04 15:01 vfio issue in qemu 2.5 Goutham GS
2016-02-04 17:02 ` Alex Williamson
2016-02-04 18:23   ` Goutham GS
2016-02-05  5:19     ` Goutham GS
2016-02-05  6:02       ` Alex Williamson
2016-02-05  6:30         ` Goutham GS

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox