mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
block: Remove type hint, it's guest matter, doesn't belong here
No users of bdrv_get_type_hint() left. bdrv_set_type_hint() can make the media removable by side effect. Make that explicit. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
95b5edcd92
commit
8d278467ff
4 changed files with 2 additions and 20 deletions
|
@ -194,7 +194,6 @@ struct BlockDriverState {
|
|||
/* NOTE: the following infos are only hints for real hardware
|
||||
drivers. They are not used by the block driver */
|
||||
int cyls, heads, secs, translation;
|
||||
int type;
|
||||
BlockErrorAction on_read_error, on_write_error;
|
||||
char device_name[32];
|
||||
unsigned long *dirty_bitmap;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue