aboutsummaryrefslogtreecommitdiff
path: root/qemu-config.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-07-31 12:25:36 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:26 -0500
commitd058fe03e53699b5a85db1ea36edcf59273775a8 (patch)
treea3c098a7931ff36df0e564709b06ccc255f456ce /qemu-config.h
parent7282a0331f11edd021efa3687dc2ec7fd557ace9 (diff)
QemuOpts: add -set option
One use case will be file for drives (no filename quoting issues), i.e. -drive id=test,if=virtio -set drive.test.file=/vmdisk/test-virtio.img It will work for any other option (assuming handled by QemuOpts) though. Except for id= for obvious reasons ;). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'qemu-config.h')
-rw-r--r--qemu-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-config.h b/qemu-config.h
index 3ada418378..7faec9bdd8 100644
--- a/qemu-config.h
+++ b/qemu-config.h
@@ -1 +1,3 @@
extern QemuOptsList qemu_drive_opts;
+
+int qemu_set_option(const char *str);