All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Novotny <minovotn@redhat.com>
To: "'xen-devel@lists.xensource.com'" <xen-devel@lists.xensource.com>
Subject: Question about vcpu_avail
Date: Mon, 23 Nov 2009 16:02:44 +0100	[thread overview]
Message-ID: <4B0AA414.3090109@redhat.com> (raw)

Hi,
I would like to ask about vcpu_avail variable in XendDomainInfo.py. Is 
that variable working and what is it used for ? I think it's a bitmask 
showing what VCPUs are used and what are not, am I correct? Also, I'm 
thinking of adding some variable of `maxvcpus` to define maximum number 
of vcpus for PV guests. This way we could define a config file like:

vcpus = 2
maxvcpus = 4

and by setting `xm vcpu-set {domain} {numberOfVCPUs}` we can set up to 4 
vcpus. Current behavior is to set to 1 vcpu and back to 2 vcpus but 
never to cross the number defined in of vcpus. Now we could be able to 
allocate up to 4 vcpus to the guest and not just 2... What do you think 
about that idea?

Thanks,
Michal

             reply	other threads:[~2009-11-23 15:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 15:02 Michal Novotny [this message]
2009-11-23 15:28 ` Question about vcpu_avail 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
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=4B0AA414.3090109@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.