1. 19 10月, 2015 1 次提交
    • P
      kvm: Pass PCI device pointer to MSI routing functions · dc9f06ca
      Pavel Fedin 提交于
      In-kernel ITS emulation on ARM64 will require to supply requester IDs.
      These IDs can now be retrieved from the device pointer using new
      pci_requester_id() function.
      
      This patch adds pci_dev pointer to KVM GSI routing functions and makes
      callers passing it.
      
      x86 architecture does not use requester IDs, but hw/i386/kvm/pci-assign.c
      also made passing PCI device pointer instead of NULL for consistency with
      the rest of the code.
      Signed-off-by: NPavel Fedin <p.fedin@samsung.com>
      Message-Id: <ce081423ba2394a4efc30f30708fca07656bc500.1444916432.git.p.fedin@samsung.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      dc9f06ca
  2. 07 7月, 2015 2 次提交
  3. 23 11月, 2014 1 次提交
  4. 04 10月, 2014 1 次提交
  5. 19 6月, 2014 1 次提交
  6. 20 5月, 2014 1 次提交
  7. 06 5月, 2014 1 次提交
  8. 13 3月, 2014 1 次提交
  9. 05 3月, 2014 2 次提交
    • A
      kvm: Add a new machine option kvm-type · 135a129a
      Aneesh Kumar K.V 提交于
      Targets like ppc64 support different types of KVM, one which use
      hypervisor mode and the other which doesn't. Add a new machine
      option kvm-type that helps in selecting the respective ones
      We also add a new QEMUMachine callback get_vm_type that helps
      in mapping the string representation of kvm type specified.
      Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      [agraf: spelling fixes, use error_report(), use qemumachine.h]
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      135a129a
    • A
      KVM: Split QEMUMachine typedef into separate header · 9c06a1f7
      Alexander Graf 提交于
      Older gcc versions (such as the one in SLES11) get confused when you declare
      a typedef on the same struct twice.
      
      To work around that limitation, let's extract the QEMUMachine typedef into a
      separate header file that is guarded by preprocessor duplicate include checks.
      
      This fixes the following type of compile errors for me:
      
        In file included from vl.c:125:
        include/hw/xen/xen.h:39: error: redefinition of typedef "QEMUMachine"
        include/sysemu/kvm.h:155: error: previous declaration of "QEMUMachine" was here
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      9c06a1f7
  10. 20 9月, 2013 1 次提交
    • A
      kvm irqfd: support direct msimessage to irq translation · 76fe21de
      Alexey Kardashevskiy 提交于
      On PPC64 systems MSI Messages are translated to system IRQ in a PCI
      host bridge. This is already supported for emulated MSI/MSIX but
      not for irqfd where the current QEMU allocates IRQ numbers from
      irqchip and maps MSIMessages to IRQ in the host kernel.
      
      This adds a new direct mapping flag which tells
      the kvm_irqchip_add_msi_route() function that a new VIRQ
      should not be allocated, instead the value from MSIMessage::data
      should be used. It is up to the platform code to make sure that
      this contains a valid IRQ number as sPAPR does in spapr_pci.c.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      76fe21de
  11. 28 8月, 2013 1 次提交
  12. 27 7月, 2013 1 次提交
  13. 23 7月, 2013 1 次提交
  14. 10 7月, 2013 2 次提交
  15. 01 7月, 2013 1 次提交
    • A
      KVM: Export kvm_init_irq_routing · 7b774593
      Alexander Graf 提交于
      On PPC, we can have different types of interrupt controllers, so we really
      only know that we are going to use one when we created it.
      
      Export kvm_init_irq_routing() to common code, so that we don't have to call
      kvm_irqchip_create().
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      7b774593
  16. 28 6月, 2013 3 次提交
  17. 29 5月, 2013 1 次提交
  18. 01 5月, 2013 2 次提交
  19. 16 4月, 2013 2 次提交
  20. 14 4月, 2013 1 次提交
  21. 28 1月, 2013 1 次提交
  22. 15 1月, 2013 1 次提交
  23. 08 1月, 2013 1 次提交
  24. 19 12月, 2012 2 次提交
  25. 17 12月, 2012 1 次提交
  26. 22 10月, 2012 1 次提交
    • A
      memory: manage coalesced mmio via a MemoryListener · 95d2994a
      Avi Kivity 提交于
      Instead of calling a global function on coalesced mmio changes, which
      routes the call to kvm if enabled, add coalesced mmio hooks to
      MemoryListener and make kvm use that instead.
      
      The motivation is support for multiple address spaces (which means we
      we need to filter the call on the right address space) but the result
      is cleaner as well.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      95d2994a
  27. 09 9月, 2012 1 次提交
  28. 09 8月, 2012 5 次提交