diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-06-02 13:31:55 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-06-04 11:43:40 +0200 |
commit | a803cb8eb8ada1add74f1b393b8a553a7e7f3acf (patch) | |
tree | f2fff551c60a4f49060e2d4d7b8d3edbce8dfb87 /sysemu.h | |
parent | 7cdb1f6d305e1000b5f882257cbee71b8bb08ef5 (diff) | |
download | qemu-a803cb8eb8ada1add74f1b393b8a553a7e7f3acf.tar.gz qemu-a803cb8eb8ada1add74f1b393b8a553a7e7f3acf.tar.bz2 qemu-a803cb8eb8ada1add74f1b393b8a553a7e7f3acf.zip |
blockdev: Hide QEMUMachine from drive_init()
To pave the way for moving it out of vl.c.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -191,7 +191,8 @@ extern BlockInterfaceErrorAction drive_get_on_error( BlockDriverState *qdev_init_bdrv(DeviceState *dev, BlockInterfaceType type); extern QemuOpts *drive_add(const char *file, const char *fmt, ...); -extern DriveInfo *drive_init(QemuOpts *arg, void *machine, int *fatal_error); +extern DriveInfo *drive_init(QemuOpts *arg, int default_to_scsi, + int *fatal_error); /* device-hotplug */ |