1. 20 5月, 2009 2 次提交
    • J
      initialize struct sigevent before timer_create · 9ed415b2
      Jean-Christophe Dubois 提交于
      When qemu is run under valgrind, valgrind shows the following output
      on exit:
      
      ==3648== 1 errors in context 2 of 2:
      ==3648== Syscall param timer_create(evp) points to uninitialised byte(s)
      ==3648==    at 0x54E936A: timer_create (in /lib/librt-2.9.so)
      ==3648==    by 0x405DCF: dynticks_start_timer (vl.c:1549)
      ==3648==    by 0x40A966: main (vl.c:1726)
      ==3648==  Address 0x7fefffb34 is on thread 1's stack
      ==3648==  Uninitialised value was created by a stack allocation
      ==3648==    at 0x405D60: dynticks_start_timer (vl.c:1534)
      
      This patch is a simple fix to remove this potential problem.
      Signed-off-by: NJean-Christophe DUBOIS <jcd@tribudubois.net>
      9ed415b2
    • J
      Fix NULL alarm_timer pointer at exit · e332340a
      Jean-Christophe Dubois 提交于
      This fixes a SIGSEGV error on qemu exit.
      
      Here is the valgrind output related to this error
      
      ==3648== Process terminating with default action of signal 11 (SIGSEGV)
      ==3648==  Access not within mapped region at address 0x8
      ==3648==    at 0x40636B: host_alarm_handler (vl.c:1345)
      ==3648==    by 0x52D807F: (within /lib/libpthread-2.9.so)
      ==3648==    by 0x5C0A12E: tcsetattr (in /lib/libc-2.9.so)
      ==3648==    by 0x4DD601: term_exit (qemu-char.c:700)
      ==3648==    by 0x5B636EC: exit (in /lib/libc-2.9.so)
      ==3648==    by 0x5B4B5AC: (below main) (in /lib/libc-2.9.so)
      
      This simple fix check for a valid pointer as host_alarm_handler is
      also called after alarm_timer is released in the exit path.
      Signed-off-by: NJean-Christophe DUBOIS <jcd@tribudubois.net>
      e332340a
  2. 15 5月, 2009 1 次提交
  3. 14 5月, 2009 2 次提交
  4. 10 5月, 2009 1 次提交
  5. 08 5月, 2009 1 次提交
    • J
      Drop CONFIG_GDBSTUB · 322f9d01
      Jan Kiszka 提交于
      This is no user-flippable switch, and no arch makes use of disabling
      gdbstub support. So it's pointless to keep the related #ifdefs and
      configure hunks around - and risking breakages like 711c410fdd again.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      322f9d01
  6. 01 5月, 2009 4 次提交
  7. 30 4月, 2009 1 次提交
  8. 25 4月, 2009 12 次提交
  9. 22 4月, 2009 7 次提交
  10. 19 4月, 2009 1 次提交
  11. 18 4月, 2009 2 次提交
  12. 17 4月, 2009 1 次提交
  13. 12 4月, 2009 1 次提交
  14. 11 4月, 2009 1 次提交
  15. 08 4月, 2009 2 次提交
  16. 06 4月, 2009 1 次提交