qemu-e2k/tests/libqos
John Snow d1ef883894 libqos/ahci: Add cmd response sanity check helpers
This patch adds a few helpers to help sanity-check the response of the
AHCI device after a command.

ahci_d2h_check_sanity inspects the D2H Register FIS,
ahci_pio_check_sanity inspects the PIO Setup FIS, and
ahci_cmd_check_sanity inspects the command header.

To support the PIO sanity check, a new structure is added for the
PIO Setup FIS type. Existing FIS types (H2D and D2H) have had their
members renamed slightly to condense reserved members into fewer
fields; and LBA fields are now represented by arrays of 8 byte chunks
instead of independent variables.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1423158090-25580-9-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-02-16 15:07:17 +00:00
..
ahci.c libqos/ahci: Add cmd response sanity check helpers 2015-02-16 15:07:17 +00:00
ahci.h libqos/ahci: Add cmd response sanity check helpers 2015-02-16 15:07:17 +00:00
fw_cfg.c libqos: Generalize I/O-mapped fw_cfg 2013-07-18 13:27:47 -05:00
fw_cfg.h libqos: Generalize I/O-mapped fw_cfg 2013-07-18 13:27:47 -05:00
i2c-omap.c libqos: Relocate I2C files 2013-05-03 12:03:14 -05:00
i2c.c libqos: Relocate I2C files 2013-05-03 12:03:14 -05:00
i2c.h libqos: Relocate I2C files 2013-05-03 12:03:14 -05:00
libqos-pc.c libqos: add pc specific interface 2015-02-16 14:40:55 +00:00
libqos-pc.h libqos: add pc specific interface 2015-02-16 14:40:55 +00:00
libqos.c libqos: add pc specific interface 2015-02-16 14:40:55 +00:00
libqos.h libqos: add pc specific interface 2015-02-16 14:40:55 +00:00
malloc-pc.c libqos: Update QGuestAllocator to be opaque 2015-02-16 14:38:55 +00:00
malloc-pc.h libqos: Convert malloc-pc allocator to a generic allocator 2015-01-13 11:47:57 +00:00
malloc.c libqos: Update QGuestAllocator to be opaque 2015-02-16 14:38:55 +00:00
malloc.h libqos: Update QGuestAllocator to be opaque 2015-02-16 14:38:55 +00:00
pci-pc.c libqos: Add qpci_plug_device_test() and qpci_unplug_acpi_device_test() 2014-10-15 05:03:12 +02:00
pci-pc.h libqos: Fixes a small memory leak. 2014-08-15 18:03:13 +01:00
pci.c ahci: add test_pci_enable to ahci-test. 2014-09-22 11:39:40 +01:00
pci.h libqos: Add qpci_plug_device_test() and qpci_unplug_acpi_device_test() 2014-10-15 05:03:12 +02:00
usb.c tests: usb: Generic usb device hotplug 2014-10-15 05:03:13 +02:00
usb.h tests: usb: Generic usb device hotplug 2014-10-15 05:03:13 +02:00
virtio-pci.c libqos: Added EVENT_IDX support 2014-09-08 11:12:43 +01:00
virtio-pci.h libqos: Added MSI-X support 2014-09-08 11:12:43 +01:00
virtio.c libqos: use microseconds instead of iterations for virtio timeout 2014-09-29 17:31:11 +01:00
virtio.h libqos: use microseconds instead of iterations for virtio timeout 2014-09-29 17:31:11 +01:00