mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
qcow2 is now used for '-snapshot' - keep BlockDriverState.total_sectors
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2094 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a946592212
commit
d15a771da1
2 changed files with 7 additions and 8 deletions
|
@ -73,7 +73,8 @@ struct BlockDriver {
|
|||
};
|
||||
|
||||
struct BlockDriverState {
|
||||
int64_t total_sectors; /* XXX: will be suppressed */
|
||||
int64_t total_sectors; /* if we are reading a disk image, give its
|
||||
size in sectors */
|
||||
int read_only; /* if true, the media is read only */
|
||||
int inserted; /* if true, the media is present */
|
||||
int removable; /* if true, the media can be removed */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue