On 06/03/2011 10:47 PM, Eric Blake wrote:
On 06/02/2011 03:45 AM, Osier Yang wrote:
* src/libxl/libxl_driver.c
* src/qemu/qemu_process.c
---
src/libxl/libxl_driver.c | 7 ++-----
src/qemu/qemu_process.c | 13 ++-----------
2 files changed, 4 insertions(+), 16 deletions(-)
ACK. Trivial cleanup, so safe for 0.9.2.
for (i = 0; i< VIR_DOMAIN_CPUMASK_LEN; ++i) {
- if (cpumask[i]) {
- pos = i / 8;
- cpumap[pos] |= 1<< (i % 8);
- }
+ if (cpumask[i])
+ VIR_USE_CPU(cpumap, i);
}
Thanks, applied
Regards
Osier
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list