]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost-user-test: Use libqos instead of pxe-virtio.rom
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 2 Sep 2016 18:59:43 +0000 (15:59 -0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 13 Dec 2016 00:13:02 +0000 (18:13 -0600)
commitee99e42be451516580bc54af8328d73e0904efbd
tree11dd661333032b9fdc3a5b7b1e576bd27cdaf51f
parent0ef167c907c13dc706ac08e96a095ff5c7d75445
vhost-user-test: Use libqos instead of pxe-virtio.rom

vhost-user-test relies on iPXE just to initialize the virtio-net
device, and doesn't do any actual packet tx/rx testing.

In addition to that, the test relies on TCG, which is
imcompatible with vhost. The test only worked by accident: a bug
the memory backend initialization made memory regions not have
the DIRTY_MEMORY_CODE bit set in dirty_log_mask.

This changes vhost-user-test to initialize the virtio-net device
using libqos, and not use TCG nor pxe-virtio.rom.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
(cherry picked from commit cdafe929615ec5eca71bcd5a3d12bab5678e5886)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/Makefile.include
tests/vhost-user-test.c