aboutsummaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorGravatar Sean Christopherson <seanjc@google.com> 2024-01-09 16:39:37 -0800
committerGravatar Sean Christopherson <seanjc@google.com> 2024-02-22 16:27:40 -0800
commit322d79f1db4b033844dcb2de43abd570abbd04b4 (patch)
tree6e5cf85f6283317e82ab2ce4574a21c105d06e69 /virt
parentKVM: x86: Rely solely on preempted_in_kernel flag for directed yield (diff)
downloadlinux-322d79f1db4b033844dcb2de43abd570abbd04b4.tar.gz
linux-322d79f1db4b033844dcb2de43abd570abbd04b4.tar.bz2
linux-322d79f1db4b033844dcb2de43abd570abbd04b4.zip
KVM: x86: Clean up directed yield API for "has pending interrupt"
Directly return the boolean result of whether or not a vCPU has a pending interrupt instead of effectively doing: if (true) return true; return false; Reviewed-by: Yuan Yao <yuan.yao@intel.com> Link: https://lore.kernel.org/r/20240110003938.490206-4-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions