1. 19 9月, 2014 15 次提交
  2. 18 9月, 2014 1 次提交
  3. 17 9月, 2014 8 次提交
  4. 16 9月, 2014 5 次提交
  5. 15 9月, 2014 5 次提交
  6. 12 9月, 2014 6 次提交
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · 2b31cd4e
      Peter Maydell 提交于
      - 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: NPeter Maydell <peter.maydell@linaro.org>
      2b31cd4e
    • L
      exec: file_ram_alloc(): print error when prealloc fails · e4d9df4f
      Luiz Capitulino 提交于
      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: NLuiz Capitulino <lcapitulino@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      e4d9df4f
    • G
      monitor: fix debug print compiling error · 5fb9b5b9
      Gonglei 提交于
      error: 'i' undeclared (first use in this function)
      Signed-off-by: NGonglei <arei.gonglei@huawei.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      5fb9b5b9
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140912' into staging · 4c24f400
      Peter Maydell 提交于
      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: NPeter Maydell <peter.maydell@linaro.org>
      4c24f400
    • H
      qcow2: Add falloc and full preallocation option · 0e4271b7
      Hu Tao 提交于
      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: NHu Tao <hutao@cn.fujitsu.com>
      Reviewed-by: NMax Reitz <mreitz@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      0e4271b7
    • H
      raw-posix: Add falloc and full preallocation option · 06247428
      Hu Tao 提交于
      This patch adds a new option preallocation for raw format, and implements
      falloc and full preallocation.
      Signed-off-by: NHu Tao <hutao@cn.fujitsu.com>
      Reviewed-by: NMax Reitz <mreitz@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      06247428