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:
624ee20
)
tests/qtest: Fix two format strings
author
Stefan Weil
<sw@weilnetz.de>
Sat, 5 Nov 2022 11:55:25 +0000
(12:55 +0100)
committer
Thomas Huth
<thuth@redhat.com>
Sun, 6 Nov 2022 09:41:47 +0000
(10:41 +0100)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <
20221105115525
.623059-1-sw@weilnetz.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/migration-test.c
patch
|
blob
|
history
diff --git
a/tests/qtest/migration-test.c
b/tests/qtest/migration-test.c
index
d2eb107
..
f574331
100644
(file)
--- a/
tests/qtest/migration-test.c
+++ b/
tests/qtest/migration-test.c
@@
-2188,7
+2188,7
@@
static void calc_dirty_rate(QTestState *who, uint64_t calc_time)
qobject_unref(qmp_command(who,
"{ 'execute': 'calc-dirty-rate',"
"'arguments': { "
- "'calc-time': %
ld
,"
+ "'calc-time': %
" PRIu64 "
,"
"'mode': 'dirty-ring' }}",
calc_time));
}
@@
-2203,7
+2203,7
@@
static void dirtylimit_set_all(QTestState *who, uint64_t dirtyrate)
qobject_unref(qmp_command(who,
"{ 'execute': 'set-vcpu-dirty-limit',"
"'arguments': { "
- "'dirty-rate': %
ld
} }",
+ "'dirty-rate': %
" PRIu64 "
} }",
dirtyrate));
}