All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Novotny <minovotn@redhat.com>
To: xen-devel@lists.xensource.com
Subject: Re: Question about vcpu_avail
Date: Tue, 24 Nov 2009 16:27:08 +0100	[thread overview]
Message-ID: <4B0BFB4C.50102@redhat.com> (raw)
In-Reply-To: <C731AA54.1727%keir.fraser@eu.citrix.com>

On 11/24/2009 04:20 PM, Keir Fraser wrote:
> On 24/11/2009 15:08, "Michal Novotny"<minovotn@redhat.com>  wrote:
>
>    
>>> Yeah, I think you get it. In your example: if the user specifies maxvcpus=4,
>>> vcpus=2 then xm turns that into vcpus=4, vcpu_avail=3 before sending it to
>>> xend.
>>>
>>>        
>> Right, so, you mean that I should implement it into `xm` command itself
>> and not XenD ? Well, what about people using eg. libvirt with upstream
>> Xen? This way it should not be working since XM is not used... right?
>>      
> If you add new config fields to xend, then libvirt callers are going to need
> to be modified to expose them to users, aren't they (e.g., in a GUI or
> whatever)? If the callers need modifying anyway, then they can just be
> modified in a similar way to what I propose for xm, and deconstruct into the
> config primitives that xend already understands.
>
>   -- Keir
>    

Well, the thing is whether it isn't better to be added to Xend itself 
instead of xm ? This could avoid further modifications. Maybe the 
callers have to be modified a little but I am not sure.

-- Michal

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

  reply	other threads:[~2009-11-24 15:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 15:02 Question about vcpu_avail Michal Novotny
2009-11-23 15:28 ` Keir Fraser
2009-11-24 11:27   ` Michal Novotny
2009-11-24 14:24     ` Keir Fraser
2009-11-24 14:51       ` Michal Novotny
2009-11-24 15:05         ` Keir Fraser
2009-11-24 15:08           ` Michal Novotny
2009-11-24 15:20             ` Keir Fraser
2009-11-24 15:27               ` Michal Novotny [this message]
2009-11-24 16:28                 ` Keir Fraser

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=4B0BFB4C.50102@redhat.com \
    --to=minovotn@redhat.com \
    --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 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.