All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] rename set-vcpus -> vcpu-set
@ 2005-11-15 13:41 Sean Dague
  2005-11-15 14:20 ` Ewan Mellor
  0 siblings, 1 reply; 4+ messages in thread
From: Sean Dague @ 2005-11-15 13:41 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 920 bytes --]

This one xm command violates the previous obj-verb convention of commands,
and it would be good to change that prior to a 3.0 release.  It was really
noticable to me when doing the xm.1 documentation.

I propose vcpu-set as there are other vcpu- commands, but other suggestions
are welcomed.

Please comment ASAP.  I'll send a patch tomorrow if there has been no
discussion, or if we've all come to some conclusion.

	-Sean

-- 
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] rename set-vcpus -> vcpu-set
  2005-11-15 13:41 [RFC] rename set-vcpus -> vcpu-set Sean Dague
@ 2005-11-15 14:20 ` Ewan Mellor
  2005-11-15 15:49   ` harry
  2005-11-15 15:53   ` Sean Dague
  0 siblings, 2 replies; 4+ messages in thread
From: Ewan Mellor @ 2005-11-15 14:20 UTC (permalink / raw)
  To: xen-devel

On Tue, Nov 15, 2005 at 08:41:17AM -0500, Sean Dague wrote:

> This one xm command violates the previous obj-verb convention of commands,
> and it would be good to change that prior to a 3.0 release.  It was really
> noticable to me when doing the xm.1 documentation.
> 
> I propose vcpu-set as there are other vcpu- commands, but other suggestions
> are welcomed.

I named this set-vcpus because to me, vcpu-set means to set some property of a
VCPU, whereas this command sets a property of a domain (the number of VCPUs it
has).

However, since everyone seems to disagree with me, let's change it to
vcpu-set!

Feel free to submit a patch.  Your other ones are going in right now.

Ewan.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] rename set-vcpus -> vcpu-set
  2005-11-15 14:20 ` Ewan Mellor
@ 2005-11-15 15:49   ` harry
  2005-11-15 15:53   ` Sean Dague
  1 sibling, 0 replies; 4+ messages in thread
From: harry @ 2005-11-15 15:49 UTC (permalink / raw)
  To: Ewan Mellor; +Cc: xen-devel

On Tue, 2005-11-15 at 14:20 +0000, Ewan Mellor wrote:
> On Tue, Nov 15, 2005 at 08:41:17AM -0500, Sean Dague wrote:
> > I propose vcpu-set as there are other vcpu- commands, but other suggestions
> > are welcomed.
> 
> I named this set-vcpus because to me, vcpu-set means to set some property of a
> VCPU, whereas this command sets a property of a domain (the number of VCPUs it
> has).
domain-set-vcpus ?!? /ducks

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] rename set-vcpus -> vcpu-set
  2005-11-15 14:20 ` Ewan Mellor
  2005-11-15 15:49   ` harry
@ 2005-11-15 15:53   ` Sean Dague
  1 sibling, 0 replies; 4+ messages in thread
From: Sean Dague @ 2005-11-15 15:53 UTC (permalink / raw)
  To: Ewan Mellor; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1265 bytes --]

On Tue, Nov 15, 2005 at 02:20:38PM +0000, Ewan Mellor wrote:
> On Tue, Nov 15, 2005 at 08:41:17AM -0500, Sean Dague wrote:
> 
> > This one xm command violates the previous obj-verb convention of commands,
> > and it would be good to change that prior to a 3.0 release.  It was really
> > noticable to me when doing the xm.1 documentation.
> > 
> > I propose vcpu-set as there are other vcpu- commands, but other suggestions
> > are welcomed.
> 
> I named this set-vcpus because to me, vcpu-set means to set some property of a
> VCPU, whereas this command sets a property of a domain (the number of VCPUs it
> has).

Most of the commands are obj-verb with domain/host implied.  (i.e. mem-set,
block-attach, etc.).  Just going with existing convention. :)

	-Sean

-- 
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-15 15:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 13:41 [RFC] rename set-vcpus -> vcpu-set Sean Dague
2005-11-15 14:20 ` Ewan Mellor
2005-11-15 15:49   ` harry
2005-11-15 15:53   ` Sean Dague

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.