tests/libqtest: Fix description of qtest_vinitf() and qtest_initf()
PATCH 1/1 tests/libqtest: Fix description of qtest_vinitf() and qtest_initf()
These functions are convenience wrappers of qtest_init() and not of qtest_start().
Signed-off-by Thomas Huth <[email protected]>
--- tests/libqtest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tests/libqtest.h +2 -2
@@ -29,7 +29,7 @@ extern QTestState *global_qtest;* @fmt...: Format for creating other arguments to pass to QEMU, formatted * like sprintf(). * -* Convenience wrapper around qtest_start(). +* Convenience wrapper around qtest_init(). * * Returns: #QTestState instance. */
@@ -41,7 +41,7 @@ QTestState *qtest_initf(const char *fmt, ...) GCC_FMT_ATTR(1, 2);* like vsprintf(). * @ap: Format arguments. * -* Convenience wrapper around qtest_start(). +* Convenience wrapper around qtest_init(). * * Returns: #QTestState instance. */
Signature · 1 line
2.21.0
Quoted 7 lines · Thomas Huth
These functions are convenience wrappers of
qtest_init()and not ofqtest_start().Signed-off-by Thomas Huth <[email protected]>--- tests/libqtest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Eric Blake <[email protected]>
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
Quoted 2 lines · Thomas Huth
These functions are convenience wrappers of
qtest_init()and not ofqtest_start().
Maybe "The qtest_vinitf() and qtest_initf() functions are convenience wrappers of qtest_init() and not of qtest_start()." as it is easier to read the commit description in some git review tools (gitk i.e.).
Quoted 2 lines
Signed-off-by Thomas Huth <[email protected]>
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 27 lines
--- tests/libqtest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)tests/libqtest.h +2
-2@@ -29,7 +29,7 @@ extern QTestState *global_qtest;* @fmt...: Format for creating other arguments to pass to QEMU, formatted * like sprintf(). * -* Convenience wrapper around qtest_start(). +* Convenience wrapper around qtest_init(). * * Returns: #QTestState instance. */ @@ -41,7 +41,7 @@ QTestState *qtest_initf(const char *fmt, ...) GCC_FMT_ATTR(1, 2);* like vsprintf(). * @ap: Format arguments. * -* Convenience wrapper around qtest_start(). +* Convenience wrapper around qtest_init(). * * Returns: #QTestState instance. */