diff options
author | 2023-02-27 14:10:06 +0530 | |
---|---|---|
committer | 2023-03-22 12:19:10 -0700 | |
commit | 5faaffab5ba8cd4f3781b90cccd47440b54aea5b (patch) | |
tree | 0977ec6c7c2ccb02546c22eb5f43a99c0efc0109 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: Change return type of kvm_arch_vm_ioctl() to "int" (diff) | |
download | linux-rng-5faaffab5ba8cd4f3781b90cccd47440b54aea5b.tar.xz linux-rng-5faaffab5ba8cd4f3781b90cccd47440b54aea5b.zip |
KVM: nSVM: Don't sync vmcb02 V_IRQ back to vmcb12 if KVM (L0) is intercepting VINTR
Don't sync vmcb02 V_IRQ back to vmcb12 if KVM (L0) is intercepting
virtual interrupts in order to request an interrupt window, as KVM
has usurped vmcb02's int_ctl. If an interrupt window opens before
the next VM-Exit, svm_clear_vintr() will restore vmcb12's int_ctl.
If no window opens, V_IRQ will be correctly preserved in vmcb12's
int_ctl (because it was never recognized while L2 was running).
Suggested-by: Sean Christopherson <seanjc@google.com>
Link: https://lkml.kernel.org/r/Y9hybI65So5X2LFg%40google.com
Signed-off-by: Santosh Shukla <Santosh.Shukla@amd.com>
Link: https://lore.kernel.org/r/20230227084016.3368-2-santosh.shukla@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions