Добрый день.
Только разбираюсь с Xen, версия 4.1, возник вопрос по поводу назначения процессоров гостевым windows-системам. Не получается добавить больше одного. Конфиг виртуалки следующий:
kernel = "/usr/lib/xen-default/boot/hvmloader"
builder = 'hvm'
#cpu = '1-2'
vcpus = 2
name = "win7"
vif = [ 'type=ioemu,bridge=virbr0' ]
memory = 4096
shadow_memory = 8
acpi=1
apic=1
usb=1
usbdevice="host:1d6b:0003"
#cdrom = "/data/virtualhost/InstallImages/Windows7x64/win7pro64.iso"
disk = [ 'file:/ssd/xen/domains/win7x64/win7x64.img,hda,w', "file:/data/virtualh ost/InstallImages/Windows7x64/win7pro64.iso,hdb:cdrom,r" ]
device_model = '/usr/lib/xen-default/bin/qemu-dm'
boot = "cd"
vnc = 1
vncconsole = 0
vncpasswd = ''
vncviewer = 1
vncunused = 1
vnclisten = '0.0.0.0'
vcpus = 1
stdvga = 0
serial = 'pty'
usbdevice = 'tablet'
on_reboot = 'restart'
on_crash = 'restart'
xm list:
win7 6 4096 1 ------ 14.2
xm vcpu-list:
Name ID VCPU CPU State Time(s) CPU Affinity
Domain-0 0 0 0 r-- 13645.0 any cpu
Domain-0 0 1 - --p 2.6 any cpu
Domain-0 0 2 - --p 2.7 any cpu
Domain-0 0 3 - --p 2.6 any cpu
win2008x 1 0 3 -b- 2966.0 any cpu
win7 6 0 2 --- 51.8 any cpu
Пытаюсь добавить ещё один vcpu: xm vcpu-set win7 2
Error: Cannot set vcpus greater than max vcpus on running domain
Usage: xm vcpu-set <Domain> <vCPUs>
Set the number of active VCPUs for allowed for the domain.
чяднт?