1. 13 1月, 2015 18 次提交
  2. 12 1月, 2015 13 次提交
  3. 11 1月, 2015 4 次提交
    • P
      Merge remote-tracking branch 'remotes/awilliam/tags/vfio-update-20150109.0' into staging · 64ea8038
      Peter Maydell 提交于
      VFIO fixes:
      - Fix 32bit overflow in handling large PCI BARs (Alex Williamson)
      - Fix interrupt shutdown ordering (Alex Williamson)
      
      # gpg: Signature made Fri 09 Jan 2015 16:23:42 GMT using RSA key ID 3BB08B22
      # gpg: Good signature from "Alex Williamson <alex.williamson@redhat.com>"
      # gpg:                 aka "Alex Williamson <alex@shazbot.org>"
      # gpg:                 aka "Alex Williamson <alwillia@redhat.com>"
      # gpg:                 aka "Alex Williamson <alex.l.williamson@gmail.com>"
      
      * remotes/awilliam/tags/vfio-update-20150109.0:
        vfio-pci: Fix interrupt disabling
        vfio-pci: Fix BAR size overflow
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      64ea8038
    • P
      Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging · aaf03019
      Peter Maydell 提交于
      pc: resizeable ROM blocks
      
      This makes ROM blocks resizeable.  This infrastructure is required for other
      functionality we have queued.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Thu 08 Jan 2015 11:19:24 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:
        acpi-build: make ROMs RAM blocks resizeable
        memory: API to allocate resizeable RAM MR
        arch_init: support resizing on incoming migration
        exec: qemu_ram_alloc_resizeable, qemu_ram_resize
        exec: split length -> used_length/max_length
        exec: cpu_physical_memory_set/clear_dirty_range
        memory: add memory_region_set_size
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      aaf03019
    • P
      Merge remote-tracking branch 'remotes/agraf/tags/signed-ppc-for-upstream' into staging · 97052d64
      Peter Maydell 提交于
      Patch queue for ppc - 2015-01-07
      
      New year's release. This time's highlights:
      
        - E500: More RAM support
        - pseries: New SLOF release
        - Migration fixes
        - Simplify USB spawning logic, removes support for explicit usb=off
        - TCG: Simple untansactional TM emulation
      
      # gpg: Signature made Wed 07 Jan 2015 15:19:37 GMT using RSA key ID 03FEDC60
      # gpg: Good signature from "Alexander Graf <agraf@suse.de>"
      # gpg:                 aka "Alexander Graf <alex@csgraf.de>"
      
      * remotes/agraf/tags/signed-ppc-for-upstream: (37 commits)
        hw/ppc/mac_newworld: simplify usb controller creation logic
        hw/ppc/spapr: simplify usb controller creation logic
        hw/ppc/mac_newworld: QOMified mac99 machines
        hw/usb: simplified usb_enabled
        hw/machine: added machine_usb wrapper
        hw/ppc: modified the condition for usb controllers to be created for some ppc machines
        target-ppc: Cast ssize_t to size_t before printing with %zx
        target-ppc: Mark SR() and gen_sync_exception() as !CONFIG_USER_ONLY
        PPC: e500: Fix GPIO controller interrupt number
        target-ppc: Introduce Privileged TM Noops
        target-ppc: Introduce tcheck
        target-ppc: Introduce TM Noops
        target-ppc: Introduce tbegin
        target-ppc: Introduce TEXASRU Bit Fields
        target-ppc: Power8 Supports Transactional Memory
        target-ppc: Introduce tm_enabled Bit to CPU State
        target-ppc: Introduce Feature Flag for Transactional Memory
        target-ppc: Introduce Instruction Type for Transactional Memory
        pseries: Update SLOF firmware image to 20141202
        PPC: Fix crash on spapr_tce_table_finalize()
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      97052d64
    • P
      Merge remote-tracking branch 'remotes/otubo/tags/pull-seccomp-20150105' into staging · e77d927f
      Peter Maydell 提交于
      seccomp branch queue
      
      # gpg: Signature made Mon 05 Jan 2015 17:17:01 GMT using RSA key ID 12F8BD2F
      # gpg: Can't check signature: public key not found
      
      * remotes/otubo/tags/pull-seccomp-20150105:
        seccomp: add mbind() to the syscall whitelist
        seccomp: typo in configure error message
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      e77d927f
  4. 10 1月, 2015 3 次提交
    • P
      Merge remote-tracking branch 'remotes/amit-virtio-rng/tags/rng-for-2.3' into staging · f1c5831c
      Peter Maydell 提交于
      Fixes an init-time check for parameter validity
      
      # gpg: Signature made Mon 05 Jan 2015 08:34:05 GMT using RSA key ID 854083B6
      # gpg: Good signature from "Amit Shah <amit@amitshah.net>"
      # gpg:                 aka "Amit Shah <amit@kernel.org>"
      # gpg:                 aka "Amit Shah <amitshah@gmx.net>"
      
      * remotes/amit-virtio-rng/tags/rng-for-2.3:
        virtio-rng: fix check for period_ms validity
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f1c5831c
    • P
      Merge remote-tracking branch 'remotes/amit/tags/for-2.3' into staging · 11fe6808
      Peter Maydell 提交于
      Migration fix for virtio-serial devices on bi-endian targets by David
      Gibson.
      
      # gpg: Signature made Mon 05 Jan 2015 07:26:07 GMT using RSA key ID 854083B6
      # gpg: Good signature from "Amit Shah <amit@amitshah.net>"
      # gpg:                 aka "Amit Shah <amit@kernel.org>"
      # gpg:                 aka "Amit Shah <amitshah@gmx.net>"
      
      * remotes/amit/tags/for-2.3:
        virtio-serial: Don't keep a persistent copy of config space
        virtio_serial: Don't use vser->config.max_nr_ports internally
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      11fe6808
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · a4ba2008
      Peter Maydell 提交于
      More migration fixes and more record/replay preparations.  Also moves
      the sdhci-pci device id to make space for the rocker device.
      
      # gpg: Signature made Sat 03 Jan 2015 08:22:36 GMT using RSA key ID 78C7AE83
      # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
      # gpg:                 aka "Paolo Bonzini <pbonzini@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: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
      #      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83
      
      * remotes/bonzini/tags/for-upstream:
        pci: move REDHAT_SDHCI device ID to make room for Rocker
        block/iscsi: fix uninitialized variable
        pckbd: set bits 2-3-6-7 of the output port by default
        serial: refine serial_thr_ipending_needed
        gen-icount: check cflags instead of use_icount global
        translate: check cflags instead of use_icount global
        cpu-exec: add a new CF_USE_ICOUNT cflag
        target-ppc: pass DisasContext to SPR generator functions
        atomic: fix position of volatile qualifier
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a4ba2008
  5. 09 1月, 2015 2 次提交
    • A
      vfio-pci: Fix interrupt disabling · b3e27c3a
      Alex Williamson 提交于
      When disabling MSI/X interrupts the disable functions will leave the
      device in INTx mode (when available).  This matches how hardware
      operates, INTx is enabled unless MSI/X is enabled (DisINTx is handled
      separately).  Therefore when we really want to disable all interrupts,
      such as when removing the device, and we start with the device in
      MSI/X mode, we need to pass through INTx on our way to being
      completely quiesced.
      
      In well behaved situations, the guest driver will have shutdown the
      device and it will start vfio_exitfn() in INTx mode, producing the
      desired result.  If hot-unplug causes the guest to crash, we may get
      the device in MSI/X state, which will leave QEMU with a bogus handler
      installed.
      
      Fix this by re-ordering our disable routine so that it should always
      finish in VFIO_INT_NONE state, which is what all callers expect.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      b3e27c3a
    • A
      vfio-pci: Fix BAR size overflow · 29c6e6df
      Alex Williamson 提交于
      We use an unsigned int when working with the PCI BAR size, which can
      obviously overflow if the BAR is 4GB or larger.  This needs to change
      to a fixed length uint64_t.  A similar issue is possible, though even
      more unlikely, when mapping the region above an MSI-X table.  The
      start of the MSI-X vector table must be below 4GB, but the end, and
      therefore the start of the next mapping region, could still land at
      4GB.
      Suggested-by: NNishank Trivedi <nishank.trivedi@netapp.com>
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      Reviewed-by: NDon Slutz <dslutz@verizon.com>
      Tested-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      29c6e6df