diff options
| author | Markus Armbruster | 2016-03-15 19:34:23 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2016-03-21 21:28:59 +0100 |
| commit | 14c5d49ab39fe767c39b8adce9bee5494063d56a (patch) | |
| tree | c05cbf14c5382ddc504143279f75e433c31876f0 /docs | |
| parent | ivshmem-test: Improve test case /ivshmem/single (diff) | |
| download | qemu-14c5d49ab39fe767c39b8adce9bee5494063d56a.tar.gz qemu-14c5d49ab39fe767c39b8adce9bee5494063d56a.tar.xz qemu-14c5d49ab39fe767c39b8adce9bee5494063d56a.zip | |
ivshmem-test: Clean up wait for devices to become operational
test_ivshmem_server() waits until the first byte in BAR 2 contains the
0x42 we put into shared memory. Works because the byte reads zero
until the device maps the shared memory gotten from the server.
Check the IVPosition register instead: it's initially -1, and becomes
non-negative right when the device maps the share memory, so no
change, just cleaner, because it's what guest software is supposed to
do.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <1458066895-20632-9-git-send-email-armbru@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
