summaryrefslogtreecommitdiffstats
path: root/blockdev.h
diff options
context:
space:
mode:
authorAnthony Liguori2010-11-30 22:25:34 +0100
committerAnthony Liguori2010-11-30 22:25:34 +0100
commit09fa35e5cdc7d17ed3e1528ca743893ae77a0ea2 (patch)
treeb11bb495700b297a4d49692bfd8d6070a1b74e0b /blockdev.h
parentMerge remote branch 'qmp/for-anthony' into staging (diff)
parentide: Reset current_addr after stopping DMA (diff)
downloadqemu-09fa35e5cdc7d17ed3e1528ca743893ae77a0ea2.tar.gz
qemu-09fa35e5cdc7d17ed3e1528ca743893ae77a0ea2.tar.xz
qemu-09fa35e5cdc7d17ed3e1528ca743893ae77a0ea2.zip
Merge remote branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'blockdev.h')
-rw-r--r--blockdev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/blockdev.h b/blockdev.h
index 653affcc9b..4cb8ca93d4 100644
--- a/blockdev.h
+++ b/blockdev.h
@@ -32,7 +32,7 @@ struct DriveInfo {
};
#define MAX_IDE_DEVS 2
-#define MAX_SCSI_DEVS 7
+#define MAX_SCSI_DEVS 255
DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit);
int drive_get_max_bus(BlockInterfaceType type);
@@ -51,5 +51,6 @@ int do_eject(Monitor *mon, const QDict *qdict, QObject **ret_data);
int do_block_set_passwd(Monitor *mon, const QDict *qdict, QObject **ret_data);
int do_change_block(Monitor *mon, const char *device,
const char *filename, const char *fmt);
+int do_drive_del(Monitor *mon, const QDict *qdict, QObject **ret_data);
#endif