From: Eric Blake Subject: Re: [PATCH v3 1/2] kvm: support -dedicated cpu-pm=on|off Date: Tue, 19 Jun 2018 17:07:46 -0500 Message-ID: References: <20180615222855.44421-1-mst@redhat.com> <20180615222855.44421-2-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , Eduardo Habkost , kvm@vger.kernel.org, Richard Henderson To: Paolo Bonzini , "Michael S. Tsirkin" , qemu-devel@nongnu.org Return-path: In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel2=m.gmane.org@nongnu.org Sender: "Qemu-devel" List-Id: kvm.vger.kernel.org On 06/19/2018 10:17 AM, Paolo Bonzini wrote: > On 16/06/2018 00:29, Michael S. Tsirkin wrote: >> >> +static QemuOptsList qemu_dedicated_opts = { >> + .name = "dedicated", >> + .head = QTAILQ_HEAD_INITIALIZER(qemu_dedicated_opts.head), >> + .desc = { >> + { >> + .name = "mem-lock", >> + .type = QEMU_OPT_BOOL, >> + }, >> + { >> + .name = "cpu-pm", >> + .type = QEMU_OPT_BOOL, >> + }, >> + { /* end of list */ } >> + }, >> +}; >> + > > Let the bikeshedding begin! > > 1) Should we deprecate -realtime? > > 2) Maybe -hostresource? What further things might we add in the future? -dedicated sounds wrong (it is an adjective, while most of our options are nouns - thing -machine, -drive, -object, ...) -hostresource at least sounds like a noun, but is long to type. But at least '-hostresource cpu-pm=on' reads reasonably well. About the only other noun I could think of would be '-feature cpu-pm=on'. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org