Displaying 1 result from an estimated 1 matches for "maxvcpu_out".
2006 Jan 25
0
changing max vcpus threshold while a domain is running
...is:
/*
* Can only create new VCPUs while the domain is not fully
* constructed
* (and hence not runnable). Xen needs auditing for races before
* removing this check.
*/
ret = -EINVAL;
if ( test_bit(_VCPUF_initialised, &d->vcpu[0]->vcpu_flags) )
goto maxvcpu_out;
Do you know which race condition is being avoided by this check for
_VCPUF_initialised? Could it be the for_each_vcpu macro only checks for
null and a vcpu structure could be alloc''d but not initialized, and then
used inside the macro?
Thanks,
Ryan
_________________________________...