d3cc998a05
* configure.ac (AC_CHECK_TYPES): Add struct kvm_userspace_memory_region. * xlat/kvm_mem_flags.in: New file. * kvm.c: Include print_fields.h. [HAVE_STRUCT_KVM_USERSPACE_MEMORY_REGION]: Include xlat/kvm_mem_flags.h, (kvm_ioctl_set_user_memory_region): New function. (kvm_ioctl) [HAVE_STRUCT_KVM_USERSPACE_MEMORY_REGION] <KVM_SET_USER_MEMORY_REGION>: Use it. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
3 lines
59 B
Plaintext
3 lines
59 B
Plaintext
KVM_MEM_LOG_DIRTY_PAGES (1 << 0)
|
|
KVM_MEM_READONLY (1 << 1)
|