On Tue, Jul 25, 2017 at 04:15:17PM -0500, Eric Blake wrote: > From: Markus Armbruster <arm...@redhat.com> > > Leaving interpolation into JSON to qmp() is more robust than building > QMP input manually, as explained in the previous commit. > > The case in usb_test_hotplug() is slightly more complicated: it > interpolates *into* JSON values. Clean it up by building the values > separately, so we can again leave interpolation to qmp(). > > Signed-off-by: Markus Armbruster <arm...@redhat.com> > Message-Id: <1500645206-13559-6-git-send-email-arm...@redhat.com> > [fix commit message typo] > Signed-off-by: Eric Blake <ebl...@redhat.com> > --- > tests/libqos/usb.c | 30 ++++++++++++++---------------- > 1 file changed, 14 insertions(+), 16 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature