mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
tests: introduce qemucapsfixreplies helper
Sometimes we don't regenerate QEMU capabilities replies using QEMU binary but we simply add a new entry manually. In that case you need to manually fix all the replies ids. This helper will do that for you. Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
@@ -192,6 +192,9 @@ mymain(void)
|
||||
/*
|
||||
* Run "tests/qemucapsprobe /path/to/qemu/binary >foo.replies"
|
||||
* to generate updated or new *.replies data files.
|
||||
*
|
||||
* If you manually edit replies files you can run
|
||||
* "tests/qemucapsfixreplies foo.replies" to fix the replies ids.
|
||||
*/
|
||||
|
||||
qemuTestDriverFree(&driver);
|
||||
|
||||
Reference in New Issue
Block a user