1. 21 5月, 2009 2 次提交
    • A
      Convert machine registration to use module init functions · f80f9ec9
      Anthony Liguori 提交于
      This cleans up quite a lot of #ifdefs, extern variables, and other ugliness.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      f80f9ec9
    • A
      Eliminate --disable-gfx-check and make VNC default when SDL not available · f92f8afe
      Anthony Liguori 提交于
       --disable-gfx-check predates VNC server support.  It made sense back then
      because the only thing you could do without SDL was use -nographic mode or
      similar tricks.  Since this is a very advanced mode of operation, gfx-check
      provided a good safety net for casual users.
      
      A casual user is very likely to use VNC to interact with a guest.  In fact, it's
      often frustrating to install QEMU on a server and have to specify
      disable-gfx-check when you only want to use VNC.
      
      This patch eliminates disable-gfx-check and makes SDL behave like every other
      optional dependency.  If SDL is not available, instead of failing ungracefully
      if no special options are specified, we default to -vnc localhost:0,to=99.
      When we do default to VNC, we also print a message to tell the user that we've
      done this include which port we're currently listening on.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      f92f8afe
  2. 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
  3. 15 5月, 2009 1 次提交
  4. 14 5月, 2009 2 次提交
  5. 10 5月, 2009 1 次提交
  6. 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
  7. 01 5月, 2009 4 次提交
  8. 30 4月, 2009 1 次提交
  9. 25 4月, 2009 12 次提交
  10. 22 4月, 2009 7 次提交
  11. 19 4月, 2009 1 次提交
  12. 18 4月, 2009 2 次提交
  13. 17 4月, 2009 1 次提交
  14. 12 4月, 2009 1 次提交
  15. 11 4月, 2009 1 次提交
  16. 08 4月, 2009 1 次提交