• Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
    Richard W.M. Jones authored
     
    Browse Dir »
  • 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: Jean-Christophe DUBOIS <jcd@tribudubois.net>
    Jean-Christophe Dubois authored
     
    Browse Code »
  • 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: Jean-Christophe DUBOIS <jcd@tribudubois.net>
    Jean-Christophe Dubois authored
     
    Browse Code »
  • initrd must be kept on the memory area below 4g. By not doing this,
    we're seeing guests break while using -initrd and values of -mem
    superior to 4096.
    
    Signed-off-by: Glauber Costa <glommer@redhat.com>
    Glauber Costa authored
     
    Browse Code »
  • The migration code is non-blocking, designed for live migration.
    
    Practically migrate_fd_put_buffer busy-loops trying to write, as
    on many machines EWOULDBLOCK==EAGAIN (look in include/asm-generic/errno.h).
    
    Signed-off-by: Uri Lublin <uril@redhat.com>
    Uri Lublin authored
     
    Browse Code »
  • KVM_GET_SUPPORTED_CPUID has been known to fail to return -E2BIG
    when it runs out of entries. Detect this by always trying again
    with a bigger table if the ioctl() fills the table.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Mark McLoughlin authored
     
    Browse Code »
  • This text is no longer accurate. After the patch is applied, the
    generated version at http://www.nongnu.org/qemu/qemu-doc.html should be
    regenerated.
    
    This patch is also a candidate for the stable branch. (The URL above is
    probably generated from the stable branch anyways, so maybe it goes
    without saying.)
    
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    Hollis Blanchard authored
     
    Browse Code »
  • Signed-off-by: malc <av1474@comtv.ru>
    malc authored
     
    Browse Code »





  • Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Edgar E. Iglesias authored
     
    Browse Dir »
  • ARMv7 defines a new behavior for ARM data processing instructions
    compared to earlier architecture revisions; when the destination
    register is R15, a Branch and Exchange operation is executed rather
    than a simple Branch to the target address. This patch corrects the
    behavior of the emulation for the aforementioned operations. To be
    applied after applying the previous patch in this patch set.
    
    Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Juha Riihimäki authored
     
    Browse Code »
  • Modernize parts of target-arm/translate.c in preparation for the
    modifications in the subsequent patch in this patch set. This is done
    in order to avoid writing new code to target-arm/translate.c that
    would use deprecated methods and/or variables.
    
    Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Juha Riihimäki authored
     
    Browse Code »