From: Jan Kiszka <jan.kiszka@siemens.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [patch 5/7] Emulate qemu-kvms drive parameter boot=on|off
Date: Fri, 05 Oct 2012 19:24:17 +0200 [thread overview]
Message-ID: <506F17C1.6090704@siemens.com> (raw)
In-Reply-To: <20121005171442.485802711@amt.cnet>
On 2012-10-05 19:13, Marcelo Tosatti wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> 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>
>
> 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 */ }
> },
>
>
Same as with patch 3: nothing is emulated, only a warning issued.
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2012-10-05 17:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-05 17:13 [Qemu-devel] [patch 0/7] qemu-kvm compat (v2) Marcelo Tosatti
2012-10-05 17:13 ` [Qemu-devel] [patch 1/7] cirrus_vga: allow configurable vram size Marcelo Tosatti
2012-10-05 17:13 ` [Qemu-devel] [patch 2/7] Use machine options to emulate -no-kvm-irqchip Marcelo Tosatti
2012-10-05 17:13 ` [Qemu-devel] [patch 3/7] Use machine options to emulate -no-kvm-pit Marcelo Tosatti
2012-10-05 17:23 ` Jan Kiszka
2012-10-05 17:28 ` Marcelo Tosatti
2012-10-05 17:36 ` Jan Kiszka
2012-10-05 17:13 ` [Qemu-devel] [patch 4/7] Use global properties to emulate -no-kvm-pit-reinjection Marcelo Tosatti
2012-10-05 17:13 ` [Qemu-devel] [patch 5/7] Emulate qemu-kvms drive parameter boot=on|off Marcelo Tosatti
2012-10-05 17:24 ` Jan Kiszka [this message]
2012-10-05 17:13 ` [Qemu-devel] [patch 6/7] Emulate qemu-kvms -tdf option Marcelo Tosatti
2012-10-05 17:24 ` Jan Kiszka
2012-10-05 17:13 ` [Qemu-devel] [patch 7/7] Emulate qemu-kvms -no-kvm option Marcelo Tosatti
2012-10-05 17:25 ` [Qemu-devel] [patch 0/7] qemu-kvm compat (v2) Jan Kiszka
2012-10-05 17:28 ` Marcelo Tosatti
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=506F17C1.6090704@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=aliguori@us.ibm.com \
--cc=kraxel@redhat.com \
--cc=mtosatti@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.