Description of problem: When bind VCPU to specific CPU (via cpus parameter (cpus = "0") in config file), the hvm guest will always restart automatically and can not boot up successfully. Please use the config file that in attachment to reproduce the bug. Version-Release number of selected component (if applicable): xen-3.0.3-105.el5 How reproducible: Always Steps to Reproduce: 1.Start a guest with cpus="0": # xm cr $guest cpus="0" vcpus=4 2. 3. Actual results: The guest will always restart automatically and can not boot up successfully. Expected results: The guest should boot up successfully. Additional info:
Created attachment 397475 [details] The config file
Created attachment 397476 [details] dmesg
This is kernel bz. There's similiar bug filled against pv guest - bz #541840. CPU's binding is passed to guest correctly. It works for single vcpu on single cpu or multiple vcpus on multiple cpus. I will attach screenshot of earlyprints. Reassign to kernel-xen
Created attachment 399298 [details] Bug earlyprink screenshot
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Xen guests will not boot with a configuration that binds multiple vcpus to a single cpu.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -Xen guests will not boot with a configuration that binds multiple vcpus to a single cpu.+Xen guests will not boot using configurations that bind multiple virtualized CPUs to a single CPU.
If we want to forbid this configuration, this can simply be a dup of bug 541840.
Since this is what we're doing in bug 541840 (and it makes no sense to forbid PV but allow HVM), marking as dup. *** This bug has been marked as a duplicate of bug 541840 ***
The duplicate bug was fixed, removing technical notes.
Deleted Technical Notes Contents. Old Contents: Xen guests will not boot using configurations that bind multiple virtualized CPUs to a single CPU.