WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] VCPU number configuration

To: mark.williamson@xxxxxxxxxxxx
Subject: Re: [Xen-users] VCPU number configuration
From: Songtao Liu <songtao.liu@xxxxxxxx>
Date: Mon, 02 Jul 2007 18:43:23 +0200
Bcc:
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 02 Jul 2007 09:45:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Original Message:


<br />> <br />> as when I installed the XenU I initialized the VCPU=1, is it
<br />> <br />> possible to change VCPU=2
<br />> <br />
<br />> <br />No, not without restarting the guest from scratch. Whilst it's
<br />> possible <br />to REDUCE the processor count, you can't increase it 
after
<br />> it's been <br />started [actually, the technicality of it is that 
there's a
<br />> MAX_CPU <br />count in the domain config parameters, which is hidden 
from
<br />> the config <br />files at present, but that is the number of VCPU's
<br />> "reserved" when the <br />domain is set up, and with a normal config 
file,
<br />> you get MAX_VCPUS=VCPUS <br />at the domain creation].
<br />> <br />
<br />> <br />--
<br />> <br />Mats
<br />> <br />
<br />> <br />
<br />> <br />
<br />> So if I want to get a guest with 2 VCPUs, I must install a new one? no
<br />> other ways?
<br />
<br />Just change the config file, shut down the guest and then start it again.
<br />
<br />As long as the guest has an SMP-capable kernel, it should pick up the 
extra 
<br />VCPUs straight away.

Firstly sry forgot to CC to list just now

I did so, change the VCPU=2, but when I reboot the guest, it will halt with 
blackscreen(see the attached 1.png) after start. xm list shows the VCPU is 
already 2 now.
puzzled why it hangs :(
Checked my guest kernel, SMP.

Thanks

<br />
<br />Cheers,
<br />Mark
<br />
<br />-- 
<br />Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
<br />Mark: To answer a question with a question: What use is a skateboard?
<br />Dave: Skateboards have wheels.
<br />Mark: My wheel has a wheel!
<br />

-- 

Attachment: 1.png
Description: PNG image

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>