kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] kvm-vfio: implement the vfio skeleton for VT-d Posted-Interrupts
@ 2014-11-25 12:23 Feng Wu
  2014-11-25 12:23 ` [RFC PATCH v2 1/2] KVM: kvm-vfio: User API " Feng Wu
  2014-11-25 12:23 ` [RFC PATCH v2 2/2] KVM: kvm-vfio: implement the VFIO skeleton " Feng Wu
  0 siblings, 2 replies; 15+ messages in thread
From: Feng Wu @ 2014-11-25 12:23 UTC (permalink / raw)
  To: alex.williamson, pbonzini, gleb; +Cc: kvm, eric.auger, Feng Wu

VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt.
With VT-d Posted-Interrupts enabled, external interrupts from
direct-assigned devices can be delivered to guests without VMM
intervention when guest is running in non-root mode.

You can find the VT-d Posted-Interrtups Spec. in the following URL:
http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/vt-directed-io-spec.html

This patchset adds the kvm-vfio interface for VT-d Posted-Interrrupts.

In the second patch of this patchset, I leave function
kvm_update_pi_irte() empty, since the purpose of this patch set is
to implement the VFIO related stuff for VT-d PI. kvm_update_pi_irte()
will do the real things, such as, updating IRTE. In fact, I think this
function will be implemented in another file instead of vfio.c. At the
current stage I just list it here to make the build successful. After
some other dependencies (such as, irq core changes in Linux kernel) is
resolved, I will send out the rest part of the VT-d PI patchset.

This patchset is based on the following Eric's VFIO patchset:
[PATCH v3 0/8] KVM-VFIO IRQ forward control

v1->v2
- Re-use KVM_DEV_VFIO_DEVICE group for VT-d PI.
- Define a new attribute in KVM_DEV_VFIO_DEVICE group.
- Teach KVM about sturct pci_dev, and get host irq from it. 

Feng Wu (2):
  KVM: kvm-vfio: User API for VT-d Posted-Interrupts
  KVM: kvm-vfio: implement the VFIO skeleton for VT-d Posted-Interrupts

 Documentation/virtual/kvm/devices/vfio.txt |    9 ++
 include/uapi/linux/kvm.h                   |   10 +++
 virt/kvm/vfio.c                            |  115 ++++++++++++++++++++++++++++
 3 files changed, 134 insertions(+), 0 deletions(-)


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

end of thread, other threads:[~2014-12-02 18:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-25 12:23 [RFC PATCH v2 0/2] kvm-vfio: implement the vfio skeleton for VT-d Posted-Interrupts Feng Wu
2014-11-25 12:23 ` [RFC PATCH v2 1/2] KVM: kvm-vfio: User API " Feng Wu
2014-11-25 15:01   ` Eric Auger
2014-11-25 16:10     ` Alex Williamson
2014-11-26  0:50       ` Wu, Feng
2014-12-01 10:09       ` Eric Auger
2014-12-02  2:08         ` Wu, Feng
2014-12-02  4:48           ` Alex Williamson
2014-12-02  5:09             ` Wu, Feng
2014-12-02  7:52             ` Eric Auger
2014-12-02 16:02               ` Alex Williamson
2014-12-02 18:29                 ` Eric Auger
2014-11-25 12:23 ` [RFC PATCH v2 2/2] KVM: kvm-vfio: implement the VFIO skeleton " Feng Wu
2014-11-25 16:04   ` Alex Williamson
2014-11-26  2:16     ` Wu, Feng

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).