summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorBen Warren <ben@skyportsystems.com>2017-07-01 23:54:03 -0400
committerMichael S. Tsirkin <mst@redhat.com>2017-07-03 22:29:49 +0300
commit83f3c7091968979ed07869dce9e0df62170f33b4 (patch)
tree324b47bf1b38b2e1d108a9aa3dcb3ad5ae4859d3 /hw/net/virtio-net.c
parentb9ec9bd468b2c5b218d16642e8f8ea4df60418bb (diff)
downloadfocaccia-qemu-83f3c7091968979ed07869dce9e0df62170f33b4.tar.gz
focaccia-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