qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] SR-IOV PF reset and QEMU VFs VFIO passthrough
@ 2013-06-01 12:13 Benoît Canet
  2013-06-02 14:11 ` Alex Williamson
  2013-06-03 18:41 ` Don Dutile
  0 siblings, 2 replies; 11+ messages in thread
From: Benoît Canet @ 2013-06-01 12:13 UTC (permalink / raw)
  To: linux-pci, qemu-devel, iommu, alex.williamson


Hello,

I may have soon the PF driver of an SR-IOV card to code and make work with
QEMU/KVM so I have the following questions.

In an AMD64 setup where QEMU use VFIO to passthrough the VFs of an SR-IOV card
to a guest will the consequences of a PF FLR be handled fine by QEMU and the
guest ?

I read that pci_reset_function would call pci_restore_state restoring the SR-IOV
configuration after the reset of the PF.

The ways the hardware work means that the VFs would disappear and reappear in a
short lapse of time.

Will these events be handled by the kernel pci hotplug code ?

Given that the PF driver restore the PF config space after the reset will /sys
files used by QEMU disappear and reappear messing the QEMU VFIO passthrough or
will it goes smoothly ?

Best regards

Benoît Canet

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

end of thread, other threads:[~2013-06-04 15:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-01 12:13 [Qemu-devel] SR-IOV PF reset and QEMU VFs VFIO passthrough Benoît Canet
2013-06-02 14:11 ` Alex Williamson
2013-06-02 15:13   ` Benoît Canet
2013-06-03 18:41 ` Don Dutile
2013-06-03 19:29   ` Benoît Canet
2013-06-03 20:55     ` Don Dutile
2013-06-03 21:27       ` Benoît Canet
2013-06-03 21:42         ` Don Dutile
2013-06-03 21:58           ` Benoît Canet
2013-06-03 22:03             ` Don Dutile
2013-06-04 15:54               ` Benoît Canet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).