diff options
author | Ben Warren | 2017-07-02 05:54:03 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2017-07-03 21:29:49 +0200 |
commit | 83f3c7091968979ed07869dce9e0df62170f33b4 (patch) | |
tree | 324b47bf1b38b2e1d108a9aa3dcb3ad5ae4859d3 /hw/net/virtio-net.c | |
parent | vhost-user: unregister slave req handler at cleanup time (diff) | |
download | qemu-83f3c7091968979ed07869dce9e0df62170f33b4.tar.gz qemu-83f3c7091968979ed07869dce9e0df62170f33b4.tar.xz qemu-83f3c7091968979ed07869dce9e0df62170f33b4.zip |
tests: Add unit tests for the VM Generation ID feature
The following tests are implemented:
* test that a GUID passed in by command line is propagated to the guest.
Read the GUID from guest memory
* test that the "auto" argument to the GUID generates a valid GUID, as
seen by the guest.
* test that a GUID passed in can be queried from the monitor
This patch is loosely based on a previous patch from:
Gal Hammer <ghammer@redhat.com> and Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Ben Warren <ben@skyportsystems.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions