Re: [PATCH v2 1/9] KVM: PPC: Book3S HV: Fix H_REGISTER_VPA VPA size validation
From: Paul Mackerras <hidden>
Date: 2017-08-31 03:44:09
From: Paul Mackerras <hidden>
Date: 2017-08-31 03:44:09
On Sun, Aug 13, 2017 at 11:33:38AM +1000, Nicholas Piggin wrote:
KVM currently validates the size of the VPA registered by the client against sizeof(struct lppaca), however we align (and therefore size) that struct to 1kB to avoid crossing a 4kB boundary in the client. PAPR calls for sizes >= 640 bytes to be accepted. Hard code this with a comment. Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Thanks, patch applied to my kvm-ppc-next branch. Paul.