8886640dad
KVM uses __KVM_HAVE_* symbols in the architecture-dependent uapi/asm/kvm.h to mask unused definitions in include/uapi/linux/kvm.h. __KVM_HAVE_READONLY_MEM however was nothing but a misguided attempt to define KVM_CAP_READONLY_MEM only on architectures where KVM_CHECK_EXTENSION(KVM_CAP_READONLY_MEM) could possibly return nonzero. This however does not make sense, and it prevented userspace from supporting this architecture-independent feature without recompilation. Therefore, these days __KVM_HAVE_READONLY_MEM does not mask anything and is only used in virt/kvm/kvm_main.c. Userspace does not need to test it and there should be no need for it to exist. Remove it and replace it with a Kconfig symbol within Linux source code. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
Kbuild | ||
auxvec.h | ||
bitfield.h | ||
bitsperlong.h | ||
break.h | ||
byteorder.h | ||
cachectl.h | ||
errno.h | ||
fcntl.h | ||
hwcap.h | ||
inst.h | ||
ioctl.h | ||
ioctls.h | ||
kvm.h | ||
mman.h | ||
msgbuf.h | ||
param.h | ||
perf_regs.h | ||
poll.h | ||
posix_types.h | ||
ptrace.h | ||
reg.h | ||
resource.h | ||
sembuf.h | ||
setup.h | ||
sgidefs.h | ||
shmbuf.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
socket.h | ||
sockios.h | ||
stat.h | ||
statfs.h | ||
swab.h | ||
sysmips.h | ||
termbits.h | ||
termios.h | ||
types.h | ||
ucontext.h | ||
unistd.h |