OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e19c520
)
ivshmem-test: do not use short-form boolean option
author
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 3 Nov 2020 12:37:46 +0000
(07:37 -0500)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 4 Nov 2020 17:00:02 +0000
(12:00 -0500)
This QemuOpts idiom will be deprecated, so get rid of it in the tests.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/qtest/ivshmem-test.c
patch
|
blob
|
history
diff --git
a/tests/qtest/ivshmem-test.c
b/tests/qtest/ivshmem-test.c
index
d5c8b9f
..
dfa6942
100644
(file)
--- a/
tests/qtest/ivshmem-test.c
+++ b/
tests/qtest/ivshmem-test.c
@@
-135,7
+135,7
@@
static void setup_vm_cmd(IVState *s, const char *cmd, bool msix)
static void setup_vm(IVState *s)
{
char *cmd = g_strdup_printf("-object memory-backend-file"
- ",id=mb1,size=1M,share,mem-path=/dev/shm%s"
+ ",id=mb1,size=1M,share
=on
,mem-path=/dev/shm%s"
" -device ivshmem-plain,memdev=mb1", tmpshm);
setup_vm_cmd(s, cmd, false);