Home
last modified time | relevance | path

Searched refs:kvm (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/i915/gvt/
Dkvmgt.c92 struct kvm *kvm; member
736 vgpu->vdev.kvm = data; in intel_vgpu_group_notifier()
838 vgpu->vdev.kvm = NULL; in __intel_vgpu_release()
1637 struct kvm *kvm; in kvmgt_page_track_add() local
1645 kvm = info->kvm; in kvmgt_page_track_add()
1647 idx = srcu_read_lock(&kvm->srcu); in kvmgt_page_track_add()
1648 slot = gfn_to_memslot(kvm, gfn); in kvmgt_page_track_add()
1650 srcu_read_unlock(&kvm->srcu, idx); in kvmgt_page_track_add()
1654 spin_lock(&kvm->mmu_lock); in kvmgt_page_track_add()
1659 kvm_slot_page_track_add_page(kvm, slot, gfn, KVM_PAGE_TRACK_WRITE); in kvmgt_page_track_add()
[all …]
Dgvt.h218 struct kvm *kvm; member
/drivers/s390/crypto/
Dvfio_ap_ops.c123 kvm_s390_gisc_unregister(q->matrix_mdev->kvm, q->saved_isc); in vfio_ap_free_aqic_resources()
207 struct kvm *kvm; in vfio_ap_irq_enable() local
222 kvm = q->matrix_mdev->kvm; in vfio_ap_irq_enable()
223 gisa = kvm->arch.gisa_int.origin; in vfio_ap_irq_enable()
227 aqic_gisa.isc = kvm_s390_gisc_register(kvm, isc); in vfio_ap_irq_enable()
242 kvm_s390_gisc_unregister(kvm, isc); in vfio_ap_irq_enable()
291 if (!vcpu->kvm->arch.crypto.pqap_hook) in handle_pqap()
293 matrix_mdev = container_of(vcpu->kvm->arch.crypto.pqap_hook, in handle_pqap()
353 if (matrix_mdev->kvm) in vfio_ap_mdev_remove()
609 if (matrix_mdev->kvm) in assign_adapter_store()
[all …]
Dvfio_ap_private.h86 struct kvm *kvm; member
/drivers/vfio/pci/
Dvfio_pci_nvlink2.c195 struct kvm *kvm = opaque; in vfio_pci_nvgpu_group_notifier() local
200 if (action == VFIO_GROUP_NOTIFY_SET_KVM && kvm && in vfio_pci_nvgpu_group_notifier()
202 kvm->arch.lpid, MSR_DR | MSR_PR)) in vfio_pci_nvgpu_group_notifier()
/drivers/vfio/
Dvfio.c88 struct kvm *kvm; member
2046 void vfio_group_set_kvm(struct vfio_group *group, struct kvm *kvm) in vfio_group_set_kvm() argument
2048 group->kvm = kvm; in vfio_group_set_kvm()
2050 VFIO_GROUP_NOTIFY_SET_KVM, kvm); in vfio_group_set_kvm()
2081 if (!ret && set_kvm && group->kvm) in vfio_register_group_notifier()
2083 VFIO_GROUP_NOTIFY_SET_KVM, group->kvm); in vfio_register_group_notifier()
/drivers/ptp/
DKconfig116 This driver adds support for using kvm infrastructure as a PTP