aboutsummaryrefslogtreecommitdiff
path: root/qemu-config.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-07-22 09:23:43 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-07-22 09:23:43 -0500
commitbf1cd9b4f54c8f630291dcd057c3aa293a510bcb (patch)
treef348eb9684fcc99b35797e47e12903881c8ede8b /qemu-config.c
parentd1afc48b7cfdb4490f322d5d82a2aae6d545ec06 (diff)
parentaaf55b4795d95d87353a08710f237f88d81a3c35 (diff)
downloadqemu-bf1cd9b4f54c8f630291dcd057c3aa293a510bcb.zip
qemu-bf1cd9b4f54c8f630291dcd057c3aa293a510bcb.tar.gz
qemu-bf1cd9b4f54c8f630291dcd057c3aa293a510bcb.tar.bz2
Merge remote-tracking branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'qemu-config.c')
-rw-r--r--qemu-config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c
index c63741c..93d20c6 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -23,6 +23,7 @@ static QemuOptsList qemu_drive_opts = {
},{
.name = "index",
.type = QEMU_OPT_NUMBER,
+ .help = "index number",
},{
.name = "cyls",
.type = QEMU_OPT_NUMBER,
@@ -46,6 +47,7 @@ static QemuOptsList qemu_drive_opts = {
},{
.name = "snapshot",
.type = QEMU_OPT_BOOL,
+ .help = "enable/disable snapshot mode",
},{
.name = "file",
.type = QEMU_OPT_STRING,
@@ -65,12 +67,15 @@ static QemuOptsList qemu_drive_opts = {
},{
.name = "serial",
.type = QEMU_OPT_STRING,
+ .help = "disk serial number",
},{
.name = "rerror",
.type = QEMU_OPT_STRING,
+ .help = "read error action",
},{
.name = "werror",
.type = QEMU_OPT_STRING,
+ .help = "write error action",
},{
.name = "addr",
.type = QEMU_OPT_STRING,
@@ -78,6 +83,7 @@ static QemuOptsList qemu_drive_opts = {
},{
.name = "readonly",
.type = QEMU_OPT_BOOL,
+ .help = "open drive file as read-only",
},
{ /* end of list */ }
},