mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07:00
qcow_make_empty() support (Johannes Schindelin)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1716 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
1658b44bf5
commit
95389c8681
3 changed files with 56 additions and 21 deletions
|
|
@ -39,6 +39,7 @@ struct BlockDriver {
|
|||
int (*bdrv_is_allocated)(BlockDriverState *bs, int64_t sector_num,
|
||||
int nb_sectors, int *pnum);
|
||||
int (*bdrv_set_key)(BlockDriverState *bs, const char *key);
|
||||
int (*bdrv_make_empty)(BlockDriverState *bs);
|
||||
struct BlockDriver *next;
|
||||
};
|
||||
|
||||
|
|
@ -74,4 +75,6 @@ struct BlockDriverState {
|
|||
BlockDriverState *next;
|
||||
};
|
||||
|
||||
void get_tmp_filename(char *filename, int size);
|
||||
|
||||
#endif /* BLOCK_INT_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue