qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] f28d0d: tcg: fix --disable-tcg build breakage


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] f28d0d: tcg: fix --disable-tcg build breakage
Date: Sat, 23 Jun 2018 13:04:14 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f28d0dfdce5754d80d2a5993fff2f5312b32cac1
      
https://github.com/qemu/qemu/commit/f28d0dfdce5754d80d2a5993fff2f5312b32cac1
  Author: Emilio G. Cota <address@hidden>
  Date:   2018-06-22 (Fri, 22 Jun 2018)

  Changed paths:
    M accel/stubs/tcg-stub.c
    M cpus.c
    M exec.c

  Log Message:
  -----------
  tcg: fix --disable-tcg build breakage

Fix the --disable-tcg breakage introduced by tb_lock's removal by
relying on the fact that tcg_enabled() is set to 0 at
compile-time under --disable-tcg.

While at it, add further asserts to fix builds that enable both
--disable-tcg and --enable-debug, which were broken even before
tb_lock's removal.

Tested to build x86_64-softmmu and i386-softmmu targets.

Reported-by: Peter Maydell <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>



      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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