Re: [RFC PATCH v2 18/23] KVM: arm64: Add arch vcpu ioctl hook

2018-11-02 Thread Christoffer Dall
On Fri, Sep 28, 2018 at 02:39:22PM +0100, Dave Martin wrote: > To enable arm64-specific vcpu ioctls to be added cleanly, this > patch adds a kvm_arm_arch_vcpu_ioctl() hook so that these don't > pollute the common code. > > No functional change: the -EINVAL return for unknown ioctls is > retained,

[RFC PATCH v2 18/23] KVM: arm64: Add arch vcpu ioctl hook

2018-09-28 Thread Dave Martin
To enable arm64-specific vcpu ioctls to be added cleanly, this patch adds a kvm_arm_arch_vcpu_ioctl() hook so that these don't pollute the common code. No functional change: the -EINVAL return for unknown ioctls is retained, though it may or may not be intentional (KVM returns -ENXIO in various