ahci-test: add QMP tray test for ATAPI
authorJohn Snow <jsnow@redhat.com>
Mon, 14 Nov 2016 16:15:55 +0000 (11:15 -0500)
committerJohn Snow <jsnow@redhat.com>
Mon, 14 Nov 2016 16:15:55 +0000 (11:15 -0500)
commit22381d4180fa71614ad195b54fe81e0ffb77b01e
tree9c6b4cd9285faf0d3fa3888814ab0eb3fbd141a6
parente0a4cb2c7da23c2f0e6364214de5d84f35ce4d5d
ahci-test: add QMP tray test for ATAPI

Test QMP events for a CDROM device with or without a media inserted,
including both guest-initiated and hw-initiated eject/load requests.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1478553214-497-7-git-send-email-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
tests/ahci-test.c