1. 10 12月, 2013 12 次提交
  2. 07 12月, 2013 5 次提交
    • 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
  3. 06 12月, 2013 1 次提交
  4. 03 12月, 2013 9 次提交
  5. 02 12月, 2013 3 次提交
  6. 28 11月, 2013 3 次提交
  7. 26 11月, 2013 7 次提交