aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAndrew Jones <[email protected]>2020-08-04 17:06:04 +0000
committerMarc Zyngier <[email protected]>2020-08-21 13:05:19 +0000
commit004a01241c5a0d375266ebf1c72f208de99294e9 (patch)
tree956e8aee5d5a69cbbdf3d5dff427bae747a003b1 /net/switchdev/switchdev.c
parentKVM: Documentation: Minor fixups (diff)
downloadkernel-004a01241c5a0d375266ebf1c72f208de99294e9.tar.gz
kernel-004a01241c5a0d375266ebf1c72f208de99294e9.zip
arm64/x86: KVM: Introduce steal-time cap
arm64 requires a vcpu fd (KVM_HAS_DEVICE_ATTR vcpu ioctl) to probe support for steal-time. However this is unnecessary, as only a KVM fd is required, and it complicates userspace (userspace may prefer delaying vcpu creation until after feature probing). Introduce a cap that can be checked instead. While x86 can already probe steal-time support with a kvm fd (KVM_GET_SUPPORTED_CPUID), we add the cap there too for consistency. Signed-off-by: Andrew Jones <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Reviewed-by: Steven Price <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions