1. 02 12月, 2015 6 次提交
  2. 01 12月, 2015 6 次提交
    • Y
      s390x/pci: fix up IOMMU size · f0a399db
      Yi Min Zhao 提交于
      Present code uses @size==UINT64_MAX to initialize IOMMU. It infers that it
      can map any 64-bit IOVA whatsoever. But in fact, the largest DMA range for
      each PCI Device on s390x is from ZPCI_SDMA_ADDR to ZPCI_EDMA_ADDR. The largest
      value is returned from hardware, which is to indicate the largest range
      hardware can support. But the real IOMMU size for specific PCI Device is
      obtained once qemu intercepts mpcifc instruction that guest is requesting a
      DMA range for that PCI Device. Therefore, before intercepting mpcifc instruction,
      qemu cannot be aware of the size of IOMMU region that guest will use.
      
      Moreover, iommu replay during device initialization for the whole region in
      4k steps takes a very long time.
      
      In conclusion, this patch intializes IOMMU region for each PCI Device when
      intercept mpcifc instruction which is to register DMA range for the PCI Device.
      And then, destroy IOMMU region when guest wants to deregister IOAT.
      Signed-off-by: NYi Min Zhao <zyimin@linux.vnet.ibm.com>
      Reviewed-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      f0a399db
    • C
      s390x: no deprecation warning while testing · 567c88c3
      Cornelia Huck 提交于
      'make check' tries to start all available machines; the deprecation
      message for the s390-virtio machine is both useless and annoying
      there. Silence it while testing.
      Reported-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Acked-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NMichael S. Tsirkin <mst@redhat.com>
      567c88c3
    • C
      pc-bios/s390-ccw: rebuild image · 07af4c53
      Cornelia Huck 提交于
      Contains:
      - pc-bios/s390-ccw: build for z900
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      07af4c53
    • C
      pc-bios/s390-ccw: build for z900 · 7619562a
      Christian Borntraeger 提交于
      Newer distributions have an architecture level set to z9, z196
      or similar - also as default option for the compiler.
      
      We should build the bios for z900 to allow it to run with
      all 64bit CPUs. This will become more important as soon as
      QEMU/KVM does support CPU models.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Reviewed-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      Reviewed-By: NSascha Silbe <silbe@linux.vnet.ibm.com>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      7619562a
    • P
      Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging · d90eb459
      Peter Maydell 提交于
      Two fixes for virtfs/9p from Paolo.
      
      # gpg: Signature made Mon 30 Nov 2015 14:10:47 GMT using DSA key ID 0101DBC2
      # gpg: Good signature from "Greg Kurz <gkurz@fr.ibm.com>"
      # gpg:                 aka "Greg Kurz <groug@free.fr>"
      # gpg:                 aka "Greg Kurz <gkurz@linux.vnet.ibm.com>"
      # gpg:                 aka "Gregory Kurz (Groug) <groug@free.fr>"
      # gpg:                 aka "Gregory Kurz (Cimai Technology) <gkurz@cimai.com>"
      # gpg:                 aka "Gregory Kurz (Meiosys Technology) <gkurz@meiosys.com>"
      # 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: 2BD4 3B44 535E C0A7 9894  DBA2 02FC 3AEB 0101 DBC2
      
      * remotes/gkurz/tags/for-upstream:
        virtio-9p: use QEMU thread pool
        fsdev-proxy-helper: avoid TOC/TOU race
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d90eb459
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.5-20151130' into staging · a2485925
      Peter Maydell 提交于
      ppc patch queue for qemu-2.5 20151130
      
      target-ppc and related bugfix patches for qemu-2.5
      
      I don't have the facilities to test the Macintosh and BookE related
      patches.  I've sanity checked them (inspection + make check), but I'm
      otherwise relying on the submitters.
      
      # gpg: Signature made Mon 30 Nov 2015 08:42:01 GMT using RSA key ID 20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>"
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>"
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-2.5-20151130:
        target-ppc/fpu_helper: fix FPSCR_FX bit shift operation
        target-ppc: Move the FPSCR bit update macros to cpu.h
        hw/ppc/ppc405_boards: Fix infinite recursion by converting taihu_cpld from old_mmio
        hw/ppc/spapr: Remove duplicated "pseries" alias
        mac_dbdma: always initialize channel field in DBDMA_channel
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a2485925
  3. 30 11月, 2015 11 次提交
  4. 27 11月, 2015 8 次提交
    • P
      Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into staging · 71448751
      Peter Maydell 提交于
      # gpg: Signature made Fri 27 Nov 2015 02:42:02 GMT using RSA key ID 398D6211
      # gpg: Good signature from "Jason Wang (Jason Wang on RedHat) <jasowang@redhat.com>"
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211
      
      * remotes/jasowang/tags/net-pull-request:
        tap-win32: disable broken async write path
        tap-win32: skip unexpected nodes during registry enumeration
        eepro100: Prevent two endless loops
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      71448751
    • A
      tap-win32: disable broken async write path · b73c1849
      Andrew Baumann 提交于
      The code under the TUN_ASYNCHRONOUS_WRITES path makes two incorrect
      assumptions about the behaviour of the WriteFile API for overlapped
      file handles. First, WriteFile does not update the
      lpNumberOfBytesWritten parameter when the write completes
      asynchronously (the number of bytes written is known only when the
      operation completes). Second, the buffer shouldn't be touched (or
      freed) until the operation completes. This led to at least one bug
      where tap_win32_write returned zero bytes written, which in turn
      caused further writes ("receives") to be disabled for that device.
      
      This change disables the asynchronous write path, while keeping most
      of the code around in case someone sees value in resurrecting it. It
      also adds some conditional debug output, similar to the read path.
      Signed-off-by: NAndrew Baumann <Andrew.Baumann@microsoft.com>
      Acked-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      b73c1849
    • A
      tap-win32: skip unexpected nodes during registry enumeration · ee0428e3
      Andrew Baumann 提交于
      In order to find a named tap device, get_device_guid() enumerates children of
      HKLM\SYSTEM\CCS\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}
      (aka NETWORK_CONNECTIONS_KEY). For each child, it then looks for a
      "Connection" subkey, but if this key doesn't exist, it aborts the
      entire search. This was observed to fail on at least one Windows 10
      machine, where there is an additional child of NETWORK_CONNECTIONS_KEY
      (named "Descriptions"). Since registry enumeration doesn't guarantee
      any particular sort order, we should continue to search for matching
      children rather than aborting the search.
      Signed-off-by: NAndrew Baumann <Andrew.Baumann@microsoft.com>
      Reviewed-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      ee0428e3
    • S
      eepro100: Prevent two endless loops · 00837731
      Stefan Weil 提交于
      http://lists.nongnu.org/archive/html/qemu-devel/2015-11/msg04592.html
      shows an example how an endless loop in function action_command can
      be achieved.
      
      During my code review, I noticed a 2nd case which can result in an
      endless loop.
      Reported-by: NQinghao Tang <luodalongde@gmail.com>
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      00837731
    • P
      Update version for v2.5.0-rc2 release · b04fc428
      Peter Maydell 提交于
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b04fc428
    • P
      Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging · 72f75c76
      Peter Maydell 提交于
      vhost, pc: fixes for 2.5
      
      Minor vhost fixes.  HW version tweak for PC.
      Documentation and test updates.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Thu 26 Nov 2015 16:40:25 GMT using RSA key ID D28D5469
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>"
      
      * remotes/mst/tags/for_upstream:
        vhost-user-test: fix migration overlap test
        Fix memory leak on error
        Revert "vhost: send SET_VRING_ENABLE at start/stop"
        tests/vhost-user-bridge: read command line arguments
        tests/vhost-user-bridge: propose GUEST_ANNOUNCE feature
        vhost-user: clarify start and enable
        vhost-user: set link down when the char device is closed
        pc: Don't set hw_version on pc-*-2.5
        osdep: Change default value of qemu_hw_version() to "2.5+"
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      72f75c76
    • M
      vhost-user-test: fix migration overlap test · d08e42a1
      Michael S. Tsirkin 提交于
      During migration, source does GET_BASE, destination does SET_BASE.
      Use that as opposed to fds being configured to detect
      vhost user running on both source and destination.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      d08e42a1
    • P
      Merge remote-tracking branch 'remotes/armbru/tags/pull-monitor-2015-11-26' into staging · a5df3507
      Peter Maydell 提交于
      QMP and QObject patches
      
      # gpg: Signature made Thu 26 Nov 2015 09:07:18 GMT using RSA key ID EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
      
      * remotes/armbru/tags/pull-monitor-2015-11-26:
        qjson: Limit number of tokens in addition to total size
        qjson: surprise, allocating 6 QObjects per token is expensive
        qjson: store tokens in a GQueue
        qjson: Convert to parser to recursive descent
        qjson: replace QString in JSONLexer with GString
        qjson: Inline token_is_escape() and simplify
        qjson: Inline token_is_keyword() and simplify
        qjson: Give each of the six structural chars its own token type
        qjson: Spell out some silent assumptions
        check-qjson: Add test for JSON nesting depth limit
        qjson: Don't crash when input exceeds nesting limit
        qjson: Apply nesting limit more sanely
        monitor: Plug memory leak on QMP error
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a5df3507
  5. 26 11月, 2015 9 次提交