1. 23 3月, 2016 1 次提交
    • P
      qemu-log: Improve the "exec" TB execution logging · 1a830635
      Peter Maydell 提交于
      Improve the TB execution logging so that it is easier to identify
      what is happening from trace logs:
       * move the "Trace" logging of executed TBs into cpu_tb_exec()
         so that it is emitted if and only if we actually execute a TB,
         and for consistency for the CPU state logging
       * log when we link two TBs together via tb_add_jump()
       * log when cpu_tb_exec() returns early from a chain of TBs
      
      The new style logging looks like this:
      
      Trace 0x7fb7cc822ca0 [ffffffc0000dce00]
      Linking TBs 0x7fb7cc822ca0 [ffffffc0000dce00] index 0 -> 0x7fb7cc823110 [ffffffc0000dce10]
      Trace 0x7fb7cc823110 [ffffffc0000dce10]
      Trace 0x7fb7cc823420 [ffffffc000302688]
      Trace 0x7fb7cc8234a0 [ffffffc000302698]
      Trace 0x7fb7cc823520 [ffffffc0003026a4]
      Trace 0x7fb7cc823560 [ffffffc0000dce44]
      Linking TBs 0x7fb7cc823560 [ffffffc0000dce44] index 1 -> 0x7fb7cc8235d0 [ffffffc0000dce70]
      Trace 0x7fb7cc8235d0 [ffffffc0000dce70]
      Stopped execution of TB chain before 0x7fb7cc8235d0 [ffffffc0000dce70]
      Trace 0x7fb7cc8235d0 [ffffffc0000dce70]
      Trace 0x7fb7cc822fd0 [ffffffc0000dd52c]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
      [AJB: reword patch title, Abandoned->Stopped]
      Reviewed-by: NAurelien Jarno <aurelien@aurel32.net>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Message-Id: <1458052224-9316-6-git-send-email-alex.bennee@linaro.org>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      1a830635
  2. 21 1月, 2016 6 次提交
  3. 10 11月, 2015 1 次提交
  4. 05 11月, 2015 1 次提交
  5. 13 10月, 2015 2 次提交
    • P
      exec: remove non-TCG stuff from exec-all.h header. · 88401cbc
      Paolo Bonzini 提交于
      The header is included from basically everywhere, thanks to cpu.h.
      It should be moved to the (TCG only) files that actually need it.
      As a start, remove non-TCG stuff.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      88401cbc
    • P
      exec.c: Collect AddressSpace related fields into a CPUAddressSpace struct · 32857f4d
      Peter Maydell 提交于
      Gather up all the fields currently in CPUState which deal with the CPU's
      AddressSpace into a separate CPUAddressSpace struct. This paves the way
      for allowing the CPU to know about more than one AddressSpace.
      
      The rearrangement also allows us to make the MemoryListener a directly
      embedded object in the CPUAddressSpace (it could not be embedded in
      CPUState because 'struct MemoryListener' isn't defined for the user-only
      builds). This allows us to resolve the FIXME in tcg_commit() by going
      directly from the MemoryListener to the CPUAddressSpace.
      
      This patch extracts the actual update of the cached dispatch pointer
      from cpu_reload_memory_map() (which is renamed accordingly to
      cpu_reloading_memory_map() as it is only responsible for breaking
      cpu-exec.c's RCU critical section now). This lets us keep the definition
      of the CPUAddressSpace struct private to exec.c.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-Id: <1443709790-25180-4-git-send-email-peter.maydell@linaro.org>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      32857f4d
  6. 07 10月, 2015 6 次提交
  7. 16 9月, 2015 1 次提交
  8. 11 9月, 2015 1 次提交
  9. 09 9月, 2015 4 次提交
  10. 27 8月, 2015 1 次提交
  11. 25 8月, 2015 1 次提交
  12. 15 8月, 2015 1 次提交
    • P
      exec: drop cpu_can_do_io, just read cpu->can_do_io · 414b15c9
      Paolo Bonzini 提交于
      After commit 626cf8f4 (icount: set can_do_io outside TB execution,
      2014-12-08), can_do_io is set to 1 if not executing code.  It is
      no longer necessary to make this assumption in cpu_can_do_io.
      
      It is also possible to remove the use_icount test, simply by
      never setting cpu->can_do_io to 0 unless use_icount is true.
      
      With these changes cpu_can_do_io boils down to a read of
      cpu->can_do_io.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      414b15c9
  13. 06 8月, 2015 1 次提交
  14. 09 7月, 2015 3 次提交
  15. 07 7月, 2015 1 次提交
  16. 26 6月, 2015 1 次提交
  17. 11 6月, 2015 1 次提交
  18. 05 6月, 2015 1 次提交
  19. 26 4月, 2015 2 次提交
  20. 17 2月, 2015 3 次提交
  21. 23 12月, 2014 1 次提交