Re: [Qemu-devel] [PATCH] kvm-all: put kvm_mem_flags to more work

2015-03-30 Thread Paolo Bonzini
On 06/03/2015 16:17, Andrew Jones wrote: > 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 > --- > This patch comes from an experimental series

[Qemu-devel] [PATCH] kvm-all: put kvm_mem_flags to more work

2015-03-06 Thread Andrew Jones
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 --- This patch comes from an experimental series that added a kvm memslot flag. That series probably won