tests/libqos/e1000e: Make e1000e libqos functions independent from global_qtest
authorThomas Huth <thuth@redhat.com>
Tue, 27 Aug 2019 11:17:47 +0000 (13:17 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 5 Sep 2019 11:18:52 +0000 (13:18 +0200)
commit4d81d77efdce7096e8bbdc18a06cf9b3d376c3cb
treee8b37b176c5cd4d828516b52b69fabe86766109e
parenta2726593884338fa0e8e50869c4f9811d1b43e05
tests/libqos/e1000e: Make e1000e libqos functions independent from global_qtest

libqos library functions should never depend on functions (like memread(),
memwrite() or clock_step()) that require global_qtest to be set, since
library functions might get used in qtests that track multiple states, too.
Thus let's replace the global_qtest-related functions with their independent
counterparts.

Message-Id: <20190904130047.25808-3-thuth@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/libqos/e1000e.c