mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
Revert "Make default invocation of block drivers safer (v3)"
This reverts commit 79368c81bf.
Conflicts:
block.c
I haven't been able to come up with a solution yet for the corruption caused by
unaligned requests from the IDE disk so revert until a solution can be written.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
@@ -148,7 +148,6 @@ struct BlockDriverState {
|
||||
int encrypted; /* if true, the media is encrypted */
|
||||
int valid_key; /* if true, a valid encryption key has been set */
|
||||
int sg; /* if true, the device is a /dev/sg* */
|
||||
int probed; /* if true, format was probed automatically */
|
||||
/* event callback when inserting/removing */
|
||||
void (*change_cb)(void *opaque);
|
||||
void *change_opaque;
|
||||
|
||||
Reference in New Issue
Block a user