From: Marcelo Tosatti <mtosatti@redhat.com>
To: qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
kvm@vger.kernel.org
Subject: [Qemu-devel] [patch 5/6] Emulate qemu-kvms drive parameter boot=on|off
Date: Wed, 03 Oct 2012 07:53:00 -0300 [thread overview]
Message-ID: <20121003105509.614535373@amt.cnet> (raw)
In-Reply-To: 20121003105255.972669952@amt.cnet
[-- Attachment #1: qemukvm-commandline-boot-option --]
[-- Type: text/plain, Size: 1621 bytes --]
Commit 841280b6c224ea2c6edc2f5afc2add513c85181d from qemu-kvm.git.
From: Jan Kiszka <jan.kiszka@siemens.com>
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>
Index: qemu-compat-kvm/blockdev.c
===================================================================
--- qemu-compat-kvm.orig/blockdev.c
+++ qemu-compat-kvm/blockdev.c
@@ -432,6 +432,12 @@ DriveInfo *drive_init(QemuOpts *opts, in
return NULL;
}
+ if (qemu_opt_get(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");
+ }
+
on_write_error = BLOCK_ERR_STOP_ENOSPC;
if ((buf = qemu_opt_get(opts, "werror")) != NULL) {
if (type != IF_IDE && type != IF_SCSI && type != IF_VIRTIO && type != IF_NONE) {
Index: qemu-compat-kvm/qemu-config.c
===================================================================
--- qemu-compat-kvm.orig/qemu-config.c
+++ qemu-compat-kvm/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 */ }
},
next prev parent reply other threads:[~2012-10-03 10:55 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-03 10:52 [Qemu-devel] [patch 0/6] qemu-kvm compat Marcelo Tosatti
2012-10-03 10:52 ` [Qemu-devel] [patch 1/6] cirrus_vga: allow configurable vram size Marcelo Tosatti
2012-10-03 14:39 ` Anthony Liguori
2012-10-03 10:52 ` [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip Marcelo Tosatti
2012-10-03 14:40 ` Anthony Liguori
2012-10-03 15:03 ` Marcelo Tosatti
2012-10-03 15:46 ` Jan Kiszka
2012-10-03 15:49 ` Jan Kiszka
2012-10-03 17:16 ` Anthony Liguori
2012-10-03 17:24 ` Jan Kiszka
2012-10-03 18:14 ` Anthony Liguori
2012-10-03 18:26 ` Marcelo Tosatti
2012-10-04 9:28 ` Jan Kiszka
2012-10-04 14:21 ` Anthony Liguori
2012-10-04 14:30 ` Jan Kiszka
2012-10-04 15:36 ` Andreas Färber
2012-10-04 16:04 ` Jan Kiszka
2012-10-04 16:13 ` Andreas Färber
2012-10-04 16:40 ` Jan Kiszka
2012-10-04 17:16 ` Marcelo Tosatti
2012-10-04 17:14 ` Marcelo Tosatti
2012-10-04 17:46 ` Anthony Liguori
2012-10-03 18:54 ` Aurelien Jarno
2012-10-03 10:52 ` [Qemu-devel] [patch 3/6] Use machine options to emulate -no-kvm-pit Marcelo Tosatti
2012-10-03 14:40 ` Anthony Liguori
2012-10-03 10:52 ` [Qemu-devel] [patch 4/6] Use global properties to emulate -no-kvm-pit-reinjection Marcelo Tosatti
2012-10-03 14:41 ` Anthony Liguori
2012-10-03 10:53 ` Marcelo Tosatti [this message]
2012-10-03 14:43 ` [Qemu-devel] [patch 5/6] Emulate qemu-kvms drive parameter boot=on|off Anthony Liguori
2012-10-03 10:53 ` [Qemu-devel] [patch 6/6] Emulate qemu-kvms -tdf option Marcelo Tosatti
2012-10-03 14:44 ` Anthony Liguori
2012-10-03 14:45 ` [Qemu-devel] [patch 0/6] qemu-kvm compat Anthony Liguori
2012-10-03 15:05 ` Marcelo Tosatti
2012-10-03 15:34 ` Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121003105509.614535373@amt.cnet \
--to=mtosatti@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=kraxel@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).