From: Marcelo Tosatti <mtosatti@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Avi Kivity <avi@redhat.com>,
kvm@vger.kernel.org, Alex Williamson <alex.williamson@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [PATCH v2 00/20] pci-assign: Refactor for upstream merge
Date: Thu, 23 Aug 2012 17:04:05 -0300 [thread overview]
Message-ID: <20120823200405.GA29320@amt.cnet> (raw)
In-Reply-To: <cover.1345186746.git.jan.kiszka@siemens.com>
On Fri, Aug 17, 2012 at 08:58:48AM +0200, Jan Kiszka wrote:
> With this series, we are getting very close to obsoleting qemu-kvm. It
> refactors hw/device-assignment.c and the associated KVM helper functions
> into a form that should allow merging them into QEMU. Once the series is
> acceptable for qemu-kvm, I will break out the necessary uq/master
> patches and push pci-assign to upstream.
>
> The major step of this series is to define a regular set of kvm_device_*
> services that encapsulate classic (i.e. KVM-based, non-VFIO) device
> assignment features and export them to i386 targets only. There will
> never be another arch using them, therefore I pushed them into this
> corner. Moreover, the device assignment device now makes use of the new
> KVM IRQ/MSI routing API and no longer pokes into the internals of that
> layer. Finally, I moved the code into hw/kvm/pci-assign.c, dropped the
> superfluous configure option and did some basic code cleanups (mostly
> coding style) to bring things in shape.
>
> Note that patch 1 is a simple bug fix that should likely be applied for
> qemu-kvm-1.2 independently.
>
> Changes in v2:
> - rebased over qemu-kvm next
> - consistently clear unused IOCTL fields via structure initialization
>
> Jan Kiszka (20):
> pci-assign: Only clean up registered IO resources
> pci-assign: Factor out kvm_device_pci_assign/deassign
> pci-assign: Rename assign_irq to assign_intx
> pci-assign: Refactor interrupt deassignment
> pci-assign: Factor out kvm_device_intx_assign
> qemu-kvm: Move kvm_device_intx_set_mask service
> qemu-kvm: Clear unused IOCTL fields in kvm_device_intx_set_mask
> pci-assign: Rework MSI assignment
> pci-assign: Factor out kvm_device_msix_supported
> pci-assign: Replace kvm_assign_set_msix_nr with
> kvm_device_msix_init_vectors
> pci-assign: Replace kvm_assign_set_msix_entry with
> kvm_device_msix_set_vector
> pci-assign: Rework MSI-X route setup
> pci-assign: Factor out kvm_device_msix_assign
> qemu-kvm: Kill qemu-kvm.[ch]
> pci-assign: Drop configure switches
> pci-assign: Move and rename source file
> pci-assign: Fix coding style issues
> pci-assign: Replace exit() with hw_error()
> pci-assign: Drop unused or write-only variables
> pci-assign: Gracefully handle missing in-kernel irqchip support
>
> configure | 11 -
> hw/i386/Makefile.objs | 3 -
> hw/kvm/Makefile.objs | 2 +-
> hw/{device-assignment.c => kvm/pci-assign.c} | 502 +++++++++++++-------------
> kvm-all.c | 54 +++-
> kvm-stub.c | 9 -
> kvm.h | 12 +-
> qemu-kvm.c | 233 ------------
> qemu-kvm.h | 112 ------
> target-i386/kvm.c | 141 +++++++
> target-i386/kvm_i386.h | 22 ++
> 11 files changed, 460 insertions(+), 641 deletions(-)
> rename hw/{device-assignment.c => kvm/pci-assign.c} (84%)
> delete mode 100644 qemu-kvm.c
> delete mode 100644 qemu-kvm.h
>
> --
> 1.7.3.4
Applied, thanks.
prev parent reply other threads:[~2012-08-23 20:29 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-17 6:58 [PATCH v2 00/20] pci-assign: Refactor for upstream merge Jan Kiszka
2012-08-17 6:58 ` [PATCH v2 01/20] pci-assign: Only clean up registered IO resources Jan Kiszka
2012-08-17 6:58 ` [PATCH v2 02/20] pci-assign: Factor out kvm_device_pci_assign/deassign Jan Kiszka
2012-08-17 6:58 ` [PATCH v2 03/20] pci-assign: Rename assign_irq to assign_intx Jan Kiszka
2012-08-17 6:58 ` [PATCH v2 04/20] pci-assign: Refactor interrupt deassignment Jan Kiszka
2012-08-17 6:58 ` [PATCH v2 05/20] pci-assign: Factor out kvm_device_intx_assign Jan Kiszka
2012-08-17 6:58 ` [PATCH v2 06/20] qemu-kvm: Move kvm_device_intx_set_mask service Jan Kiszka
2012-08-17 6:58 ` [PATCH v2 07/20] qemu-kvm: Clear unused IOCTL fields in kvm_device_intx_set_mask Jan Kiszka
2012-08-17 6:58 ` [PATCH v2 08/20] pci-assign: Rework MSI assignment Jan Kiszka
2012-08-17 6:58 ` [PATCH v2 09/20] pci-assign: Factor out kvm_device_msix_supported Jan Kiszka
2012-08-17 6:58 ` [PATCH v2 10/20] pci-assign: Replace kvm_assign_set_msix_nr with kvm_device_msix_init_vectors Jan Kiszka
2012-08-17 6:58 ` [PATCH v2 11/20] pci-assign: Replace kvm_assign_set_msix_entry with kvm_device_msix_set_vector Jan Kiszka
2012-08-17 6:59 ` [PATCH v2 12/20] pci-assign: Rework MSI-X route setup Jan Kiszka
2012-08-17 6:59 ` [PATCH v2 13/20] pci-assign: Factor out kvm_device_msix_assign Jan Kiszka
2012-08-17 6:59 ` [PATCH v2 14/20] qemu-kvm: Kill qemu-kvm.[ch] Jan Kiszka
2012-08-17 6:59 ` [PATCH v2 15/20] pci-assign: Drop configure switches Jan Kiszka
2012-08-17 6:59 ` [PATCH v2 16/20] pci-assign: Move and rename source file Jan Kiszka
2012-08-17 6:59 ` [PATCH v2 17/20] pci-assign: Fix coding style issues Jan Kiszka
2012-08-17 6:59 ` [PATCH v2 18/20] pci-assign: Replace exit() with hw_error() Jan Kiszka
2012-08-17 6:59 ` [PATCH v2 19/20] pci-assign: Drop unused or write-only variables Jan Kiszka
2012-08-17 6:59 ` [PATCH v2 20/20] pci-assign: Gracefully handle missing in-kernel irqchip support Jan Kiszka
2012-08-23 20:04 ` Marcelo Tosatti [this message]
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=20120823200405.GA29320@amt.cnet \
--to=mtosatti@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=avi@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox