summaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2011-05-16 15:04:57 +0200
committerKevin Wolf <kwolf@redhat.com>2011-05-19 10:26:23 +0200
commit8d278467ff698de351a136e71f352e611e728579 (patch)
tree156fa95e2f010f77cbb0e1a4f533fa0d97260a8b /block_int.h
parent95b5edcd92d64c7b8fe9f2e3e0725fdf84be0dfa (diff)
downloadqemu-8d278467ff698de351a136e71f352e611e728579.tar.gz
qemu-8d278467ff698de351a136e71f352e611e728579.tar.bz2
qemu-8d278467ff698de351a136e71f352e611e728579.zip
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>
Diffstat (limited to 'block_int.h')
-rw-r--r--block_int.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/block_int.h b/block_int.h
index 545ad11ff3..fa913371e1 100644
--- a/block_int.h
+++ b/block_int.h
@@ -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;