From: Paolo Bonzini <pbonzini@redhat.com>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: kvm@vger.kernel.org, gleb@redhat.com, aik@ozlabs.ru,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/3] KVM noncoherent DMA registration and VFIO pseudo device
Date: Wed, 30 Oct 2013 19:03:15 +0100 [thread overview]
Message-ID: <527149E3.9040607@redhat.com> (raw)
In-Reply-To: <20131030165234.31949.70266.stgit@bling.home>
Il 30/10/2013 18:02, Alex Williamson ha scritto:
> v2:
> - Drop KVM device changes
> - Add kfree(dev) in destroy function
> - Add atomic_set(,0) in kvm_arch init
>
> As described in v1 and discussion, this adds a VFIO pseudo device to
> KVM through which userspace can register VFIO groups. The initial use
> of this interface is to enable emulation of coherency instructions on
> x86 when a VFIO group is attached. Future patches will allow KVM to
> query the coherency state of the IOMMU domain used by the group to
> avoid unnecessarily enabling this emulation. Thanks,
>
> Alex
>
> ---
>
> Alex Williamson (3):
> kvm: Add VFIO device
> kvm/x86: Convert iommu_flags to iommu_noncoherent
> kvm: Create non-coherent DMA registeration
>
>
> Documentation/virtual/kvm/devices/vfio.txt | 22 ++
> arch/ia64/include/asm/kvm_host.h | 2
> arch/x86/include/asm/kvm_host.h | 4
> arch/x86/kvm/Kconfig | 1
> arch/x86/kvm/Makefile | 2
> arch/x86/kvm/vmx.c | 3
> arch/x86/kvm/x86.c | 22 ++
> include/linux/kvm_host.h | 23 ++
> include/uapi/linux/kvm.h | 4
> virt/kvm/Kconfig | 3
> virt/kvm/iommu.c | 22 +-
> virt/kvm/kvm_main.c | 5 +
> virt/kvm/vfio.c | 264 ++++++++++++++++++++++++++++
> 13 files changed, 359 insertions(+), 18 deletions(-)
> create mode 100644 Documentation/virtual/kvm/devices/vfio.txt
> create mode 100644 virt/kvm/vfio.c
>
Applied to kvm/queue, thanks.
Paolo
next prev parent reply other threads:[~2013-10-30 18:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-30 17:02 [PATCH v2 0/3] KVM noncoherent DMA registration and VFIO pseudo device Alex Williamson
2013-10-30 17:02 ` [PATCH v2 1/3] kvm: Add VFIO device Alex Williamson
2013-10-30 17:02 ` [PATCH v2 2/3] kvm/x86: Convert iommu_flags to iommu_noncoherent Alex Williamson
2013-10-30 17:02 ` [PATCH v2 3/3] kvm: Create non-coherent DMA registeration Alex Williamson
2013-10-30 18:03 ` Paolo Bonzini [this message]
2013-11-05 8:05 ` [RFC PATCH v2] KVM: PPC: vfio kvm device: support spapr tce Alexey Kardashevskiy
2013-11-05 8:05 ` Alexey Kardashevskiy
2013-11-05 8:05 ` Alexey Kardashevskiy
2013-11-05 21:32 ` Alex Williamson
2013-11-05 21:32 ` Alex Williamson
2013-11-05 21:32 ` Alex Williamson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=527149E3.9040607@redhat.com \
--to=pbonzini@redhat.com \
--cc=aik@ozlabs.ru \
--cc=alex.williamson@redhat.com \
--cc=gleb@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.