[PATCH 0/3] add virendian.h, and use it to kill xen cpumap issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not only does this solve the compiler warning on 32-bit machines,
but it completely gets rid of what looks like bogus pointer aliasing,
all while reducing the number of lines in xen_hypervisor.c.

Eric Blake (3):
  util: add virendian.h macros
  util: use new virendian.h macros
  xen: clean up the mess with cpumap

 .gitignore                |   1 +
 src/Makefile.am           |   1 +
 src/cpu/cpu_x86.c         |  24 ++++------
 src/util/virendian.h      |  93 +++++++++++++++++++++++++++++++++++++++
 src/util/virstoragefile.c | 109 ++++++++++------------------------------------
 src/xen/xen_hypervisor.c  |  16 +++----
 tests/Makefile.am         |   8 +++-
 tests/virendiantest.c     | 102 +++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 239 insertions(+), 115 deletions(-)
 create mode 100644 src/util/virendian.h
 create mode 100644 tests/virendiantest.c

-- 
1.8.1.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]