From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: George Dunlap <george.dunlap@eu.citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad@kernel.org>,
xen-devel@lists.xensource.com, ian.jackson@eu.citrix.com,
Ian.Campbell@citrix.com
Subject: Re: [RFC PATCH 1/3] xl: replace vcpu-set --ignore-host with --ignore-warn
Date: Tue, 23 Jul 2013 15:17:44 -0400 [thread overview]
Message-ID: <20130723191744.GC7073@phenom.dumpdata.com> (raw)
In-Reply-To: <51EEC2EC.8060301@eu.citrix.com>
On Tue, Jul 23, 2013 at 06:52:44PM +0100, George Dunlap wrote:
> On 07/23/2013 03:01 PM, Konrad Rzeszutek Wilk wrote:
> >On Tue, Jul 23, 2013 at 12:29:36AM +0100, George Dunlap wrote:
> >>On 07/19/2013 04:48 PM, Konrad Rzeszutek Wilk wrote:
> >>>When Xen 4.3 was released we had a discussion whether we should
> >>>allow the vcpu-set command to allow the user to set more than
> >>>physical CPUs for a guest. The author brought up:
> >>> - Xend used to do it,
> >>> - If a user wants to do it, let them do it,
> >>> - The original author of the change did not realize the
> >>> side-effect his patch caused this and had no intention of changing it.
> >>> - The user can already boot a massively overcommitted guest by
> >>> having a large 'vcpus=' value in the guest config and we allow
> >>> that.
> >>>
> >>>Since we were close to the release we added --ignore-host parameter
> >>>as a mechanism for a user to still set more vCPUs that the physical
> >>>machine as a stop-gate.
> >>>
> >>>This patch removes said option and adds the --ignore-warn option.
> >>>By default the user is allowed to set as many vCPUs as they would like.
> >>>We will print out a warning if the value is higher than the physical
> >>>CPU count. The --ignore-warn will silence said warning.
> >>
> >>I think this is a good change in general, but I don't think the name
> >>is quite right. You're not ignoring the warnings, you're turning
> >>them off. Maybe make the function argument "warn", and the option
> >>"--no-warn"?
> >
> >--silence?
>
> Well there is some --quiet, but I suppose that generally means don't
> tell me *anything*, which is not what we want either. I would think
> --silence would mean about the same thing.
Good point. In which case I think --no-warn and no short option
makes the most sense.
>
> -George
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
>
next prev parent reply other threads:[~2013-07-23 19:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-19 15:48 [RFC PATCH] Add the --ignore-warn parameter (v1) Konrad Rzeszutek Wilk
2013-07-19 15:48 ` [RFC PATCH 1/3] xl: replace vcpu-set --ignore-host with --ignore-warn Konrad Rzeszutek Wilk
2013-07-22 23:29 ` George Dunlap
2013-07-23 14:01 ` Konrad Rzeszutek Wilk
2013-07-23 17:52 ` George Dunlap
2013-07-23 19:17 ` Konrad Rzeszutek Wilk [this message]
2013-07-24 17:14 ` George Dunlap
2013-08-07 10:50 ` Ian Jackson
2013-09-25 20:32 ` Konrad Rzeszutek Wilk
2013-07-19 15:48 ` [RFC PATCH 2/3] xl/create: warn if the 'vcpu' parameter exceeds host physical CPUs Konrad Rzeszutek Wilk
2013-07-19 15:48 ` [RFC PATCH 3/3] xl/create: Sprinkle the check to silence warnings further Konrad Rzeszutek Wilk
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=20130723191744.GC7073@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=george.dunlap@eu.citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=konrad@kernel.org \
--cc=xen-devel@lists.xensource.com \
/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).