mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
After the vcpu_load/vcpu_put pushdown, the handling of asynchronous VCPU ioctl is already much clearer in that it is obvious that they bypass vcpu_load and vcpu_put. However, it is still not perfect in that the different state of the VCPU mutex is still hidden in the caller. Separate those ioctls into a new function kvm_arch_vcpu_async_ioctl that returns -ENOIOCTLCMD for more "traditional" synchronous ioctls. Cc: James Hogan <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Christian Borntraeger <[email protected]> Reviewed-by: Christoffer Dall <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Suggested-by: Cornelia Huck <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>