qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 135a97: translate: early exit in tb_flush if


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 135a97: translate: early exit in tb_flush if there is no t...
Date: Tue, 30 Aug 2016 06:00:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 135a972b45203ba992afc99ef4f061be8a5acae0
      
https://github.com/qemu/qemu/commit/135a972b45203ba992afc99ef4f061be8a5acae0
  Author: Christian Borntraeger <address@hidden>
  Date:   2016-08-30 (Tue, 30 Aug 2016)

  Changed paths:
    M translate-all.c

  Log Message:
  -----------
  translate: early exit in tb_flush if there is no tcg

tb_flush does all kind of things, which are very tcg specific. As it
is called from some places even for KVM (e.g. gdb server) it is better
to detect these cases and do an early exit.
This also fixes a crash in the gdb server that was triggered by
commit 909eaac9bbc2 ("tb hash: track translated blocks with qht").

Suggested-by: Paolo Bonzini <address@hidden>
Reported-by: Richard Henderson <address@hidden>
Reported-by: Brent Baccala <address@hidden>
Signed-off-by: Christian Borntraeger <address@hidden>
Message-id: address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]