The set_memory_region_test selftest is failing on AMD machines, this series fixes two bugs in it. Paolo Bonzini (2): KVM: SVM: avoid infinite loop on NPF from bad address selftests: kvm/set_memory_region_test: do not check RIP if the guest shuts down arch/x86/kvm/svm/svm.c | 7 +++++++ .../testing/selftests/kvm/set_memory_region_test.c | 13 +++++++++---- virt/kvm/kvm_main.c | 1 + 3 files changed, 17 insertions(+), 4 deletions(-) -- 2.18.2