1. 22 5月, 2009 29 次提交
  2. 21 5月, 2009 7 次提交
  3. 20 5月, 2009 4 次提交
    • M
      kvm: add error message for when SMP is requested · 9f8fd694
      Mark McLoughlin 提交于
      Right now, if you try e.g. '-smp 2' you just get 'failed to
      initialize KVM'.
      Signed-off-by: NMark McLoughlin <markmc@redhat.com>
      9f8fd694
    • R
      Remove initrd warning message · 42fa1c2e
      Richard W.M. Jones 提交于
      Signed-off-by: NRichard W.M. Jones <rjones@redhat.com>
      42fa1c2e
    • 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