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

[Xen-users] HVM ignoring vcpus parameter

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] HVM ignoring vcpus parameter
From: Balazs Szalai <crowdatcrowd@xxxxxxxxx>
Date: Mon, 1 Aug 2011 16:19:46 +0200
Delivery-date: Mon, 01 Aug 2011 07:21:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=k/M3h4gVCE59gVPRzhkVKRXPCrbswpQvCeVn4WHrbk8=; b=O2NfOxs+28D2ioCzbqsrfgPGG4jAPUPdJCGsjjAX2Pgk5SuqVISX/jcRrl+q1Zd7mZ 37YihlaKDb5aaPZJBhRarLk2gx/4bqRrqJltKM2Trz2HfCMCYwWgQJJ5/aiYfS4GK2yt tpkBaZKUWCCvN5hKstKir8MtlMcjavzL2xPxo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
I am using Xen 4 under Debian Squeeze. I want to use Windows 2008 x86
with HVM, but only one vcpu allocated when vm started.
After increasing vcpus number (vcpus = '4') in cfg, at start ignored
that parameter, xm list VCPUs show only 1.
Why does not able to increase the vcpus? Any idea?:)

p.s: if using pvm linux, then the vcpus parameter is ok, increased
successfully when I set it.


xend.log:

[2011-07-29 16:56:49 27043] DEBUG (XendDomainInfo:101)
XendDomainInfo.create(['vm', ['name', 'Windows2008standard'],
['memory', '4096'
], ['shadow_memory', 8], ['on_xend_start', 'ignore'], ['on_xend_stop',
'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['hvm', ['kernel
', '/usr/lib/xen-default/boot/hvmloader'], ['videoram', 4], ['serial',
'pty'], ['acpi', 1], ['apic', 1],

xm info:
# xm info

host                   : xxxx
release                : 2.6.32-5-xen-686
version                : #1 SMP Mon Jun 13 09:07:50 UTC 2011
machine                : i686
nr_cpus                : 16
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 2266
hw_caps                :
bfebfbff:28100000:00000000:00001b40:009ce3bd:00000000:00000001:00000000
virt_caps              : hvm hvm_directio
total_memory           : 8180
free_memory            : 22
node_to_cpu            : node0:0-15
node_to_memory         : node0:22
node_to_dma32_mem      : node0:22
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .1
xen_caps               : xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xf5800000
xen_changeset          : unavailable
xen_commandline        : placeholder
cc_compiler            : gcc version 4.4.5 (Debian 4.4.5-10)
cc_compile_by          : waldi
cc_compile_domain      : debian.org
cc_compile_date        : Wed Jan 12 15:04:50 UTC 2011
xend_config_format     : 4

xm dmesg:

....

(XEN) Processor #0 7:10 APIC version 21
(XEN) Processor #2 7:10 APIC version 21
(XEN) Processor #4 7:10 APIC version 21
(XEN) Processor #6 7:10 APIC version 21
(XEN) Processor #16 7:10 APIC version 21
(XEN) Processor #18 7:10 APIC version 21
(XEN) Processor #20 7:10 APIC version 21
(XEN) Processor #22 7:10 APIC version 21
(XEN) Processor #1 7:10 APIC version 21
(XEN) Processor #3 7:10 APIC version 21
(XEN) Processor #5 7:10 APIC version 21
(XEN) Processor #7 7:10 APIC version 21
(XEN) Processor #17 7:10 APIC version 21
(XEN) Processor #19 7:10 APIC version 21
(XEN) Processor #21 7:10 APIC version 21
(XEN) Processor #23 7:10 APIC version 21
(XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
(XEN) IOAPIC[1]: apic_id 9, version 32, address 0xfec80000, GSI 24-47
(XEN) Enabling APIC mode:  Phys.  Using 2 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2266.786 MHz processor.
(XEN) VMX: Supported advanced features:
(XEN)  - APIC MMIO access virtualisation
(XEN)  - APIC TPR shadow
(XEN)  - Extended Page Tables (EPT)
(XEN)  - Virtual-Processor Identifiers (VPID)
(XEN)  - Virtual NMI
(XEN)  - MSR direct-access bitmap
(XEN) EPT supports 2MB super page.
(XEN) HVM: ASIDs enabled.
(XEN) HVM: VMX enabled
(XEN) HVM: Hardware Assisted Paging detected.
(XEN) Intel VT-d Snoop Control supported.
(XEN) Intel VT-d DMA Passthrough not supported.
(XEN) Intel VT-d Queued Invalidation supported.
(XEN) Intel VT-d Interrupt Remapping supported.
(XEN) I/O virtualisation enabled


cpuinfo

processor       : 0-15
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz
stepping        : 5
cpu MHz         : 2266.786
cache size      : 8192 KB
physical id     : 1
siblings        : 2
core id         : 3
cpu cores       : 1
apicid          : 23
initial apicid  : 23
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu de tsc msr pae mce cx8 apic mtrr mca cmov pat clflush
acpi mmx fxsr sse sse2 ss ht nx constant_tsc nonstop_tsc aperfmperf
pni est ssse3 sse4_1 sse4_2 popcnt hypervisor
bogomips        : 4533.57
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] HVM ignoring vcpus parameter, Balazs Szalai <=