Skip to content
Snippets Groups Projects
  1. Sep 19, 2014
  2. Sep 18, 2014
  3. Sep 17, 2014
    • Peter Lieven's avatar
      ui/vnc: set TCP_NODELAY · 86152436
      Peter Lieven authored
      
      we currently have the Nagle algorithm enabled for all outgoing VNC updates.
      This may delay sensitive updates as mouse movements or typing in the console.
      As we currently prepare all data in a buffer and then send as much as we can
      disabling the Nagle algorithm should not cause big trouble. Well established
      VNC servers like TightVNC set TCP_NODELAY as well.
      A regular framebuffer update request generates exactly one framebuffer update
      which should be pushed out as fast as possible.
      
      Signed-off-by: default avatarPeter Lieven <pl@kamp.de>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      86152436
  4. Sep 16, 2014
  5. Sep 15, 2014
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging · cc35a44c
      Peter Maydell authored
      
      * remotes/qmp-unstable/queue/qmp:
        exec: file_ram_alloc(): print error when prealloc fails
        monitor: fix debug print compiling error
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      cc35a44c
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · f2bcdc8d
      Peter Maydell authored
      
      Block patches
      
      # gpg: Signature made Fri 12 Sep 2014 16:09:43 BST using RSA key ID C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      
      * remotes/kevin/tags/for-upstream: (22 commits)
        qcow2: Add falloc and full preallocation option
        raw-posix: Add falloc and full preallocation option
        qapi: introduce PreallocMode and new PreallocModes full and falloc.
        block: don't convert file size to sector size
        block: round up file size to nearest sector
        iotests: Send the correct fd in socket_scm_helper
        blockdev: Refuse to drive_del something added with blockdev-add
        block: extend BLOCK_IO_ERROR with reason string
        dataplane: fix virtio_blk_data_plane_create() op blocker error path
        qemu-iotests: Run 025 for Archipelago block driver
        block/archipelago: Implement bdrv_truncate()
        block: Make the block accounting functions operate on BlockAcctStats
        block: rename BlockAcctType members to start with BLOCK_ instead of BDRV_
        block: Extract the block accounting code
        block: Extract the BlockAcctStats structure
        IDE: MMIO IDE device control should be little endian
        thread-pool: Drop unnecessary includes
        xen: Drop redundant bdrv_close() from pci_piix3_xen_ide_unplug()
        xen_disk: Plug memory leak on error path
        qemu-io: Clean up openfile() after commit 2e40134b
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      f2bcdc8d
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-console-20140915-1' into staging · 16ab5046
      Peter Maydell authored
      
      Fix pixman build failure.
      
      # gpg: Signature made Mon 15 Sep 2014 07:15:11 BST using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-console-20140915-1:
        configure: check for pixman-1 version
        pixman: update internal copy to pixman-0.32.6
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      16ab5046
    • Hu Tao's avatar
      configure: check for pixman-1 version · 236f282c
      Hu Tao authored
      
      commit a93a3af9 introduces use of PIXMAN_TYPE_RGBA, but it's only available
      in pixman >= 0.21.8. If pixman doesn't meet the version requirement, qemu
      will fail to build with following message:
      
      qemu/ui/qemu-pixman.c: In function ‘qemu_pixelformat_from_pixman’:
      qemu/ui/qemu-pixman.c:42: error: ‘PIXMAN_TYPE_RGBA’ undeclared (first use in this function)
      qemu/ui/qemu-pixman.c:42: error: (Each undeclared identifier is reported only once
      qemu/ui/qemu-pixman.c:42: error: for each function it appears in.)
      
      This patch fixes the problem by checking the pixman version.
      
      Signed-off-by: default avatarHu Tao <hutao@cn.fujitsu.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      236f282c
    • Hu Tao's avatar
      pixman: update internal copy to pixman-0.32.6 · 122abbe5
      Hu Tao authored
      
      commit a93a3af9 introduces use of PIXMAN_TYPE_RGBA, but it's only available
      in pixman >= 0.21.8. Although commit f27b2e1d bumped pixman to pixman-0.28.2,
      but the change was reverted later by 7b1b5d19.
      
      This patch updates internal copy of pixman to pixman-0.32.6 to fix the
      problem.
      
      Signed-off-by: default avatarHu Tao <hutao@cn.fujitsu.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      122abbe5
  6. Sep 14, 2014
  7. Sep 12, 2014
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · 2b31cd4e
      Peter Maydell authored
      
      - Memory: improve error reporting and avoid crashes on hotplug
      - Build: fixing block/iscsi.so and ranlib warnings on Mac OS X
      - Migration fixes for x86
      - The odd KVM patch.
      
      # gpg: Signature made Thu 11 Sep 2014 11:21:10 BST using RSA key ID 9B4D86F2
      # gpg: Good signature from "Paolo Bonzini <pbonzini@redhat.com>"
      # gpg:                 aka "Paolo Bonzini <bonzini@gnu.org>"
      
      * remotes/bonzini/tags/for-upstream: (21 commits)
        gdbstub: init mon_chr through qemu_chr_alloc
        pckbd: adding new fields to vmstate
        mc146818rtc: add missed field to vmstate
        piix: do not set irq while loading vmstate
        serial: fixing vmstate for save/restore
        parallel: adding vmstate for save/restore
        fdc: adding vmstate for save/restore
        cpu: init vmstate for ticks and clock offset
        apic_common: vapic_paddr synchronization fix
        vl: use QLIST_FOREACH_SAFE to visit change state handlers
        exec: add parameter errp to gethugepagesize
        exec: report error when memory < hpagesize
        hostmem-ram: don't exit qemu if size of memory-backend-ram is way too big
        memory: add parameter errp to memory_region_init_rom_device
        memory: add parameter errp to memory_region_init_ram
        exec: add parameter errp to qemu_ram_alloc and qemu_ram_alloc_from_ptr
        rules.mak: Fix DSO build by pulling in archive symbols
        util: Don't link host-utils.o if it's empty
        util: Move general qemu_getauxval to util/getauxval.c
        trace: Only link generated-tracers.o with "simple" backend
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      2b31cd4e
    • Luiz Capitulino's avatar
      exec: file_ram_alloc(): print error when prealloc fails · e4d9df4f
      Luiz Capitulino authored
      
      If memory allocation fails when using the -mem-prealloc command-line
      option, QEMU exits without printing any error information to
      the user:
      
       # qemu [...] -m 1G -mem-prealloc -mem-path /dev/hugepages
       # echo $?
       1
      
      This commit adds an error message, so that we print instead:
      
       # qemu [...] -m 1G -mem-prealloc -mem-path /dev/hugepages
       qemu: unable to map backing store for hugepages: Cannot allocate memory
      
      Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      e4d9df4f
    • Gonglei (Arei)'s avatar
      monitor: fix debug print compiling error · 5fb9b5b9
      Gonglei (Arei) authored
      
      error: 'i' undeclared (first use in this function)
      
      Signed-off-by: default avatarGonglei <arei.gonglei@huawei.com>
      Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
      5fb9b5b9
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140912' into staging · 4c24f400
      Peter Maydell authored
      
      target-arm:
       * add "linux,stdout-path" to the virt DTB
       * fix a long standing bug with IRQ disabling on Cortex-M CPUs
       * implement input interrupt logic in the PL061
       * fix failure to load correct SP/PC on reset of Cortex-M CPUs
         if the vector table is not in a ROM-blob-in-RAM
       * provide flash devices for boot ROMs in the virt board
       * implement architectural watchpoints
       * fix misimplementation of Inner Shareable TLB operations that
         caused instability of guests in TCG SMP configurations
       * configure PL011 and PL031 in the virt board correctly with
         level-triggered interrupts rather than edge-triggered
       * support providing a device tree blob to ROM (firmware)
         images as well as to kernels
      
      # gpg: Signature made Fri 12 Sep 2014 14:19:08 BST using RSA key ID 14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      
      * remotes/pmaydell/tags/pull-target-arm-20140912: (23 commits)
        hw/arm/boot: enable DTB support when booting ELF images
        hw/arm/boot: load device tree to base of DRAM if no -kernel option was passed
        hw/arm/boot: pass an address limit to and return size from load_dtb()
        hw/arm/boot: load DTB as a ROM image
        hw/arm/virt: fix pl011 and pl031 irq flags
        target-arm: Make *IS TLB maintenance ops affect all CPUs
        target-arm: Push legacy wildcard TLB ops back into v6
        target-arm: Implement minimal DBGVCR, OSDLR_EL1, MDCCSR_EL0
        target-arm: Remove comment about MDSCR_EL1 being dummy implementation
        target-arm: Set DBGDSCR.MOE for debug exceptions taken to AArch32
        target-arm: Implement handling of fired watchpoints
        target-arm: Move extended_addresses_enabled() to internals.h
        target-arm: Implement setting of watchpoints
        cpu-exec: Make debug_excp_handler a QOM CPU method
        exec.c: Record watchpoint fault address and direction
        exec.c: Provide full set of dummy wp remove functions in user-mode
        exec.c: Relax restrictions on watchpoint length and alignment
        hw/arm/virt: Provide flash devices for boot ROMs
        target-arm: Fix broken indentation in arm_cpu_reest()
        target-arm: Fix resetting issues on ARMv7-M CPUs
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      4c24f400
    • Hu Tao's avatar
      qcow2: Add falloc and full preallocation option · 0e4271b7
      Hu Tao authored
      
      preallocation=falloc allocates disk space by posix_fallocate(),
      preallocation=full allocates disk space by writing zeros to disk.
      Both modes imply preallocation=metadata.
      
      Signed-off-by: default avatarHu Tao <hutao@cn.fujitsu.com>
      Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      0e4271b7
Loading