Received: from eggs.gnu.org ([2001:4830:134:3::10]:43808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw67o-0000QW-4r for qemu-devel@nongnu.org; Mon, 17 Oct 2016 07:30:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bw67l-0006wJ-LE for qemu-devel@nongnu.org; Mon, 17 Oct 2016 07:30:35 -0400 References: <1476700224-13186-1-git-send-email-lvivier@redhat.com> <1476700224-13186-4-git-send-email-lvivier@redhat.com> From: Thomas Huth Message-ID: <74cd1a45-ff1e-1084-6f06-e1aa85ca837b@redhat.com> Date: Mon, 17 Oct 2016 13:30:29 +0200 MIME-Version: 1.0 In-Reply-To: <1476700224-13186-4-git-send-email-lvivier@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 3/6] tests: move QVirtioBus pointer into QVirtioDevice List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , qemu-devel@nongnu.org Cc: dgibson@redhat.com, qemu-ppc@nongnu.org, Greg Kurz On 17.10.2016 12:30, Laurent Vivier wrote: > This allows to not have to pass bus and device for every virtio functions. > > Signed-off-by: Laurent Vivier > Reviewed-by: Greg Kurz > --- > tests/libqos/virtio-mmio.c | 1 + > tests/libqos/virtio-pci.c | 2 + > tests/libqos/virtio.c | 77 +++++++++++------------- > tests/libqos/virtio.h | 51 +++++++--------- > tests/vhost-user-test.c | 33 +++++----- > tests/virtio-9p-test.c | 15 +++-- > tests/virtio-blk-test.c | 147 ++++++++++++++++++++------------------------- > tests/virtio-net-test.c | 59 +++++++++--------- > tests/virtio-scsi-test.c | 17 +++--- > 9 files changed, 185 insertions(+), 217 deletions(-) Reviewed-by: Thomas Huth