Re: [PATCH 2/2] kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl

2017-12-01 Thread Paolo Bonzini
On 30/11/2017 21:40, Kees Cook wrote: > Hi Paolo, > > Since this didn't make it via my usercopy tree, do you want to take it > via KVM? It is a stand-alone fix, AIUI. Yes, will do! Thanks, Paolo

Re: [PATCH 2/2] kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl

2017-11-30 Thread Kees Cook
On Thu, Oct 26, 2017 at 6:45 AM, Paolo Bonzini wrote: > This ioctl is obsolete (it was used by Xenner as far as I know) but > still let's not break it gratuitously... Its handler is copying > directly into struct kvm. Go through a bounce buffer instead, with > the added benefit that we can actua

Re: [PATCH 2/2] kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl

2017-10-26 Thread Kees Cook
On Thu, Oct 26, 2017 at 3:45 PM, Paolo Bonzini wrote: > This ioctl is obsolete (it was used by Xenner as far as I know) but > still let's not break it gratuitously... Its handler is copying > directly into struct kvm. Go through a bounce buffer instead, with > the added benefit that we can actua

[PATCH 2/2] kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl

2017-10-26 Thread Paolo Bonzini
This ioctl is obsolete (it was used by Xenner as far as I know) but still let's not break it gratuitously... Its handler is copying directly into struct kvm. Go through a bounce buffer instead, with the added benefit that we can actually do something useful with the flags argument---the previous