Hi I install CentOS 5.4 and try to use Xen.... But when I deploy some VM with Virt-manager and specify 2 or more VCPUS to use, when start the vm it start with just one CPU... On this VM I install Windows 2003 Server... This the file of VM: name = "Avision" uuid = "625139bf-1ad3-86fc-45e6-e8efbb9db643" maxmem = 2048 memory = 2048 vcpus = 4 cpus = "0,1,2,3" builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "c" pae = 1 acpi = 1 apic = 1 localtime = 1 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" device_model = "/usr/lib64/xen/bin/qemu-dm" usb = 1 usbdevice = "tablet" sdl = 0 vnc = 1 vncunused = 1 keymap = "pt-br" disk = [ "phy:/dev/etherd/e3.3,hda,w" ] vif = [ "mac=00:16:36:2f:fd:7c,bridge=xenbr0,script=vif-bridge,model=ne2k_pci" ] parallel = "none" serial = "pty" But, on windows I just see one CPU... I don't understand why this happen!! Thanks for any help -- Gilberto Nunes
----- "Gilberto Nunes" <gilberto.nunes32 at gmail.com> wrote:> Hi > > I install CentOS 5.4 and try to use Xen.... > > But when I deploy some VM with Virt-manager and specify 2 or more > VCPUS to use, when start the vm it start with just one CPU... > On this VM I install Windows 2003 Server... > This the file of VM:Did you verify that Xen has those 4 CPUs assigned to the guest? Did you install Windows with SMP support or add SMP support after you added more CPUs? -- Christopher G. Stach II http://ldsys.net/~cgs/
On Sat, Apr 03, 2010 at 11:49:00PM -0300, Gilberto Nunes wrote:> Hi > > I install CentOS 5.4 and try to use Xen.... > > But when I deploy some VM with Virt-manager and specify 2 or more > VCPUS to use, when start the vm it start with just one CPU... > On this VM I install Windows 2003 Server... > This the file of VM: > > name = "Avision" > uuid = "625139bf-1ad3-86fc-45e6-e8efbb9db643" > maxmem = 2048 > memory = 2048 > vcpus = 4 > cpus = "0,1,2,3" > builder = "hvm" > kernel = "/usr/lib/xen/boot/hvmloader" > boot = "c" > pae = 1 > acpi = 1 > apic = 1 > localtime = 1 > on_poweroff = "destroy" > on_reboot = "restart" > on_crash = "restart" > device_model = "/usr/lib64/xen/bin/qemu-dm" > usb = 1 > usbdevice = "tablet" > sdl = 0 > vnc = 1 > vncunused = 1 > keymap = "pt-br" > disk = [ "phy:/dev/etherd/e3.3,hda,w" ] > vif = [ "mac=00:16:36:2f:fd:7c,bridge=xenbr0,script=vif-bridge,model=ne2k_pci" ] > parallel = "none" > serial = "pty" > > But, on windows I just see one CPU... > I don't understand why this happen!! >Verify that your windows is using the multi-cpu HAL. If it uses the single-cpu HAL then you won't be able to see more than 1 cpu. See microsoft website and google for more information. -- Pasi