From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHAVf-0004zc-6m for qemu-devel@nongnu.org; Tue, 12 Aug 2014 07:45:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHAVW-0000vX-4l for qemu-devel@nongnu.org; Tue, 12 Aug 2014 07:44:59 -0400 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:39696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHAVV-0000vT-UA for qemu-devel@nongnu.org; Tue, 12 Aug 2014 07:44:50 -0400 Received: by mail-we0-f173.google.com with SMTP id q58so9937579wes.18 for ; Tue, 12 Aug 2014 04:44:49 -0700 (PDT) From: =?UTF-8?q?Marc=20Mar=C3=AD?= Date: Tue, 12 Aug 2014 13:41:45 +0200 Message-Id: <1407843716-18301-1-git-send-email-marc.mari.barcelo@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v4 00/11] Virtio PCI libqos driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc=20Mar=C3=AD?= , Paolo Bonzini , Stefan Hajnoczi Add functions for virtio PCI libqos driver. Add more debugging tools. Solve bugs found while generating tests. v3: Solved problems, added indirect descriptor support and test for configuration changes v4: Solved bugs, changed some interfaces, added MSI-X and event_idx support. Marc MarĂ­ (11): tests: Functions bus_foreach and device_find from libqos virtio API tests: Add virtio device initialization libqtest: add QTEST_LOG for debugging qtest testcases libqos: Correct mask to align size to PAGE_SIZE in malloc-pc libqos: Change free function called in malloc virtio-blk: Correct bug in support for flexible descriptor layout libqos: Added basic virtqueue support to virtio implementation libqos: Added indirect descriptor support to virtio implementation libqos: Added test case for configuration changes in virtio-blk test libqos: Added MSI-X support libqos: Added EVENT_IDX support hw/block/virtio-blk.c | 14 +- tests/Makefile | 3 +- tests/libqos/malloc-pc.c | 2 +- tests/libqos/malloc.h | 2 +- tests/libqos/pci.c | 110 +++++++++- tests/libqos/pci.h | 10 + tests/libqos/virtio-pci.c | 337 ++++++++++++++++++++++++++++++ tests/libqos/virtio-pci.h | 61 ++++++ tests/libqos/virtio.c | 255 +++++++++++++++++++++++ tests/libqos/virtio.h | 182 ++++++++++++++++ tests/libqtest.c | 7 +- tests/virtio-blk-test.c | 501 ++++++++++++++++++++++++++++++++++++++++++++- 12 files changed, 1463 insertions(+), 21 deletions(-) create mode 100644 tests/libqos/virtio-pci.c create mode 100644 tests/libqos/virtio-pci.h create mode 100644 tests/libqos/virtio.c create mode 100644 tests/libqos/virtio.h -- 1.7.10.4