diff options
author | Dima Stepanov | 2020-09-11 10:39:45 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2020-09-29 08:14:29 +0200 |
commit | 892040dc8bf4686489a7841ce6d4460bafb0af38 (patch) | |
tree | 886a2d17356f49de72ab8ee4fd122d07fbfabe3a /hw/i386/pc_piix.c | |
parent | vhost: check queue state in the vhost_dev_set_log routine (diff) | |
download | qemu-892040dc8bf4686489a7841ce6d4460bafb0af38.tar.gz qemu-892040dc8bf4686489a7841ce6d4460bafb0af38.tar.xz qemu-892040dc8bf4686489a7841ce6d4460bafb0af38.zip |
tests/qtest/vhost-user-test: prepare the tests for adding new dev class
For now only vhost-user-net device is supported by the test. Other
vhost-user devices are not tested. As a first step make source code
refactoring so new devices can reuse the same test routines. To make
this provide a new vhost_user_ops structure with the methods to
initialize device, its command line or make a proper vhost-user
responses.
Signed-off-by: Dima Stepanov <dimastep@yandex-team.ru>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Message-Id: <a48b60fb96fef230b75fff72a2d77040dcb5ef7c.1599813294.git.dimastep@yandex-team.ru>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/pc_piix.c')
0 files changed, 0 insertions, 0 deletions