summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2012-12-10 18:33:26 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2012-12-14 02:25:24 +0100
commit6104f472a5ea287fbdcf4644e74867dfd905a018 (patch)
treeeb244dd5de134b740bab31cd62bf9e7e69689448 /virt/kvm
parentKVM: struct kvm_memory_slot.user_alloc -> bool (diff)
downloadlinux-6104f472a5ea287fbdcf4644e74867dfd905a018.tar.xz
linux-6104f472a5ea287fbdcf4644e74867dfd905a018.zip
KVM: struct kvm_memory_slot.flags -> u32
struct kvm_userspace_memory_region.flags is a u32 with a comment that bits 0 ~ 15 are visible to userspace and the other bits are reserved for kvm internal use. KVM_MEMSLOT_INVALID is the only internal use flag and it has a comment that bits 16 ~ 31 are internally used and the other bits are visible to userspace. Therefore, let's define this as a u32 so we don't waste bytes on LP64 systems. Move to the end of the struct for alignment. Reviewed-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions