From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Novotny Subject: Question about vcpu_avail Date: Mon, 23 Nov 2009 16:02:44 +0100 Message-ID: <4B0AA414.3090109@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "'xen-devel@lists.xensource.com'" List-Id: xen-devel@lists.xenproject.org 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