1. 06 4月, 2013 3 次提交
  2. 05 4月, 2013 27 次提交
  3. 04 4月, 2013 2 次提交
  4. 02 4月, 2013 8 次提交
    • W
      VMXNET3: initialize rx_ridx to eliminate compile warning · c707582b
      Wenchao Xia 提交于
        Gcc report "hw/vmxnet3.c:972: error: ‘rx_ridx’ may be used
      uninitialized in this function", so fix it.
      Signed-off-by: NWenchao Xia <xiawenc@linux.vnet.ibm.com>
      Message-id: 1364264646-27542-1-git-send-email-xiawenc@linux.vnet.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c707582b
    • A
      qdev: only send deleted event if device was realized · b1ee5829
      Anthony Liguori 提交于
      Reported-by: NKevin Wolf <kwolf@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      Message-id: 1364402174-16580-1-git-send-email-aliguori@us.ibm.com
      b1ee5829
    • A
      vfio: cleanup includes · 6dcfdbad
      Alex Williamson 提交于
      Starting to get messy, put the back in alphabetical order.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      6dcfdbad
    • A
      vfio: Add bootindex support · c29029dd
      Alex Williamson 提交于
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      c29029dd
    • A
      vfio-pci: Move devices to D0 on reset · ba661818
      Alex Williamson 提交于
      Guests may leave devices in a low power state at reboot, but we expect
      devices to be woken up for the next boot.  Make this happen.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      ba661818
    • A
      vfio-pci: Add extra debugging · 82ca8912
      Alex Williamson 提交于
      Often when debugging it's useful to be able to disable bypass paths
      so no interactions with the device are missed.  Add some extra debug
      options to do this.  Also add device info on read/write BAR accesses,
      which is useful when debugging more than one assigned device.  A
      couple DPRINTFs also had redundant "vfio:" prefixes.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      82ca8912
    • A
      qemu vfio-pci: Graphics device quirks · 7076eabc
      Alex Williamson 提交于
      Graphics cards have a number of different backdoors.  Some of these
      are alternative ways to get PCI BAR addresses, some of them are
      complete mirrors of PCI config space available through MMIO and
      I/O port access.  These quirks cover a number of ATI Radeon and
      Nvidia devices.  On the ATI/AMD side, this should enable HD5450
      and HD7850 and hopefully a host of devices around those generations.
      For Nvidia, my card selection is much more dated.  A 8400gs works
      well with both the Window shipped driver and the Nvidia downloaded
      driver.  A 7300le works as well, with the caveat that generating
      the Window experience index with the Nvidia driver causes the card
      to reset several times before generating a BSOD.  An NVS 290 card
      seems to run well with the shipped Windows driver, but generates
      a BSOD with the Nvidia driver.  All of the Nvidia devices work with
      the Linux Nvidia proprietary driver and nouveau, the HD5450 works
      with either radeon or fglrx, HD7850 works with vesa and fglrx (not
      supported by radeon).  Extremely limited 3D testing.
      
      Device reset is also an issue with graphics.  It's unfortunately
      very common that the devices offer no means to reset the card or
      doesn't seem effective.  Nvidia devices are pretty good about being
      able to get the device to a working state through the VGA BIOS init,
      Radeon devices less so, and often require a host reboot.  Work
      remains to be done here.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      7076eabc
    • A
      qemu vfio-pci: Add support for VGA MMIO and I/O port access · f15689c7
      Alex Williamson 提交于
      Most VGA cards need some kind of quirk to fully operate since they
      hide backdoors to get to other registers outside of PCI config space
      within the registers, but this provides the base infrastructure.  If
      we could identity map PCI resources for assigned devices we would need
      a lot fewer quirks.
      
      To enable this, use a kernel side vfio-pci driver that incorporates
      VGA support (v3.9), and use the -vga none option and add the x-vga=on
      option for the vfio-pci device.  The "x-" denotes this as an
      experimental feature.  You may also need to use a cached copy of the
      VGA BIOS for your device, passing it to vfio-pci using the romfile=
      option.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      f15689c7