From patchwork Sun Jan 13 10:47:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 211607 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 96E322C0107 for ; Sun, 13 Jan 2013 21:43:59 +1100 (EST) Received: from localhost ([::1]:52534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuL2j-0005Ru-0u for incoming@patchwork.ozlabs.org; Sun, 13 Jan 2013 05:43:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuL2U-0005Ro-TQ for qemu-devel@nongnu.org; Sun, 13 Jan 2013 05:43:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuL2P-0000ly-Mv for qemu-devel@nongnu.org; Sun, 13 Jan 2013 05:43:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuL2P-0000lr-FY; Sun, 13 Jan 2013 05:43:37 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0DAhYfR007221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 13 Jan 2013 05:43:35 -0500 Received: from redhat.com (vpn1-4-142.ams2.redhat.com [10.36.4.142]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id r0DAhV0x014869; Sun, 13 Jan 2013 05:43:32 -0500 Date: Sun, 13 Jan 2013 12:47:28 +0200 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org, Anthony Liguori Message-ID: <20130113104728.GA23188@redhat.com> MIME-Version: 1.0 Content-Disposition: inline X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: pbonzini@redhat.com, alex.williamson@redhat.com, qemu-stable@nongnu.org, mst@redhat.com Subject: [Qemu-devel] [PULL] pci,virtio X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The following changes since commit 8e4a424b305e29dc0e454f52df3b35577f342975: Revert "virtio-pci: replace byte swap hack" (2013-01-06 18:30:17 +0000) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_anthony for you to fetch changes up to feb9a2ab4b0260d8d680a7ffd25063dafc7ec628: pci-assign: Enable MSIX on device to match guest (2013-01-09 12:11:16 +0200) ---------------------------------------------------------------- pci,virtio This further optimizes MSIX handling in virtio-pci. Also included is pci cleanup by Paolo, and pci device assignment fix by Alex. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Alex Williamson (1): pci-assign: Enable MSIX on device to match guest Michael S. Tsirkin (8): virtio: don't waste irqfds on control vqs msix: add api to access msix message kvm: add stub for update msi route virtio-pci: cache msix messages virtio: backend virtqueue notifier masking virtio-net: set/clear vhost_started in reverse order vhost: set started flag while start is in progress vhost: backend masking support Paolo Bonzini (5): docs: move pci-ids.txt to docs/specs/ reorganize pci-ids.txt virtio-9p: use symbolic constant, add to pci-ids.txt ivshmem: use symbolic constant for PCI ID, add to pci-ids.txt pci: use constants for devices under the 1B36 device ID, document them docs/specs/pci-ids.txt | 50 +++++++++++ hw/9pfs/virtio-9p-device.c | 2 +- hw/ivshmem.c | 7 +- hw/kvm/pci-assign.c | 17 +++- hw/pci/msix.c | 2 +- hw/pci/msix.h | 1 + hw/pci/pci.h | 8 ++ hw/pci_bridge_dev.c | 8 +- hw/serial-pci.c | 12 +-- hw/vhost.c | 112 +++++++++++++++++++++---- hw/vhost.h | 10 +++ hw/vhost_net.c | 27 +++++- hw/vhost_net.h | 3 + hw/virtio-net.c | 22 ++++- hw/virtio-pci.c | 203 +++++++++++++++++++++++++++++++++++++++------ hw/virtio-pci.h | 2 + hw/virtio.h | 15 +++- kvm-stub.c | 5 ++ pci-ids.txt | 31 ------- 19 files changed, 437 insertions(+), 100 deletions(-) create mode 100644 docs/specs/pci-ids.txt delete mode 100644 pci-ids.txt