• Make bdrv_iterate more useful by passing the BlockDriverState to the
    iterator instead of the device name.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6703 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »
  • Make sure that we always delete temporary disk images on error, remove
    obsolete malloc error checks and return proper error codes.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6702 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »
  • Currently, the intermediate input buffer of mux'ed character devices
    records data across all sub-devices. This has the side effect that we
    easily leak data recorded over one sub-devices to another once we switch
    the focus. Avoid data loss and confusion by defining exclusive buffers.
    
    Note: In contrast to the original author's claim, the buffering concept
    still breaks down when the fifo of the currently active sub-device is
    full. As we cannot accept futher data from this point on without risking
    to loose it, we will also miss escape sequences, just like without all
    that buffering. In short: There is no reliable escape sequence handling
    without infinite buffers or the risk of loosing some data.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6701 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »
  • Recent changes to the graphical console initialization broke the initial
    CHR_EVENT_RESET distribution. The reset BHs generated on char device
    initialization are now already consumed during machine init (ide init
    ... -> qemu_aio_wait -> qemu_bh_poll). Therefore, this patch moves the
    initial qemu_chr_reset calls into a separate funtion which is called
    after machine init.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6700 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »
  • Cpuid should return into vec, not overwrite past address in count.
    Changeset 6565 broke this.
    
    Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6689 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »
  • SLES10 SP2 installer complains when probing a scsi disk and exits qemu
    when failing to read one of the registers.
    
    lsi_scsi: error: readb 0x15
    
    
    -- 
    Ryan Harper
    Software Engineer; Linux Technology Center
    IBM Corp., Austin, Tx
    ryanh@us.ibm.com
    
    
    
    diffstat output:
     lsi53c895a.c |    2 ++
     1 files changed, 2 insertions(+)
    
    Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
    ---
    Subject: [PATCH] lsi: add ISTAT1 register read
    From: Ryan Harper <ryanh@us.ibm.com>
    Cc: kvm@vger.kernel.org
    
    SLES10 SP2 installer complains when probing a scsi disk and exits qemu when
    failing to read one of the registers.
    
    lsi_scsi: error: readb 0x15
    
    Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6688 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »





  • Fixes qemu-arm|grep cpu - with _exit() getting output from qemu --help
    is a bit random. Since no atexit() handlers are registered for user mode
    emulation, just use exit() instead.
    
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6657 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
     
    Browse Code »
  • A real 970 CPU starts up with HIOR=0xfff00000 and triggers a reset
    exception, basically ending up at IP 0xfff001000.
    
    Later on this HIOR has to be set to 0 by the firmware in order to
    enable the OS to handle interrupts on its own.
    
    This patch maps HIOR to exec_prefix, which does the same thing
    internally in qemu already.
    
    It replaces the previous patch that changed the 970 initialization
    constants, as this is the clean solution to the same problem.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6656 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
     
    Browse Code »
  • Practically speaking, "report" causes a lot of issues when encountering a host
    ENOSPC error.  Switch to "enospc" as the default werror semantics.  All host
    errors other than ENOSPC will be reported to the guest.  ENOSPC will cause the
    VM to stop.  Asynchronous notifications are needed to inform management tools
    that some action should be taken but stopping the VM is at least better than
    undefined behavior in the guest.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6655 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse File »
  • When the CPU is in little endian mode, it should load values from RAM
    in byte swapped manner. This check is in all the ld and st functions,
    but misspelled in gen_qemu_ld32s.
    
    This patch fixes the misspelling and makes ppc64 Linux happier.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6654 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
     
    Browse Code »