mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
Merge remote-tracking branch 'bonzini/virtio' into staging
# By Andreas Färber (18) and Paolo Bonzini (12) # Via Paolo Bonzini * bonzini/virtio: (30 commits) virtio: Convert exit to unrealize virtio: Complete converting VirtioDevice to QOM realize virtio-scsi: Convert to QOM realize virtio-rng: Convert to QOM realize virtio-balloon: Convert to QOM realize virtio-net: Convert to QOM realize virtio-serial: Convert to QOM realize virtio-blk: Convert to QOM realize virtio-9p: Convert to QOM realize virtio: Start converting VirtioDevice to QOM realize virtio-scsi: QOM realize preparations virtio-rng: QOM realize preparations virtio-balloon: QOM realize preparations virtio-net: QOM realize preparations virtio-serial: QOM realize preparations virtio-blk: QOM realize preparations virtio-9p: QOM realize preparations virtio-blk-dataplane: Improve error reporting virtio-pci: add device_unplugged callback virtio-rng: switch exit callback to VirtioDeviceClass ...
This commit is contained in:
commit
e157b8fdd4
22 changed files with 413 additions and 334 deletions
|
@ -32,10 +32,8 @@ static void test_device_add(void)
|
|||
"}}");
|
||||
g_assert(response);
|
||||
error = qdict_get_qdict(response, "error");
|
||||
g_assert(!strcmp(qdict_get_try_str(error, "class") ?: "",
|
||||
"GenericError"));
|
||||
g_assert(!strcmp(qdict_get_try_str(error, "desc") ?: "",
|
||||
"Device initialization failed."));
|
||||
"Device needs media, but drive is empty"));
|
||||
QDECREF(response);
|
||||
|
||||
/* Delete the drive */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue