From: "Michael S. Tsirkin" <mst@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>
Cc: qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <rth@twiddle.net>,
Marcelo Tosatti <mtosatti@redhat.com>,
kvm@vger.kernel.org
Subject: Re: [Qemu-devel] [PATCH v4 1/2] kvm: support -overcommit cpu-pm=on|off
Date: Fri, 22 Jun 2018 22:10:20 +0300 [thread overview]
Message-ID: <20180622221001-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20180622183448.GB7451@localhost.localdomain>
On Fri, Jun 22, 2018 at 03:34:48PM -0300, Eduardo Habkost wrote:
> On Fri, Jun 22, 2018 at 03:31:48AM +0300, Michael S. Tsirkin wrote:
> [...]
> > - enable_mlock = qemu_opt_get_bool(opts, "mlock", true);
> > + /* Don't override the -dedicated option if set */
> > + enable_mlock = enable_mlock ||
> > + qemu_opt_get_bool(opts, "mlock", true);
> > + break;
> > + case QEMU_OPTION_dedicated:
> > + opts = qemu_opts_parse_noisily(qemu_find_opts("dedicated"),
> > + optarg, false);
> > + if (!opts) {
> > + exit(1);
> > + }
> > + /* Don't override the -realtime option if set */
> > + enable_mlock = enable_mlock ||
> > + qemu_opt_get_bool(opts, "mem-lock", false);
> > + enable_cpu_pm = qemu_opt_get_bool(opts, "cpu-pm", false);
>
> I would prefer to simply make the last option win, because it
> would be more obvious. But not a big deal if we are going to
> deprecate -realtime.
>
> BTW, are you going to send a qemu-doc.texi patch documenting
> -realtime as deprecated?
Once this is merged, as a patch on top, I can do this, sure.
> --
> Eduardo
next prev parent reply other threads:[~2018-06-22 19:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-22 0:31 [Qemu-devel] [PATCH v4 0/2] kvm: limited x86 CPU power management Michael S. Tsirkin
2018-06-22 0:31 ` [Qemu-devel] [PATCH v4 2/2] i386/cpu: make -cpu host support monitor/mwait Michael S. Tsirkin
2018-06-22 18:35 ` Eduardo Habkost
2018-06-22 0:31 ` [Qemu-devel] [PATCH v4 1/2] kvm: support -overcommit cpu-pm=on|off Michael S. Tsirkin
2018-06-22 18:22 ` Eduardo Habkost
2018-06-22 18:42 ` Michael S. Tsirkin
2018-06-22 18:34 ` Eduardo Habkost
2018-06-22 19:10 ` Michael S. Tsirkin [this message]
2018-06-22 3:01 ` [Qemu-devel] [PATCH v4 0/2] kvm: limited x86 CPU power management no-reply
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=20180622221001-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=ehabkost@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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).