summaryrefslogtreecommitdiffstats
path: root/qemu-config.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-10-05 14:51:43 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2012-10-30 23:39:52 -0200
commit0d92d17a6d0d65af8cb905bdd5f9e04e210564ff (patch)
treef0dcdf18aa2b316e65480e18dbd17ea920f92168 /qemu-config.c
parentc21fb4f8b802108697f9353a8f807079507b586c (diff)
downloadhqemu-0d92d17a6d0d65af8cb905bdd5f9e04e210564ff.zip
hqemu-0d92d17a6d0d65af8cb905bdd5f9e04e210564ff.tar.gz
Issue warning when deprecated drive parameter boot=on|off is used
Releases of qemu-kvm will be interrupted at qemu 1.3.0. Users should switch to plain qemu releases. To avoid breaking scenarios which are setup with command line options specific to qemu-kvm, port these switches from qemu-kvm to qemu.git. Port drive boot option. From the qemu-kvm original commit message: We do not want to maintain this option forever. It will be removed after a grace period of a few releases. So warn the user that this option has no effect and will become invalid soon. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'qemu-config.c')
-rw-r--r--qemu-config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c
index e854fff..3154cac 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -114,6 +114,10 @@ static QemuOptsList qemu_drive_opts = {
.name = "copy-on-read",
.type = QEMU_OPT_BOOL,
.help = "copy read data from backing file into image file",
+ },{
+ .name = "boot",
+ .type = QEMU_OPT_BOOL,
+ .help = "(deprecated, ignored)",
},
{ /* end of list */ }
},
OpenPOWER on IntegriCloud