Re: [Qemu-devel] [RFC 08/10] ahci: Check cmd_fis[1] more explicitly

2014-09-13 Thread Paolo Bonzini
Il 13/09/2014 06:34, John Snow ha scritto: > 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 > --- > hw/ide/ahci.c | 23 ---

[Qemu-devel] [RFC 08/10] ahci: Check cmd_fis[1] more explicitly

2014-09-12 Thread John Snow
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 --- hw/ide/ahci.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff