Received: from eggs.gnu.org ([2001:4830:134:3::10]:59706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEDaD-000293-Ei for qemu-devel@nongnu.org; Thu, 22 Jan 2015 03:57:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEDa8-0007l0-9i for qemu-devel@nongnu.org; Thu, 22 Jan 2015 03:57:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEDa8-0007ko-20 for qemu-devel@nongnu.org; Thu, 22 Jan 2015 03:57:40 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0M8vdii019523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 22 Jan 2015 03:57:39 -0500 From: Gerd Hoffmann Date: Thu, 22 Jan 2015 09:57:32 +0100 Message-Id: <1421917056-6560-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] virtio-pci: 1.0 tweaks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , mst@redhat.com Hi, Continued to look at virtio-1.0. Added flags to turn off legacy/modern mode for virtio devices. Figured notification seems to not be adapted to virtio 1.0 yet: Apply this patchset, boot with -device virtio-net-pci,disable-legacy=on, watch qemu blow up in virtio_pci_set_host_notifier_internal, because it uses uninitialited proxy->bar without checking. Looked closer, seems the virtio 1.0 notification memory region isn't wired up yet ... Gerd Hoffmann (3): virtio-pci: add flags to enable/disable legacy/modern virtio-pci: use bar0 for non-transitional devices virtio-pci: make QEMU_VIRTIO_PCI_QUEUE_MEM_MULT smaller hw/virtio/virtio-pci.c | 60 ++++++++++++++++++++++++++++++++++++-------------- hw/virtio/virtio-pci.h | 6 +++++ 2 files changed, 49 insertions(+), 17 deletions(-) -- 1.8.3.1