qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 10/19] libqos/ahci: Add ide cmd properties


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 10/19] libqos/ahci: Add ide cmd properties
Date: Mon, 02 Feb 2015 11:34:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


On 30/01/2015 19:42, John Snow wrote:
> The "Invalid Command Sentinel" here that caps the property array is an
> invalid ATA command, namely 0x01. 0x00 is NOP and 0xFF is reserved for
> vendor usage, so I chose the first invalid one instead.

You can use ARRAY_SIZE instead.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]