diff options
author | John Snow <jsnow@redhat.com> | 2016-01-11 14:10:43 -0500 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2016-01-11 14:10:43 -0500 |
commit | b1b66c3b5e89ac030e3f724791f57e9c352796ae (patch) | |
tree | 3da6973767182d7fd23534c93e76ea0951561ad3 /tests/libqos/ahci.h | |
parent | b88641e236fbd0187858b8a974c44c2b4c450352 (diff) | |
download | qemu-b1b66c3b5e89ac030e3f724791f57e9c352796ae.zip qemu-b1b66c3b5e89ac030e3f724791f57e9c352796ae.tar.gz qemu-b1b66c3b5e89ac030e3f724791f57e9c352796ae.tar.bz2 |
libqos: allow zero-size allocations
As part of streamlining the AHCI tests interface, it'd be nice
if specying a size of zero could be handled without special branches
and the allocator could handle this special case gracefully.
This lets me use the "ahci_io" macros for non-data commands, too,
which moves me forward towards shepherding all AHCI qtests into
a common set of commands in a unified pipeline.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1452282920-21550-6-git-send-email-jsnow@redhat.com
Diffstat (limited to 'tests/libqos/ahci.h')
0 files changed, 0 insertions, 0 deletions