I am using a single Q9550 (quad core) cpu. I installed winxp hvm guest and changed vcpu to 2 in the config file. after winxp booted up with xm create, the processor is still 1. pls advise how to assign 2 cpu to winxp. Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://hk.promo.yahoo.com/security/ 了解更多! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > I am using a single Q9550 (quad core) cpu. > > I installed winxp hvm guest and changed vcpu to 2 in the config file. > > after winxp booted up with xm create, the processor is still 1.. > > pls advise how to assign 2 cpu to winxp. >If it was vcpu=1 when it was installed, then the first time you reboot after changing vcpu to 2, XP installs the multiprocessor kernel, and you need an additional reboot to load it. If that doesn't fix it, post your config. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jan 26, 2010 at 12:02 PM, James Harper <james.harper@bendigoit.com.au> wrote:> If it was vcpu=1 when it was installed, then the first time you reboot after changing vcpu to 2, XP installs the multiprocessor kernel... unless the domU config file specifically disables ACPI. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
after rebooted 2 times, the processor was still single. below is the config: name = "winxp" uuid = "7c73e432-0256-8b6d-7164-0f8f0f237fd7" maxmem = 512 memory = 512 vcpus = 2 builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "c" pae = 1 acpi = 0 apic = 0 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 = "en-us" disk = [ "phy:/dev/vgs/winxp,hda,w" ] vif = [ "mac=00:16:36:5a:59:27,bridge=xenbr0,script=vif-bridge" ] parallel = "none" serial = "pty" pls advise. --- 2010年1月26日 星期二,James Harper <james.harper@bendigoit.com.au> 寫道﹕ 寄件人: James Harper <james.harper@bendigoit.com.au> 主題: RE: [Xen-users] winxp and 2 cpu 收件人: "Aclhk Aclhk" <aclhkaclhk@ymail.com>, xen-users@lists.xensource.com 日期: 2010年1月26日,星期二,上午5:02> > I am using a single Q9550 (quad core) cpu. > > I installed winxp hvm guest and changed vcpu to 2 in the config file. > > after winxp booted up with xm create, the processor is still 1.. > > pls advise how to assign 2 cpu to winxp. >If it was vcpu=1 when it was installed, then the first time you reboot after changing vcpu to 2, XP installs the multiprocessor kernel, and you need an additional reboot to load it. If that doesn''t fix it, post your config. James -----內含下列附件----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://hk.promo.yahoo.com/security/ 了解更多! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> after rebooted 2 times, the processor was still single. > > pae = 1 > acpi = 0 > apic = 0Set acpi=1 and apic=1. You may need a bit of trickery to get Windows to update the HAL but there are ways to do it. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I still have no luck after acpi=1 and apic=1. could you post your config? my xen version: virsh # version Compiled against library: libvir 0.6.3 Using library: libvir 0.6.3 Using API: Xen 3.0.1 Running hypervisor: Xen 3.1.0 --- 2010年1月27日 星期三,James Harper <james.harper@bendigoit.com.au> 寫道﹕ 寄件人: James Harper <james.harper@bendigoit.com.au> 主題: RE: [Xen-users] winxp and 2 cpu 收件人: "Aclhk Aclhk" <aclhkaclhk@ymail.com>, xen-users@lists.xensource.com 日期: 2010年1月27日,星期三,上午8:21> after rebooted 2 times, the processor was still single. > > pae = 1 > acpi = 0 > apic = 0Set acpi=1 and apic=1. You may need a bit of trickery to get Windows to update the HAL but there are ways to do it. James -----內含下列附件----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://hk.promo.yahoo.com/security/ 了解更多! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2010/1/29 Aclhk Aclhk <aclhkaclhk@ymail.com>> > I still have no luck after acpi=1 and apic=1.Actually only setting "acpi=1" is enough. Virtualbox says virtualizing apic is "expensive", and I assume it''s the same thing on Xen, so I usually set it off whenever possible.> --- 2010年1月27日 星期三,James Harper <james.harper@bendigoit.com.au> 寫道﹕ > You may need a bit of trickery to get Windows to update the HAL but there are ways to do it.Looks like you haven''t done that part yet :P See: http://support.microsoft.com/kb/309283 (short story: you need halacpi) http://www.vernalex.com/guides/sysprep/hal.shtml (look for boot.ini. You only need the /HAL option, not /KERNEL. The necessary hal*.dll is available on Windows install CD). Note that choosing the wrong HAL might make your system unbootable, so it''s best to have BACKUP of domU''s disk image (even if it''s just LVM snapshot) and lots of test. It''s also handy to have kpartx and ntfs-3g, in case domU fails to boot and you need to access it''s filesystem from dom0. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users