From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgY6i-0001bk-Qc for qemu-devel@nongnu.org; Fri, 10 Apr 2015 08:32:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgY6g-00016Z-Dx for qemu-devel@nongnu.org; Fri, 10 Apr 2015 08:32:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgY6g-00014y-7U for qemu-devel@nongnu.org; Fri, 10 Apr 2015 08:32:22 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 919B88E6E8 for ; Fri, 10 Apr 2015 12:32:20 +0000 (UTC) From: Gerd Hoffmann Date: Fri, 10 Apr 2015 14:31:42 +0200 Message-Id: <1428669111-24225-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 0/9] virtio-1.0: cleanups and preparations for virtio-vga List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , mst@redhat.com Hi, Here is a series of patches for virtio-pci, with some cleanups and preparations for virtio-vga. Patches 1-6 clean up the modern (virtio-1.0) memory region initialization a bit. They are preparations for the other patches, but IMHO are also a useful cleanup on their own. Patches 7+8 changes initialization so virtio-vga has a chance to arrange things as it pleases. Patches 1-8 should apply fine on top of mst's virtio-1.0 branch, and I'm looking for reviews of them. Patch 9 is the showcase for patches 7+8. It has more dependencies though, if you wanna play with that I'd suggest to fetch https://www.kraxel.org/cgit/qemu/log/?h=rebase/vga-wip cheers, Gerd Gerd Hoffmann (9): virtio: add struct VirtIOPCIRegion for virtio-1 regions virtio: add virtio_pci_modern_regions_init() virtio: add virtio_pci_modern_region_map() virtio: move virtio_pci_add_mem_cap call to virtio_pci_modern_region_map virtio: move cap type to VirtIOPCIRegion virtio: drop identical virtio_pci_cap virtio: move bar assignments to VirtIOPCIProxy virtio: init from virtio_pci_device_plugged to virtio_pci_realize virtio-vga: make compatible with stdvga hw/display/vga-pci.c | 8 +- hw/display/vga_int.h | 6 ++ hw/display/virtio-vga.c | 20 ++++- hw/virtio/virtio-pci.c | 228 ++++++++++++++++++++++++------------------------ hw/virtio/virtio-pci.h | 17 +++- 5 files changed, 157 insertions(+), 122 deletions(-) -- 1.8.3.1