summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-07-31 12:25:38 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:27 -0500
commit2e810b366871b1e559e27a0c55e16a328c9f271f (patch)
tree8fe02fd22086c074edb5c0e2346ece11c115ddc4 /sysemu.h
parentQemuOpts: switch over -device. (diff)
downloadqemu-kvm-2e810b366871b1e559e27a0c55e16a328c9f271f.tar.gz
qemu-kvm-2e810b366871b1e559e27a0c55e16a328c9f271f.tar.bz2
qemu-kvm-2e810b366871b1e559e27a0c55e16a328c9f271f.zip
constify drive_get_by_id arg
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysemu.h b/sysemu.h
index c7065ac03..ca2501539 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -176,7 +176,7 @@ extern TAILQ_HEAD(drivelist, DriveInfo) drives;
extern TAILQ_HEAD(driveoptlist, DriveOpt) driveopts;
extern DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit);
-extern DriveInfo *drive_get_by_id(char *id);
+extern DriveInfo *drive_get_by_id(const char *id);
extern int drive_get_max_bus(BlockInterfaceType type);
extern void drive_uninit(BlockDriverState *bdrv);
extern const char *drive_get_serial(BlockDriverState *bdrv);