diff options
Diffstat (limited to 'include/linux/kvm_types.h')
| -rw-r--r-- | include/linux/kvm_types.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/linux/kvm_types.h b/include/linux/kvm_types.h index fb46efbeabe..b0bcce0ddc9 100644 --- a/include/linux/kvm_types.h +++ b/include/linux/kvm_types.h @@ -32,11 +32,11 @@ typedef unsigned long gva_t; typedef u64 gpa_t; -typedef unsigned long gfn_t; +typedef u64 gfn_t; typedef unsigned long hva_t; typedef u64 hpa_t; -typedef unsigned long hfn_t; +typedef u64 hfn_t; typedef hfn_t pfn_t; @@ -67,4 +67,12 @@ struct kvm_lapic_irq { u32 dest_id; }; +struct gfn_to_hva_cache { + u64 generation; + gpa_t gpa; + unsigned long hva; + unsigned long len; + struct kvm_memory_slot *memslot; +}; + #endif /* __KVM_TYPES_H__ */ |
