1. 10 12月, 2013 18 次提交
  2. 09 12月, 2013 3 次提交
  3. 08 12月, 2013 1 次提交
  4. 07 12月, 2013 17 次提交
    • A
      Merge remote-tracking branch 'awilliam/tags/vfio-pci-for-qemu-20131206.0' into staging · d2aa90cd
      Anthony Liguori 提交于
      vfio-pci updates include:
       - Update linux-headers to include KVM-VFIO device support
       - Enable QEMU support for KVM-VFIO device
       - Additional Nvidia x-vga quirk to ACK MSI interrupts
       - Debug options to disable MSI/X KVM acceleration
       - Fix to cleanup MSI-X vectors on shutdown and avoid IRQ route leaks
      
      The KVM-VFIO device support enables KVM to manage how it handles
      coherency instructions in the presence of non-coherent I/O.  Dave
      Airlie had noted that the Nvidia MSI ACK support here may just be
      scratching the surface, but it's better than what we have now and
      it's only enabled via the x-vga option, so I'm willing to add since
      it does enable some users.
      
      # gpg: Signature made Fri 06 Dec 2013 12:28:19 PM PST using RSA key ID 3BB08B22
      # gpg: Can't check signature: public key not found
      
      # By Alex Williamson
      # Via Alex Williamson
      * awilliam/tags/vfio-pci-for-qemu-20131206.0:
        vfio-pci: Release all MSI-X vectors when disabled
        vfio-pci: Add debug config options to disable MSI/X KVM support
        vfio-pci: Fix Nvidia MSI ACK through 0x88000 quirk
        vfio-pci: Make use of new KVM-VFIO device
        linux-headers: Update from v3.13-rc3
      
      Message-id: 20131206204715.16731.12627.stgit@bling.home
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      d2aa90cd
    • A
      Merge remote-tracking branch 'stefanha/block' into staging · 93531372
      Anthony Liguori 提交于
      # By Paolo Bonzini (17) and others
      # Via Stefan Hajnoczi
      * stefanha/block: (48 commits)
        qemu-iotests: filter QEMU monitor \r\n
        aio: make aio_poll(ctx, true) block with no fds
        block: clean up bdrv_drain_all() throttling comments
        qcow2: use start_of_cluster() and offset_into_cluster() everywhere
        qemu-img: decrease progress update interval on convert
        qemu-img: round down request length to an aligned sector
        qemu-img: dynamically adjust iobuffer size during convert
        block/iscsi: set bs->bl.opt_transfer_length
        block: add opt_transfer_length to BlockLimits
        block/iscsi: set bdi->cluster_size
        qemu-img: fix usage instruction for qemu-img convert
        qemu-img: add support for skipping zeroes in input during convert
        qemu-nbd: add doc for option -f
        qemu-iotests: add test for snapshot in qemu-img convert
        qemu-img: add -l for snapshot in convert
        qemu-iotests: add 058 internal snapshot export with qemu-nbd case
        qemu-nbd: support internal snapshot export
        snapshot: distinguish id and name in load_tmp
        qemu-iotests: Split qcow2 only cases in 048
        qemu-iotests: Clean up spaces in usage output
        ...
      
      Message-id: 1386347807-27359-1-git-send-email-stefanha@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      93531372
    • A
      Merge remote-tracking branch 'qemu-kvm/uq/master' into staging · 0c0cb6a2
      Anthony Liguori 提交于
      # By Alex Williamson (1) and others
      # Via Paolo Bonzini
      * qemu-kvm/uq/master:
        target-i386: fix cpuid leaf 0x0d
        qemu: mempath: prefault pages manually (v4)
        kvm: Query KVM for available memory slots
      
      Message-id: 1386345276-9803-1-git-send-email-pbonzini@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      0c0cb6a2
    • A
      Merge remote-tracking branch 'kraxel/tags/pull-seabios-31b8b4e-1' into staging · 3c88da3c
      Anthony Liguori 提交于
      Update seabios to master snapshot (pre-1.7.4).
      Update vgabios, switch from lgplvgabios to seavgabios.
      Update build process to build both 128k and 256k bios versions.
      Use 256k bios for pc-*-2.0+ machine types.
      
      # gpg: Signature made Fri 06 Dec 2013 12:01:24 AM PST using RSA key ID D3E87138
      # gpg: Can't check signature: public key not found
      
      # By Gerd Hoffmann
      # Via Gerd Hoffmann
      * kraxel/tags/pull-seabios-31b8b4e-1:
        pc: switch 2.0 machine types to large seabios binary
        roms: update vgabios binaries
        roms: update seabios binaries
        roms: enable seabios cross builds
        roms: build two seabios binaries
        roms: update seabios submodule to 31b8b4eea9d9ad58a73b22a6060d3ac1c419c26d
        add firmware to machine options
        add pc-{i440fx,q35}-2.0 machine types
      
      Message-id: 1386322527-23148-1-git-send-email-kraxel@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      3c88da3c
    • A
      Merge remote-tracking branch 'otubo/seccomp' into staging · 2a576ee6
      Anthony Liguori 提交于
      # By Paul Moore
      # Via Eduardo Otubo
      * otubo/seccomp:
        seccomp: add kill() to the syscall whitelist
      
      Message-id: 1386075077-3240-1-git-send-email-otubo@linux.vnet.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      2a576ee6
    • A
      Merge remote-tracking branch 'kwolf/tags/for-anthony' into staging · 0a0ee0b9
      Anthony Liguori 提交于
      Block patches for 2.0 (flushing block-next)
      
      # gpg: Signature made Fri 29 Nov 2013 08:43:18 AM PST using RSA key ID C88F2FD6
      # gpg: Can't check signature: public key not found
      
      # By Peter Lieven (17) and others
      # Via Kevin Wolf
      * kwolf/tags/for-anthony: (41 commits)
        qemu-iotests: Add sample image and test for VMDK version 3
        vmdk: Allow read only open of VMDK version 3
        qemu-iotests: Filter out 'qemu-io> ' prompt
        qemu-iotests: Filter qemu-io output in 025
        block: Use BDRV_O_NO_BACKING where appropriate
        qemu-iotests: Test snapshot mode
        block: Enable BDRV_O_SNAPSHOT with driver-specific options
        qemu-iotests: Make test case 030, 040 and 055 deterministic
        qemu-iotest: Add pause_drive and resume_drive methods
        blkdebug: add "remove_break" command
        qemu-iotests: Drop local version of cancel_and_wait from 040
        sheepdog: support user-defined redundancy option
        sheepdog: refactor do_sd_create()
        qdict: Optimise qdict_do_flatten()
        qdict: Fix memory leak in qdict_do_flatten()
        MAINTAINERS: add sheepdog development mailing list
        COW: Extend checking allocated bits to beyond one sector
        COW: Speed up writes
        qapi: Change BlockDirtyInfo to list
        block: per caller dirty bitmap
        ...
      
      Message-id: 1385743555-27888-1-git-send-email-kwolf@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      0a0ee0b9
    • A
      Merge remote-tracking branch 'sstabellini/xen-2013-12-01' into staging · 9ed5dacb
      Anthony Liguori 提交于
      # By Paul Durrant (1) and Wei Liu (1)
      # Via Stefano Stabellini
      * sstabellini/xen-2013-12-01:
        xen-pvdevice: make device-id property compulsory
        xen: fix two errors when debug is enabled
      
      Message-id: alpine.DEB.2.02.1312011829000.3198@kaball.uk.xensource.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      9ed5dacb
    • A
      Merge remote-tracking branch 'rth/auxv-2' into staging · cdac7a71
      Anthony Liguori 提交于
      # By Richard Henderson
      # Via Richard Henderson
      * rth/auxv-2:
        linux-user: Use qemu_getauxval for AT_EXECFD
        util: Use qemu_getauxval in linux qemu_cache_utils_init
        tcg-s390: Use qemu_getauxval in query_facilities
        tcg-arm: Use qemu_getauxval
        tcg-ppc64: Use qemu_getauxval
        osdep: Create qemu_getauxval and qemu_init_auxval
      
      Message-id: 1385757754-10702-1-git-send-email-rth@twiddle.net
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      cdac7a71
    • A
      Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging · a55d121f
      Anthony Liguori 提交于
      # By Erik de Castro Lopo (2) and others
      # Via Riku Voipio
      * riku/linux-user-for-upstream:
        linux-user: pass correct parameter to do_shmctl()
        linux-user: create target_structs header to place ipc_perm and shmid_ds
        flatload: fix non-GOT relocations
        linux-user: Implement handling of 5 POSIX timer syscalls.
        linux-user: Add target struct defs needed for POSIX timer syscalls.
      
      Message-id: cover.1385732338.git.riku.voipio@linaro.org
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      a55d121f
    • A
      Merge remote-tracking branch 'kraxel/tags/pull-usb-1' into staging · e679f052
      Anthony Liguori 提交于
      Improvements for usb3 bulk stream (usb core, xhci).
      Bugfixes for uas emulation.
      Add remote wakeup support for ehci.
      Add suspend support for xhci.
      Misc minor tweaks and fixes.
      
      # gpg: Signature made Thu 28 Nov 2013 11:44:49 PM PST using RSA key ID D3E87138
      # gpg: Can't check signature: public key not found
      
      # By Hans de Goede (11) and others
      # Via Gerd Hoffmann
      * kraxel/tags/pull-usb-1:
        usb: move usb_{hi,lo} helpers to header file.
        usb: add vendor request defines
        trace-events: Clean up after removal of old usb-host code
        Revert "usb-tablet: Don't claim wakeup capability for USB-2 version"
        ehci: implement port wakeup
        xhci: Call usb_device_alloc/free_streams
        usb: Add usb_device_alloc/free_streams
        usb: Add max_streams attribute to endpoint info
        uas: s/ui/iu/
        uas: Fix response iu struct definition
        uas: Bounds check tags when using streams
        uas: Streams are numbered 1-y, rather then 0-x
        uas: Fix / cleanup usb_uas_task error handling
        uas: Only use report iu-s for task_mgmt status reporting
        scsi: Add 2 new sense codes needed by uas
        xhci: add support for suspend/resume
        xhci: Add a few missing checks for disconnected devices
      
      Message-id: 1385712381-30918-1-git-send-email-kraxel@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      e679f052
    • A
      Merge remote-tracking branch 'mjt/trivial-patches' into staging · 783eb67e
      Anthony Liguori 提交于
      # By Stefan Weil (9) and others
      # Via Michael Tokarev
      * mjt/trivial-patches:
        eeprom93xx: fix coding style
        hw/ppc/mac.h: remove unused BIOS_FILENAME definition
        Don't crash on keyboard input with no handler
        libcacard/vcard_emul_nss: Remove unused statement (value stored is never read)
        libcacard/cac: Remove unused statement (value stored is never read)
        virtio-net: fix the indent
        misc: Replace 'struct QEMUTimer' by 'QEMUTimer'
        qobject: Fix compiler warning (missing gnu_printf format attribute)
        acpi-build: Fix compiler warning (missing gnu_printf format attribute)
        .gitignore: Ignore config.status
        gtk: Replace conditional debug messages by trace methods
        console: Replace conditional debug messages by trace methods
        trace: Remove trace.h from hw/usb/hcd-ehci.h (less dependencies)
        trace: Remove trace.h from console.h (less dependencies)
      
      Message-id: 1385408466-13183-1-git-send-email-mjt@msgid.tls.msk.ru
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      783eb67e
    • A
      eeprom93xx: fix coding style · 6fedcaa1
      Antony Pavlov 提交于
      scripts/checkpatch.pl reports about some style problems,
      this commit fixes some of them:
      
      ERROR: space prohibited before open square bracket '['
      +    .fields      = (VMStateField []) {
      
      ERROR: space prohibited after that '!' (ctx:BxW)
      +    if (! eeprom->eecs && eecs) {
               ^
      
      ERROR: space prohibited after that '!' (ctx:WxW)
      +    } else if (eeprom->eecs && ! eecs) {
                                      ^
      
      ERROR: space prohibited after that '!' (ctx:WxW)
      +    } else if (eecs && ! eeprom->eesk && eesk) {
                              ^
      
      ERROR: switch and case should be at the same indent
                           switch (address >> (eeprom->addrbits - 2)) {
      +                        case 0:
      [...]
      +                        case 1:
      [...]
      +                        case 2:
      [...]
      +                        case 3:
      
      ERROR: return is not a function, parentheses are not required
      +    return (eeprom->eedo);
      
      ERROR: switch and case should be at the same indent
           switch (nwords) {
      +        case 16:
      +        case 64:
      [...]
      +        case 128:
      +        case 256:
      [...]
      +        default:
      Signed-off-by: NAntony Pavlov <antonynpavlov@gmail.com>
      Cc: Stefan Weil <sw@weilnetz.de>
      Reviewed-by: NStefan Weil <sw@weilnetz.de>
      Cc: qemu-trivial@nongnu.org
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      6fedcaa1
    • A
      vfio-pci: Release all MSI-X vectors when disabled · 3e40ba0f
      Alex Williamson 提交于
      We were relying on msix_unset_vector_notifiers() to release all the
      vectors when we disable MSI-X, but this only happens when MSI-X is
      still enabled on the device.  Perform further cleanup by releasing
      any remaining vectors listed as in-use after this call.  This caused
      a leak of IRQ routes on hotplug depending on how the guest OS prepared
      the device for removal.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      Cc: qemu-stable@nongnu.org
      3e40ba0f
    • A
      vfio-pci: Add debug config options to disable MSI/X KVM support · b3ebc10c
      Alex Williamson 提交于
      It's sometimes useful to be able to verify interrupts are passing
      through correctly.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      b3ebc10c
    • A
      vfio-pci: Fix Nvidia MSI ACK through 0x88000 quirk · 96eeeba0
      Alex Williamson 提交于
      When MSI is enabled on Nvidia GeForce cards the driver seems to
      acknowledge the interrupt by writing a 0xff byte to the MSI capability
      ID register using the PCI config space mirror at offset 0x88000 from
      BAR0.  Without this, the device will only fire a single interrupt.
      VFIO handles the PCI capability ID/next registers as virtual w/o write
      support, so any write through config space is currently dropped.  Add
      a check for this and allow the write through the BAR window.  The
      registers are read-only anyway.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      96eeeba0
    • A
      vfio-pci: Make use of new KVM-VFIO device · 5b49ab18
      Alex Williamson 提交于
      Add and remove groups from the KVM virtual VFIO device as we make
      use of them.  This allows KVM to optimize for performance and
      correctness based on properties of the group.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      5b49ab18
    • A
      linux-headers: Update from v3.13-rc3 · bf63839f
      Alex Williamson 提交于
      Update to tag v3.13-rc3 (374b105797c3d4f29c685f3be535c35f5689b30e)
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      bf63839f
  5. 06 12月, 2013 1 次提交
    • S
      qemu-iotests: filter QEMU monitor \r\n · ac9524dc
      Stefan Hajnoczi 提交于
      SMTP does not preserve newlines.  This is normally not a problem if the
      email body uses DOS or UNIX newlines consistently.  In 051.out we mix
      UNIX newlines with DOS newlines (since QEMU monitor output uses \r\n).
      
      This patch filters the QEMU monitor output so the golden master file
      uses UNIX newlines exclusively.
      
      The result is that patches touching 051.out will apply cleanly without
      mangling newlines after this commit.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      ac9524dc