1. 11 3月, 2015 1 次提交
  2. 10 3月, 2015 2 次提交
  3. 09 3月, 2015 2 次提交
  4. 01 3月, 2015 1 次提交
  5. 27 2月, 2015 1 次提交
  6. 26 2月, 2015 1 次提交
  7. 26 1月, 2015 2 次提交
  8. 20 12月, 2014 3 次提交
  9. 15 12月, 2014 1 次提交
  10. 01 11月, 2014 5 次提交
  11. 31 10月, 2014 1 次提交
  12. 24 10月, 2014 1 次提交
  13. 15 10月, 2014 2 次提交
  14. 23 9月, 2014 2 次提交
  15. 08 9月, 2014 2 次提交
    • A
      PPC: Cuda: Use cuda timer to expose tbfreq to guest · b981289c
      Alexander Graf 提交于
      Mac OS X calibrates a number of frequencies on bootup based on reading
      tb values on bootup and comparing them to via cuda timer values.
      
      The only variable we can really steer well (thanks to KVM) is the cuda
      frequency. So let's use that one to fake Mac OS X into believing the
      bus frequency is tbfreq * 4. That way Mac OS X will automatically
      calculate the correct timebase frequency.
      
      With this patch and the patch set I posted earlier I can successfully
      run Mac OS X 10.2, 10.3 and 10.4 guests with -M mac99 on TCG and KVM.
      Suggested-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      b981289c
    • A
      PPC: mac99: Fix core99 timer frequency · d696760b
      Alexander Graf 提交于
      There is a special timer in the mac99 machine that we recently started
      to emulate. Unfortunately we emulated it in the wrong frequency.
      
      This patch adapts the frequency Mac OS X uses to evaluate results from
      this timer, making calculations it bases off of it work.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      d696760b
  16. 26 8月, 2014 1 次提交
  17. 18 8月, 2014 2 次提交
  18. 15 8月, 2014 1 次提交
  19. 14 8月, 2014 1 次提交
  20. 06 8月, 2014 2 次提交
    • A
      vfio: Don't cache MSIMessage · 9b3af4c0
      Alex Williamson 提交于
      Commit 40509f7f added a test to avoid updating KVM MSI routes when the
      MSIMessage is unchanged and f4d45d47 switched to relying on this
      rather than doing our own comparison.  Our cached msg is effectively
      unused now.  Remove it.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      9b3af4c0
    • A
      vfio: Fix MSI-X vector expansion · c048be5c
      Alex Williamson 提交于
      When new MSI-X vectors are enabled we need to disable MSI-X and
      re-enable it with the correct number of vectors.  That means we need
      to reprogram the eventfd triggers for each vector.  Prior to f4d45d47
      vector->use tracked whether a vector was masked or unmasked and we
      could always pick the KVM path when available for unmasked vectors.
      Now vfio doesn't track mask state itself and vector->use and virq
      remains configured even for masked vectors.  Therefore we need to ask
      the MSI-X code whether a vector is masked in order to select the
      correct signaling path.  As noted in the comment, MSI relies on
      hardware to handle masking.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      Cc: qemu-stable@nongnu.org # QEMU 2.1
      c048be5c
  21. 23 7月, 2014 1 次提交
  22. 15 7月, 2014 1 次提交
  23. 01 7月, 2014 1 次提交
  24. 30 6月, 2014 3 次提交
    • P
      vfio: use correct runstate · ba29776f
      Paolo Bonzini 提交于
      io-error is for block device errors; it should always be preceded
      by a BLOCK_IO_ERROR event.  I think vfio wants to use
      RUN_STATE_INTERNAL_ERROR instead.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      ba29776f
    • A
      vfio: Make BARs native endian · c4070817
      Alexey Kardashevskiy 提交于
      Slow BAR access path is used when VFIO fails to mmap() BAR.
      Since this is just a transport between the guest and a device, there is
      no need to do endianness swapping.
      
      This changes BARs to use native endianness. Since non-ROM BARs were
      doing byte swapping, we need to remove it so does the patch.
      As the result, this eliminates cancelling byte swaps and there is
      no change in behavior for non-ROM BARs.
      
      ROM BARs were declared little endian too but byte swapping was not
      implemented for them so they never actually worked on big endian systems
      as there was no cancelling byte swap. This fixes endiannes for ROM BARs
      by declaring them native endian and only fixing access sizes as it is
      done for non-ROM BARs.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      c4070817
    • A
      vfio-pci: Fix MSI-X masking performance · f4d45d47
      Alex Williamson 提交于
      There are still old guests out there that over-exercise MSI-X masking.
      The current code completely sets-up and tears-down an MSI-X vector on
      the "use" and "release" callbacks.  While this is functional, it can
      slow an old guest to a crawl.  We can easily skip the KVM parts of
      this so that we keep the MSI route and irqfd setup.  We do however
      need to switch VFIO to trigger a different eventfd while masked.
      Actually, we have the option of continuing to use -1 to disable the
      trigger, but by using another EventNotifier we can allow the MSI-X
      core to emulate pending bits and re-fire the vector once unmasked.
      MSI code gets updated as well to use the same setup and teardown
      structures and functions.
      
      Prior to this change, an igbvf assigned to a RHEL5 guest gets about
      20Mbps and 50 transactions/s with netperf (remote or VF->PF).  With
      this change, we get line rate and 3k transactions/s remote or 2Gbps
      and 6k+ transactions/s to the PF.  No significant change is expected
      for newer guests with more well behaved MSI-X support.
      Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
      f4d45d47