GaloisInc / HaLVM

The Haskell Lightweight Virtual Machine (HaLVM): GHC running on Xen
BSD 3-Clause "New" or "Revised" License
1.05k stars 88 forks source link

xenctl_cpumap renamed in xen 4.3 #20

Closed dnaq closed 10 years ago

dnaq commented 10 years ago

In newer versions of xen (at least from 4.3) the xenctl_cpumap structure has been renamed to the more generic xenctl_bitmap.

Thus the file

src/HALVMCore/Hypervisor/Structures/CPUMap.hsc

does not build. This can be resolved by replacing all occurrences of xenctl_cpumap in that file to xenctl_bitmap, and replacing the peeks and pokes of nr_cpus to nr_bits.

acw commented 10 years ago

This is now fixed in HEAD.