1. 06 8月, 2014 3 次提交
  2. 29 7月, 2014 2 次提交
  3. 28 7月, 2014 1 次提交
    • P
      Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-07-26' into staging · f45c56e0
      Peter Maydell 提交于
      trivial patches for 2014-07-26
      
      # gpg: Signature made Sat 26 Jul 2014 08:16:55 BST using RSA key ID A4C3D7DB
      # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@corpit.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@debian.org>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
      #      Subkey fingerprint: 6F67 E18E 7C91 C5B1 5514  66A7 BEE5 9D74 A4C3 D7DB
      
      * remotes/mjt/tags/trivial-patches-2014-07-26:
        qemu-options: fix another allows-to for -net l2tpv3
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f45c56e0
  4. 26 7月, 2014 1 次提交
  5. 25 7月, 2014 5 次提交
  6. 24 7月, 2014 7 次提交
  7. 23 7月, 2014 4 次提交
  8. 22 7月, 2014 9 次提交
    • P
      Merge remote-tracking branch 'remotes/agraf/tags/signed-ppc-for-upstream' into staging · 3a18d449
      Peter Maydell 提交于
      Patch queue for ppc - 2014-07-22
      
      Only a single bug fix to make -mem-path only affect RAM regions.
      
      # gpg: Signature made Tue 22 Jul 2014 16:38:04 BST using RSA key ID 03FEDC60
      # gpg: Can't check signature: public key not found
      
      * remotes/agraf/tags/signed-ppc-for-upstream:
        ppc: fix -mem-path failure
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3a18d449
    • H
      ppc: fix -mem-path failure · e206ad48
      Hu Tao 提交于
      commit e938ba0c tried to enable -mem-path for ppc but breaked some ppc
      boards.
      
      The problems are:
      
      1. it fails when allocating memory for rom, sram whose sizes are less
         than huge page size:
      
         ./ppc-softmmu/qemu-system-ppc  -m 512 -mem-path /hugepages/ \
         -kernel /home/hutao/Downloads/vmlinux-ppc -initrd \
         /home/hutao/Downloads/initrd-ppc.gz
         qemu-system-ppc: /mnt/data/projects/qemu/exec.c:1184: qemu_ram_set_idstr: Assertion `new_block' failed.
      
      2. if there is a numa node backed by memory backend object, qemu fails
         with message:
      
         ./ppc-softmmu/qemu-system-ppc  -m 512 \
         -object memory-backend-file,size=512M,mem-path=/hugepages,id=f0 \
         -numa node,nodeid=0,memdev=f0 \
         -kernel /home/hutao/Downloads/vmlinux-ppc \
         -initrd /home/hutao/Downloads/initrd-ppc.gz
         qemu-system-ppc: memory backend f0 is used multiple times. Each -numa option must use a different memdev value.
      
      This patch does following:
      
      1. replaces memory_region_allocate_system_memory() with
         memory_region_init_ram() for rom, sram. Then only system memory
         is backed by hugepages when specifying mem-path.
      
      2. for memory banks, allocates all ram with
         one memory_region_allocate_system_memory(), and use
         memory_region_init_alias() to initialize memory banks.
      
      Tested machines: default(g3beige), mac99, taihu, bamboo, ref405ep.
      Signed-off-by: NHu Tao <hutao@cn.fujitsu.com>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      e206ad48
    • P
      Merge remote-tracking branch 'remotes/amit-virtio-rng/for-2.1' into staging · b64c670f
      Peter Maydell 提交于
      * remotes/amit-virtio-rng/for-2.1:
        virtio-rng: Add human-readable error message for negative max-bytes parameter
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b64c670f
    • J
      virtio-rng: Add human-readable error message for negative max-bytes parameter · 713e8a10
      John Snow 提交于
      If a negative integer is used for the max_bytes parameter, QEMU currently
      calls abort() and leaves behind a core dump. This patch replaces the
      abort with a simple error message to make the reason for the termination
      clearer. This also ensures device-hotplug with invalid input doesn't
      cause qemu to quit.
      
      There is an underlying insufficiency in the parameter parsing code of QEMU
      that renders it unable to reject negative values for unsigned properties,
      thus the error message "a non-negative integer below 2^63" is the most
      user-friendly and correct message we can give until the underlying
      insufficiency is corrected.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAmit Shah <amit.shah@redhat.com>
      713e8a10
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · 25af8e6b
      Peter Maydell 提交于
      One of the two pending migration fix, and a small KVM patch.
      
      # gpg: Signature made Tue 22 Jul 2014 11:49:30 BST using RSA key ID 9B4D86F2
      # gpg: Can't check signature: public key not found
      
      * remotes/bonzini/tags/for-upstream:
        kvm-all: Use 'tmpcpu' instead of 'cpu' in sub-looping to avoid 'cpu' be NULL
        exec: fix migration with devices that use address_space_rw
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      25af8e6b
    • C
      kvm-all: Use 'tmpcpu' instead of 'cpu' in sub-looping to avoid 'cpu' be NULL · dc54e252
      Chen Gang 提交于
      If kvm_arch_remove_sw_breakpoint() in CPU_FOREACH() always be fail, it
      will let 'cpu' NULL. And the next kvm_arch_remove_sw_breakpoint() in
      QTAILQ_FOREACH_SAFE() will get NULL parameter for 'cpu'.
      
      And kvm_arch_remove_sw_breakpoint() can assumes 'cpu' must never be NULL,
      so need define additional temporary variable for 'cpu' to avoid the case.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NChen Gang <gang.chen.5i5j@gmail.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      dc54e252
    • P
      exec: fix migration with devices that use address_space_rw · 6886867e
      Paolo Bonzini 提交于
      Devices that use address_space_rw to write large areas to memory
      (as opposed to address_space_map/unmap) were broken with respect
      to migration since fe680d0d (exec: Limit translation limiting in
      address_space_translate to xen, 2014-05-07).  Such devices include
      IDE CD-ROMs.
      
      The reason is that invalidate_and_set_dirty (called by address_space_rw
      but not address_space_map/unmap) was only setting the dirty bit for
      the first page in the translation.
      
      To fix this, introduce cpu_physical_memory_set_dirty_range_nocode that
      is the same as cpu_physical_memory_set_dirty_range except it does not
      muck with the DIRTY_MEMORY_CODE bitmap.  This function can be used if
      the caller invalidates translations with tb_invalidate_phys_page_range.
      
      There is another difference between cpu_physical_memory_set_dirty_range
      and cpu_physical_memory_set_dirty_flag; the former includes a call
      to xen_modified_memory.  This is handled separately in
      invalidate_and_set_dirty, and is not needed in other callers of
      cpu_physical_memory_set_dirty_range_nocode, so leave it alone.
      
      Just one nit: now that invalidate_and_set_dirty takes care of handling
      multiple pages, there is no need for address_space_unmap to wrap it
      in a loop.  In fact that loop would now be O(n^2).
      Reported-by: NDave Gilbert <dgilbert@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Tested-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      6886867e
    • P
      Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-2.1' into staging · 35858955
      Peter Maydell 提交于
      QOM and device refactorings
      
      * Machine: Property name fixups for 2.1 ABI
      
      # gpg: Signature made Mon 21 Jul 2014 18:00:23 BST using RSA key ID 3E7E013F
      # gpg: Good signature from "Andreas Färber <afaerber@suse.de>"
      # gpg:                 aka "Andreas Färber <afaerber@suse.com>"
      
      * remotes/afaerber/tags/qom-devices-for-2.1:
        machine: Replace underscores in machine's property names
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      35858955
    • M
      machine: Replace underscores in machine's property names · b0ddb8bf
      Marcel Apfelbaum 提交于
      Replaced '_' with '-' to comply with QOM guidelines.
      Made the conversion from command line to QMP in vl.c.
      Signed-off-by: NMarcel Apfelbaum <marcel.a@redhat.com>
      Acked-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      b0ddb8bf
  9. 18 7月, 2014 8 次提交