Re: [libvirt] [Patch V2] Fix initialization of current vcpus in libxl driver

2011-05-24 Thread Jim Fehlig
Eric Blake wrote: > On 05/24/2011 11:22 AM, Jim Fehlig wrote: > >> The cur_vcpus member of struct libxl_domain_build_info was incorrectly >> initialized to the number of vcpus, when it should have been interpreted >> as a bitmap, where bit X corresponds to online/offline status of vcpuX. >> >> T

Re: [libvirt] [Patch V2] Fix initialization of current vcpus in libxl driver

2011-05-24 Thread Eric Blake
On 05/24/2011 11:22 AM, Jim Fehlig wrote: > The cur_vcpus member of struct libxl_domain_build_info was incorrectly > initialized to the number of vcpus, when it should have been interpreted > as a bitmap, where bit X corresponds to online/offline status of vcpuX. > > To complicate matters, cur_vcp

[libvirt] [Patch V2] Fix initialization of current vcpus in libxl driver

2011-05-24 Thread Jim Fehlig
The cur_vcpus member of struct libxl_domain_build_info was incorrectly initialized to the number of vcpus, when it should have been interpreted as a bitmap, where bit X corresponds to online/offline status of vcpuX. To complicate matters, cur_vcpus is an int, so only 32 vcpus can be set online. A