]> Pileus Git - ~andy/linux/commit
KVM: hide KVM_MEMSLOT_INVALID from userspace
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 21 Aug 2012 02:58:45 +0000 (10:58 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 22 Aug 2012 12:08:51 +0000 (15:08 +0300)
commit67b29204c8c9ecb4b2799a06ab646eeb363a0fe6
tree4340306cbdfa28169737010531590735f63b6b4f
parenta50d64d6590f470b712758598a077ef4fd0fc40a
KVM: hide KVM_MEMSLOT_INVALID from userspace

Quote Avi's comment:
| KVM_MEMSLOT_INVALID is actually an internal symbol, not used by
| userspace.  Please move it to kvm_host.h.

Also, we divide the memlsot->flags into two parts, the lower 16 bits
are visible for userspace, the higher 16 bits are internally used in
kvm

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm.h
include/linux/kvm_host.h