kvm-all: put kvm_mem_flags to more work
commitd6ff5cbc1231a5aec997abf3a809c7013e60472f
authorAndrew Jones <drjones@redhat.com>
Thu, 18 Jun 2015 16:28:43 +0000 (18 18:28 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Jul 2015 15:59:43 +0000 (6 17:59 +0200)
tree52e22ac9085eda063deb1492bc69ee7987f0f894
parentfc12d72e10828ca6ff75f2ad432b741f07a10cef
kvm-all: put kvm_mem_flags to more work

Currently kvm_mem_flags just translates bools to bits, let's
make it also determine the bools first. This avoids its parameter
list growing each time we add a flag.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
kvm-all.c