aboutsummaryrefslogtreecommitdiff
path: root/blockdev.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-12-18 18:14:31 +0100
committerKevin Wolf <kwolf@redhat.com>2017-12-22 15:03:41 +0100
commit0e153b04cccaeaa272a687194ea353167878b10f (patch)
tree8971d3f7af46758d3345a23b8fe69c7e237654e1 /blockdev.c
parentcc954f01e3c004aad081aa36736a17e842b80211 (diff)
downloadqemu-0e153b04cccaeaa272a687194ea353167878b10f.zip
qemu-0e153b04cccaeaa272a687194ea353167878b10f.tar.gz
qemu-0e153b04cccaeaa272a687194ea353167878b10f.tar.bz2
block: Remove the obsolete -drive boot=on|off parameter
It's not working anymore since QEMU v1.3.0 - time to remove it now. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
-rw-r--r--blockdev.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/blockdev.c b/blockdev.c
index 9c3a430..29d569a 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -735,10 +735,6 @@ QemuOptsList qemu_legacy_drive_opts = {
.type = QEMU_OPT_STRING,
.help = "chs translation (auto, lba, none)",
},{
- .name = "boot",
- .type = QEMU_OPT_BOOL,
- .help = "(deprecated, ignored)",
- },{
.name = "addr",
.type = QEMU_OPT_STRING,
.help = "pci address (virtio only)",
@@ -873,13 +869,6 @@ DriveInfo *drive_new(QemuOpts *all_opts, BlockInterfaceType block_default_type)
goto fail;
}
- /* Deprecated option boot=[on|off] */
- if (qemu_opt_get(legacy_opts, "boot") != NULL) {
- fprintf(stderr, "qemu-kvm: boot=on|off is deprecated and will be "
- "ignored. Future versions will reject this parameter. Please "
- "update your scripts.\n");
- }
-
/* Other deprecated options */
if (!qtest_enabled()) {
for (i = 0; i < ARRAY_SIZE(deprecated); i++) {