libvirt/src/xen
Eric Blake 069b5c5a58 xen: clean up the mess with cpumap
Commit 8b55992f added some Coverity comments to silence what was
a real bug in the code.  Since then, we've had a miserable run
of trying to fix the underlying problem (commits c059cde and
ba5193c), and still have a problem on 32-bit machines.

This fixes the problem for once and for all, by realizing that
on older xen, cpumap_t is identical to uint64_t, and using the
new virendian.h to do the transformation from the API (documented
to be little-endian) to the host structure.

* src/xen/xen_hypervisor.c (virXen_setvcpumap): Do the conversion
correctly.  Finally.
2013-02-12 09:00:17 -07:00
..
block_stats.c Rename virterror.c virterror_internal.h to virerror.{c,h} 2012-12-21 11:19:50 +00:00
block_stats.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
xen_driver.c Turn virCapabilities into a virObject 2013-02-08 11:34:26 +00:00
xen_driver.h implement managedsave in libvirt xen legacy driver 2012-12-04 09:59:23 -07:00
xen_hypervisor.c xen: clean up the mess with cpumap 2013-02-12 09:00:17 -07:00
xen_hypervisor.h Convert capabilities / domain_conf to use virArch 2012-12-18 16:53:03 +00:00
xen_inotify.c inotify: Clean up some function headers 2013-02-11 09:49:17 -05:00
xen_inotify.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
xend_internal.c xend: Fix a memory leak found by Coverity 2013-02-11 09:50:01 -05:00
xend_internal.h Rename buf.{c,h} to virbuffer.{c,h} 2012-12-21 11:17:12 +00:00
xm_internal.c xm: Remove redundant validity checks, clean up function headers 2013-02-11 09:49:34 -05:00
xm_internal.h Rename conf.{c,h} to virconf.{c,h} 2012-12-21 11:17:13 +00:00
xs_internal.c xs: Remove redundant validity checks, clean up function headers 2013-02-11 09:48:51 -05:00
xs_internal.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00