Paolo Bonzini 4333bb7140 block: define get_block_status return value
Define the return value of get_block_status.  Bits 0, 1, 2 and 9-62
are valid; bit 63 (the sign bit) is reserved for errors.  Bits 3-8
are left for future extensions.

The return code is compatible with the old is_allocated API: if a driver
only returns 0 or 1 (aka BDRV_BLOCK_DATA) like is_allocated used to,
clients of is_allocated will not have any change in behavior.  Still,
we will return more precise information in the next patches and the
new definition of bdrv_is_allocated is already prepared for this.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-09-06 15:25:09 +02:00
2013-08-30 15:48:43 +02:00
2013-09-03 12:25:55 +02:00
2013-07-30 23:11:07 +01:00
2013-08-07 12:48:00 -05:00
2013-09-03 12:33:32 -05:00
2013-07-30 23:11:07 +01:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-09-05 09:40:31 -05:00
2013-09-03 12:25:55 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-09-02 09:08:29 -07:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-08-12 09:15:12 -05:00
2013-09-03 12:25:55 +02:00
2013-09-01 19:03:43 +04:00
2013-09-03 12:33:32 -05:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-09-02 09:08:29 -07:00
2013-09-03 12:25:55 +02:00
2013-08-15 15:41:13 -05:00
2013-08-27 14:21:16 +02:00
2013-09-03 12:31:07 -05:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%