From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSiGt-000356-MP for qemu-devel@nongnu.org; Fri, 21 Aug 2015 05:06:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSiGq-00023F-ID for qemu-devel@nongnu.org; Fri, 21 Aug 2015 05:05:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSiGq-00021S-Cd for qemu-devel@nongnu.org; Fri, 21 Aug 2015 05:05:56 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 7981D8E68D for ; Fri, 21 Aug 2015 09:05:55 +0000 (UTC) From: Jason Wang Date: Fri, 21 Aug 2015 17:05:44 +0800 Message-Id: <1440147950-1178-1-git-send-email-jasowang@redhat.com> Subject: [Qemu-devel] [PATCH 0/6] virtio pci 1.0 optimizations and fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, mst@redhat.com Cc: Jason Wang Hi all: This series tries to fix the following issues: - 1.0 mmio is slow. Fixing this by usinng wildcard mmio eventfd, then we could get speed up through kernel fast mmio bus on ept capable machine. - 1.0 mmio is slow compared to pio. Fixing this by re-introducing pio notification capability. This will be useful for the arch/setups that fast mmio does not work. - Some virtio pci 1.0 fields were not migrated. This will cause unexpected behaviour if migrate during driver initialization. Fixing this by introduce a transport specific callback and get/put transport specific fields for virtio 1.0. - queue_enable read was broken. Fixing by set the queue_enable to true during guest write and clear it during reset. Please review. Thanks Jason Wang (6): pc: introduce 2.5 machine type ppc: spapr: introduce 2.5 machine type virtio-pci: fix 1.0 virtqueue migration virtio-pci: use wildcard mmio eventfd for 1.0 notification cap virtio-pci: introduce pio notification capability for modern device virtio-pci: unbreak queue_enable read hw/i386/pc_piix.c | 21 ++++- hw/i386/pc_q35.c | 23 ++++- hw/ppc/spapr.c | 40 +++++++- hw/virtio/virtio-pci.c | 206 ++++++++++++++++++++++++++++++++++++----- hw/virtio/virtio-pci.h | 30 ++++-- hw/virtio/virtio.c | 58 ++++++++++++ include/hw/compat.h | 7 ++ include/hw/i386/pc.h | 3 + include/hw/virtio/virtio-bus.h | 3 + 9 files changed, 357 insertions(+), 34 deletions(-) -- 2.1.4