commit | 1e702d9af5d633cf0eca76f6340b3c50fbb5a4e5 | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Mon Dec 10 10:33:32 2012 -0700 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Thu Dec 13 23:25:24 2012 -0200 |
tree | d4ef29de97fc976ed7245c629b6f8a41fd660f86 | |
parent | 6104f472a5ea287fbdcf4644e74867dfd905a018 [diff] |
KVM: struct kvm_memory_slot.id -> short We're currently offering a whopping 32 memory slots to user space, an int is a bit excessive for storing this. We would like to increase our memslots, but SHRT_MAX should be more than enough. Reviewed-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>