1. 21 9月, 2012 3 次提交
  2. 20 9月, 2012 16 次提交
  3. 19 9月, 2012 1 次提交
  4. 17 9月, 2012 12 次提交
    • A
      Merge remote-tracking branch 'kiszka/queues/slirp' into staging · 6b80f7db
      Anthony Liguori 提交于
      * kiszka/queues/slirp:
        slirp: Implement TFTP Blocksize option
        slirp: Remove unused return value of tftp_send_next_block
        slirp: Handle more than 65535 blocks in TFTP transfers
        slirp: improve TFTP performance
        slirp: Fix error reported by static code analysis
        slirp: Remove wrong type casts ins debug statements
      6b80f7db
    • A
      Merge remote-tracking branch 'kwolf/for-anthony' into staging · 109820df
      Anthony Liguori 提交于
      * kwolf/for-anthony:
        block: Don't forget to delete temporary file
        Don't require encryption password for 'qemu-img info' command
        qemu-img: Add json output option to the info command.
        qapi: Add SnapshotInfo and ImageInfo.
        ahci: properly reset PxCMD on HBA reset
        block: fix block tray status
        vdi: Fix warning from clang
        block/curl: Fix wrong free statement
        ide: Fix error messages from static code analysis (no real error)
        ATAPI: STARTSTOPUNIT only eject/load media if powercondition is 0
        sheepdog: fix savevm and loadvm
      109820df
    • A
      Merge remote-tracking branch 'stefanha/trivial-patches' into staging · 509e9c46
      Anthony Liguori 提交于
      * stefanha/trivial-patches:
        configure: fix seccomp check
        arch_init.c: add missing '%' symbols before PRIu64 in debug printfs
        kvm: Fix warning from static code analysis
        qapi: Fix enumeration typo error
        console: Clean up bytes per pixel calculation
        Fix copy&paste typos in documentation comments
        linux-user: Remove #if 0'd cpu_get_real_ticks() definition
        ui: Fix spelling in comment (ressource -> resource)
        Spelling fixes in comments and macro names (ressource -> resource)
        Fix spelling (licenced -> licensed) in GPL
        Spelling fixes in comments and documentation
        srp: Don't use QEMU_PACKED for single elements of a structured type
      509e9c46
    • A
      Merge remote-tracking branch 'spice/spice.v60' into staging · cd6dcc71
      Anthony Liguori 提交于
      * spice/spice.v60:
        hw/qxl: support client monitor configuration via device
        qxl: add trace-event for QXL_IO_LOG
        hw/qxl: tracing fixes
        qxl: better cleanup for surface destroy
        qxl: Ignore set_client_capabilities pre/post migrate
        qxl: dont update invalid area
        spice: send updates only for changed screen content
        spice: add screen mirror
        spice: split qemu_spice_create_update
        spice: switch to queue for vga mode updates
      cd6dcc71
    • A
      Merge remote-tracking branch 'stefanha/net' into staging · de71bd6f
      Anthony Liguori 提交于
      * stefanha/net:
        net: EAGAIN handling for net/socket.c TCP
        net: EAGAIN handling for net/socket.c UDP
        net: asynchronous send/receive infrastructure for net/socket.c
        net: broadcast hub packets if at least one port can receive
        net: fix usbnet_receive() packet drops
        net: clean up usbnet_receive()
        net: add -netdev options to man page
        net: do not report queued packets as sent
        net: add receive_disabled logic to iov delivery path
        eepro100: Fix network hang when rx buffers run out
        xen: flush queue when getting an event
        e1000: flush queue whenever can_receive can go from false to true
        net: notify iothread after flushing queue
      de71bd6f
    • A
      Merge remote-tracking branch 'qemu-kvm/uq/master' into staging · 31e165f1
      Anthony Liguori 提交于
      * qemu-kvm/uq/master:
        kvm: Rename irqchip_inject_ioctl to irq_set_ioctl
        kvm: Stop flushing coalesced MMIO on vmexit
        VGA: Flush coalesced MMIO on related MMIO/PIO accesses
        memory: Flush coalesced MMIO on mapping and state changes
        memory: Fold memory_region_update_topology into memory_region_transaction_commit
        memory: Use transaction_begin/commit also for single-step operations
        memory: Flush coalesced MMIO on selected region access
        kvm-all.c: Move init of irqchip_inject_ioctl out of kvm_irqchip_create()
        update-linux-headers.sh: Don't hard code list of architectures
      31e165f1
    • A
      Revert "Add ability to disable build of all targets" · 121afa9e
      Anthony Liguori 提交于
      This reverts commit 66d5499b.
      
      This commit broke --target-list="x86_64-softmmu" and the fix isn't immediatley
      obvious.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      121afa9e
    • D
      cpu_physical_memory_write_rom() needs to do TB invalidates · 0b57e287
      David Gibson 提交于
      cpu_physical_memory_write_rom(), despite the name, can also be used to
      write images into RAM - and will often be used that way if the machine
      uses load_image_targphys() into RAM addresses.
      
      However, cpu_physical_memory_write_rom(), unlike cpu_physical_memory_rw()
      doesn't invalidate any cached TBs which might be affected by the region
      written.
      
      This was breaking reset (under full emu) on the pseries machine - we loaded
      our firmware image into RAM, and while executing it rewrite the code at
      the entry point (correctly causing a TB invalidate/refresh).  When we
      reset the firmware image was reloaded, but the TB from the rewrite was
      still active and caused us to get an illegal instruction trap.
      
      This patch fixes the bug by duplicating the tb invalidate code from
      cpu_physical_memory_rw() in cpu_physical_memory_write_rom().
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      0b57e287
    • D
      qemu-char: BUGFIX, don't call FD_ISSET with negative fd · bbdd2ad0
      David Gibson 提交于
      tcp_chr_connect(), unlike for example udp_chr_update_read_handler() does
      not check if the fd it is using is valid (>= 0) before passing it to
      qemu_set_fd_handler2().  If using e.g. a TCP serial port, which is not
      initially connected, this can result in -1 being passed to FD_ISSET, which
      has undefined behaviour.  On x86 it seems to harmlessly return 0, but on
      PowerPC, it causes a fortify buffer overflow error to be thrown.
      
      This patch fixes this by putting an extra test in tcp_chr_connect(), and
      also adds an assert qemu_set_fd_handler2() to catch other such errors on
      all platforms, rather than just some.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      bbdd2ad0
    • A
      Revert 455aa1e0 and c3767ed0 · 6db0fdce
      Anthony Liguori 提交于
          commit c3767ed0
          qemu-char: (Re-)connect for tcp_chr_write() unconnected writing
      
      Has no hope of working because tcp_chr_connect() does not actually connect.
      
      455aa1e0 just fixes the SEGV with server() but the attempt to connect a client
      socket is still completely broken.
      
      This patch reverts both.
      Reported-by: NRichard W.M. Jones <rjones@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      6db0fdce
    • J
      pc: Drop practically unused BOCHS BIOS debug ports · ed0ec1aa
      Jan Kiszka 提交于
      We have debugcon these days to listen on those ports that receive debug
      messages. Also drop the others that have no effect anymore.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ed0ec1aa
    • L
      add -machine mem-merge=on|off option · 8490fc78
      Luiz Capitulino 提交于
      It allows to disable memory merge support (KSM on Linux), which is
      enabled by default otherwise.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8490fc78
  5. 16 9月, 2012 8 次提交