device-plug-test: use qtest_qmp to send the device_del command
commitc45a70d8c271056896a057fbcdc7743a2942d0ec
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Oct 2020 11:37:41 +0000 (7 07:37 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Oct 2020 15:50:49 +0000 (12 11:50 -0400)
treeb59b48d6d816e38b551013558559c5ddf31ecc03
parent5e34005571af53b73e4a10cb2c6e0712cf6b8d2c
device-plug-test: use qtest_qmp to send the device_del command

Simplify the code now that events are buffered.  There is no need
anymore to separate sending the command and retrieving the response.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/qtest/device-plug-test.c