]> git.proxmox.com Git - mirror_qemu.git/commit - tests/prom-env-test.c
tests/prom-env: Make test independent of global_qtest
authorThomas Huth <thuth@redhat.com>
Mon, 19 Nov 2018 15:05:29 +0000 (16:05 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 17 Dec 2018 14:36:40 +0000 (15:36 +0100)
commitdc4c1587223d8d5eb60a8ad2c465839545674442
treea0e23e6c9eb2e77dcff7e29fe122d49c1a03d81f
parented398a1206035c082bf9553cb627f4c6c6b5b5c1
tests/prom-env: Make test independent of global_qtest

global_qtest is only needed here for one readl(). Let's replace it
with qtest_readl() and we can remove the global_qtest variable here.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/prom-env-test.c