Re: [Qemu-devel] [PATCH v2 16/23] migration-test: Make wait_command() cope with '%'

2018-07-27 Thread Eric Blake
On 07/27/2018 10:13 AM, Markus Armbruster wrote: wait_command() passes its argument @command to qtest_qmp_send(). Falls apart if @command contain '%'. Two ways to disarm this trap: suppress interpretation of '%' by passing @command as argument to format string "%s", or fix it by having wait_comm

[Qemu-devel] [PATCH v2 16/23] migration-test: Make wait_command() cope with '%'

2018-07-27 Thread Markus Armbruster
wait_command() passes its argument @command to qtest_qmp_send(). Falls apart if @command contain '%'. Two ways to disarm this trap: suppress interpretation of '%' by passing @command as argument to format string "%s", or fix it by having wait_command() take the variable arguments to go with @comma