64-bit kernels have a slightly different memory map, which causes problems with sign extensions. These patches make it possible to run all three API tests on a 64-bit kernel, and also fix some bitrot. Paolo Bonzini (6): config: remove useless -D options x86: api: fix bitrot x86: api: avoid conversion from void* to uint64_t x86: api: do not pass size==0 to KVM_SET_USER_MEMORY_REGION except to delete a region x86: api: use try_main throughout x86: api: allocate TSS region dynamically api/api-sample.cc | 8 ++++---- api/dirty-log-perf.cc | 10 +++++++-- api/dirty-log.cc | 10 +++++++-- api/identity.cc | 49 +++++++++++++++++++++++++++++++++++--------- api/identity.hh | 2 ++ api/kvmxx.cc | 2 +- api/memmap.cc | 11 ++++++++-- config/config-arm.mak | 1 - config/config-arm64.mak | 2 -- config/config-i386.mak | 1 - config/config-x86-common.mak | 2 +- config/config-x86_64.mak | 2 +- 12 files changed, 73 insertions(+), 27 deletions(-) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html