1. 29 8月, 2014 1 次提交
  2. 28 7月, 2014 1 次提交
  3. 13 3月, 2014 1 次提交
    • G
      kvm: x86: ignore ioapic polarity · 100943c5
      Gabriel L. Somlo 提交于
      Both QEMU and KVM have already accumulated a significant number of
      optimizations based on the hard-coded assumption that ioapic polarity
      will always use the ActiveHigh convention, where the logical and
      physical states of level-triggered irq lines always match (i.e.,
      active(asserted) == high == 1, inactive == low == 0). QEMU guests
      are expected to follow directions given via ACPI and configure the
      ioapic with polarity 0 (ActiveHigh). However, even when misbehaving
      guests (e.g. OS X <= 10.9) set the ioapic polarity to 1 (ActiveLow),
      QEMU will still use the ActiveHigh signaling convention when
      interfacing with KVM.
      
      This patch modifies KVM to completely ignore ioapic polarity as set by
      the guest OS, enabling misbehaving guests to work alongside those which
      comply with the ActiveHigh polarity specified by QEMU's ACPI tables.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NGabriel L. Somlo <somlo@cmu.edu>
      [Move documentation to KVM_IRQ_LINE, add ia64. - Paolo]
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      100943c5
  4. 13 12月, 2013 1 次提交
  5. 17 10月, 2013 1 次提交
  6. 18 7月, 2013 1 次提交
  7. 30 4月, 2013 1 次提交
  8. 28 4月, 2013 1 次提交
  9. 18 4月, 2013 1 次提交
  10. 05 3月, 2013 4 次提交
  11. 14 12月, 2012 2 次提交
  12. 28 11月, 2012 1 次提交
  13. 19 11月, 2012 1 次提交
  14. 27 10月, 2012 1 次提交
  15. 06 9月, 2012 1 次提交
  16. 26 7月, 2012 1 次提交
  17. 09 5月, 2012 1 次提交
  18. 20 4月, 2012 2 次提交
  19. 08 4月, 2012 1 次提交
  20. 08 3月, 2012 2 次提交
  21. 05 3月, 2012 2 次提交
  22. 27 12月, 2011 3 次提交
  23. 21 10月, 2011 1 次提交
    • J
      iommu/core: Convert iommu_found to iommu_present · a1b60c1c
      Joerg Roedel 提交于
      With per-bus iommu_ops the iommu_found function needs to
      work on a bus_type too. This patch adds a bus_type parameter
      to that function and converts all call-places.
      The function is also renamed to iommu_present because the
      function now checks if an iommu is present for a given bus
      and does not check for a global iommu anymore.
      Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
      a1b60c1c
  24. 18 3月, 2011 1 次提交
    • X
      KVM: Add "exiting guest mode" state · 6b7e2d09
      Xiao Guangrong 提交于
      Currently we keep track of only two states: guest mode and host
      mode.  This patch adds an "exiting guest mode" state that tells
      us that an IPI will happen soon, so unless we need to wait for the
      IPI, we can avoid it completely.
      
      Also
      1: No need atomically to read/write ->mode in vcpu's thread
      
      2: reorganize struct kvm_vcpu to make ->mode and ->requests
         in the same cache line explicitly
      Signed-off-by: NXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      6b7e2d09
  25. 12 1月, 2011 2 次提交
  26. 01 8月, 2010 4 次提交
  27. 17 6月, 2010 1 次提交