kvm: Relax aligment check of kvm_set_phys_mem
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 30 Apr 2009 08:17:39 +0000 (10:17 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 May 2009 14:38:33 +0000 (09:38 -0500)
commite6f4afe029ae21853fd6625d94e9e0b2caa4defd
treef1a9736c76effb3245b102657a70ecea6cfbbc9b
parent582af0da2a65784e431c2c5ed3a003a35c5587f7
kvm: Relax aligment check of kvm_set_phys_mem

There is no need to reject an unaligned memory region registration if
the region will be I/O memory and it will not split an existing KVM
slot. This fixes KVM support on PPC.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kvm-all.c