Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1267167

Re: [PATCH 0/3] Infinite loops in microcode while running guests

From Austin S Hemmelgarn <ahferroin7@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] Infinite loops in microcode while running guests
Date 2015-11-11 13:50 +0100
Message-ID <qtD0C-2OK-17@gated-at.bofh.it> (permalink)
References <qtgdH-505-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2015-11-10 07:22, Paolo Bonzini wrote:
> Yes, these can happen.  The issue is that benign exceptions are
> delivered serially, but two of them (#DB and #AC) can also happen
> during exception delivery itself.  The subsequent infinite stream
> of exceptions causes the processor to never exit guest mode.
>
> Paolo
>
> Eric Northup (1):
>    KVM: x86: work around infinite loop in microcode when #AC is delivered
>
> Paolo Bonzini (2):
>    KVM: svm: unconditionally intercept #DB
>    KVM: x86: rename update_db_bp_intercept to update_bp_intercept
>
>   arch/x86/include/asm/kvm_host.h |  2 +-
>   arch/x86/include/uapi/asm/svm.h |  1 +
>   arch/x86/kvm/svm.c              | 22 +++++++++++-----------
>   arch/x86/kvm/vmx.c              |  7 +++++--
>   arch/x86/kvm/x86.c              |  2 +-
>   5 files changed, 19 insertions(+), 15 deletions(-)
>
I just finished running a couple of tests in a KVM instance running 
nested on a Xen HVM instance, and found no issues, so for the set as a 
whole:

Tested-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>

Now to hope the equivalent fix for Xen gets into the Gentoo repositories 
soon, as the issue propagates down through nested virtualization and 
ties up the CPU regardless (and in turn triggers the watchdog).

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] Infinite loops in microcode while running guests Paolo Bonzini <pbonzini@redhat.com> - 2015-11-10 13:30 +0100
  Re: [PATCH 0/3] Infinite loops in microcode while running guests Jan Kiszka <jan.kiszka@siemens.com> - 2015-11-10 16:40 +0100
    Re: [PATCH 0/3] Infinite loops in microcode while running guests Paolo Bonzini <pbonzini@redhat.com> - 2015-11-10 17:20 +0100
  Re: [PATCH 0/3] Infinite loops in microcode while running guests Austin S Hemmelgarn <ahferroin7@gmail.com> - 2015-11-11 13:50 +0100
    Re: [PATCH 0/3] Infinite loops in microcode while running guests Paolo Bonzini <pbonzini@redhat.com> - 2015-11-11 14:10 +0100
      Re: [PATCH 0/3] Infinite loops in microcode while running guests Austin S Hemmelgarn <ahferroin7@gmail.com> - 2015-11-11 14:20 +0100
        Re: [PATCH 0/3] Infinite loops in microcode while running guests Jan Kiszka <jan.kiszka@siemens.com> - 2015-11-12 15:10 +0100
          Re: [PATCH 0/3] Infinite loops in microcode while running guests Paolo Bonzini <pbonzini@redhat.com> - 2015-11-12 15:40 +0100

csiph-web