qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 10/17] block: define get_block_status return val


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 10/17] block: define get_block_status return value
Date: Thu, 04 Jul 2013 10:13:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

Il 03/07/2013 23:04, Peter Lieven ha scritto:
>> > Define the return value of get_block_status.  Bits 0, 1, 2 and 8-62
>> > are valid; bit 63 (the sign bit) is reserved for errors.  Bits 3-7
>> > are left for future extensions.
> Is Bit 8 not also reserved for future use? BDRV_SECTOR_BITS is 9.

Right.

> Can you explain which information is exactly returned in Bits 9-62?

Bits 9-62 are the offset at which the data is stored in bs->file, they
are valid if bit 2 (BDRV_BLOCK_OFFSET_VALID) is 1.

Paolo



reply via email to

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