KVM: Add memory slot versioning and use it to provide fast guest write interface
[linux-2.6.git] / include / linux / kvm_types.h
index 7ac0d4e..fa7cc72 100644 (file)
@@ -67,4 +67,11 @@ struct kvm_lapic_irq {
        u32 dest_id;
 };
 
+struct gfn_to_hva_cache {
+       u64 generation;
+       gpa_t gpa;
+       unsigned long hva;
+       struct kvm_memory_slot *memslot;
+};
+
 #endif /* __KVM_TYPES_H__ */