Re: [Qemu-devel] [PATCH v6 27/29] libqtest: Make qtest_init() accept format string

2017-09-07 Thread Thomas Huth
On 07.09.2017 20:00, Eric Blake wrote: > On 09/05/2017 07:46 AM, Thomas Huth wrote: >> On 01.09.2017 20:03, Eric Blake wrote: >>> Several callers were formatting a string into a temporary >>> variable before calling qtest_init(); factor that into the >>> common code. >>> >>> Signed-off-by: Eric Bla

Re: [Qemu-devel] [PATCH v6 27/29] libqtest: Make qtest_init() accept format string

2017-09-07 Thread Eric Blake
On 09/05/2017 07:46 AM, Thomas Huth wrote: > On 01.09.2017 20:03, Eric Blake wrote: >> Several callers were formatting a string into a temporary >> variable before calling qtest_init(); factor that into the >> common code. >> >> Signed-off-by: Eric Blake >> --- >> -QTestState *qtest_init(const ch

Re: [Qemu-devel] [PATCH v6 27/29] libqtest: Make qtest_init() accept format string

2017-09-05 Thread Thomas Huth
On 01.09.2017 20:03, Eric Blake wrote: > Several callers were formatting a string into a temporary > variable before calling qtest_init(); factor that into the > common code. > > Signed-off-by: Eric Blake > --- > tests/libqtest.h | 7 --- > tests/libqtest.c | 13 ++--

[Qemu-devel] [PATCH v6 27/29] libqtest: Make qtest_init() accept format string

2017-09-01 Thread Eric Blake
Several callers were formatting a string into a temporary variable before calling qtest_init(); factor that into the common code. Signed-off-by: Eric Blake --- tests/libqtest.h | 7 --- tests/libqtest.c | 13 ++-- tests/bios-tables-test.c | 7 +-- tests/postcopy