summary refs log tree commit diff stats
path: root/qemu-file-unix.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2014-11-03 18:56:18 -0500
committerStefan Hajnoczi <stefanha@redhat.com>2014-11-14 09:20:35 +0000
commit102e56254dbf5f789e43d7eb29023f296cb67536 (patch)
tree4cb511e450e5bda73ed9f4a2752c36a6148cc57f /qemu-file-unix.c
parent36ab3c3400ac941e4d9afc044be08143ff9eea62 (diff)
downloadfocaccia-qemu-102e56254dbf5f789e43d7eb29023f296cb67536.tar.gz
focaccia-qemu-102e56254dbf5f789e43d7eb29023f296cb67536.zip
ahci: Check cmd_fis[1] more explicitly
Instead of checking for a known byte, inspect the
fields of this byte explicitly to produce more meaningful
error messages and improve the readability of this section.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1415058979-16604-5-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-file-unix.c')
0 files changed, 0 insertions, 0 deletions