From: Alex Williamson Date: Mon, 10 Dec 2012 17:33:26 +0000 (-0700) Subject: KVM: struct kvm_memory_slot.flags -> u32 X-Git-Tag: v3.9-rc1~97^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6104f472a5ea287fbdcf4644e74867dfd905a018;p=pandora-kernel.git 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 Signed-off-by: Alex Williamson Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed