|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH][xm-test] Check for Dom0 vcpus in a loop with a timeo
The enforce_dom0_cpus test sets the number of vcpus for the Dom0 and
checks to see if they have been set correctly. We found that on
multi-proc systems, it takes a certain amount of time for the number of
vcpus to change.
This patch checks the number of vcpus inside a loop until it is correct
or 20 seconds elapse, whichever happens first. If after 20 seconds the
number of vcpus is not changed correctly, an error is raised.
With reference to this email discussion.
http://lists.xensource.com/archives/html/xen-devel/2006-05/msg00155.html
Thanks to Brian Carb <brian.carb@xxxxxxxxxx> for testing it out.
Raj
Signed-off-by: Rajagopalan Subrahmanian
<raj.subrahmanian@xxxxxxxxxx>
enforce_dom0_cpus.patch
Description: enforce_dom0_cpus.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH][xm-test] Check for Dom0 vcpus in a loop with a timeout in xm-test test enforce_dom0_cpus,
Subrahmanian, Raj <=
|
|
|
|
|