qemu/accel/kvm
Jiaxun Yang eb8b1a797a accel/kvm: avoid using predefined PAGE_SIZE
As per POSIX specification of limits.h [1], OS libc may define
PAGE_SIZE in limits.h.

PAGE_SIZE is used in included kernel uapi headers.

To prevent collosion of definition, we discard PAGE_SIZE from
defined by libc and take QEMU's variable.

[1]: https://pubs.opengroup.org/onlinepubs/7908799/xsh/limits.h.html

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20210118063808.12471-8-jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2021-01-20 10:46:54 +01:00
..
kvm-all.c accel/kvm: avoid using predefined PAGE_SIZE 2021-01-20 10:46:54 +01:00
kvm-cpus.c kvm: kvm_init_vcpu take Error pointer 2020-10-05 16:41:22 +02:00
kvm-cpus.h kvm: kvm_init_vcpu take Error pointer 2020-10-05 16:41:22 +02:00
meson.build cpus: extract out kvm-specific code to accel/kvm 2020-10-05 16:41:22 +02:00
sev-stub.c kvm: introduce memory encryption APIs 2018-03-13 12:04:03 +01:00
trace-events kvm: kvm_init_vcpu take Error pointer 2020-10-05 16:41:22 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00