aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-06-07 12:06:39 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-07 12:06:39 -0400
commitb31455e96f0005bd247d70b59428a90413de0c31 (patch)
tree5a32195b0f4e9a010b54efc1777ef41dacedd55e /include
parentMerge branch 'kvm-5.19-early-fixes' into HEAD (diff)
parentKVM: Do not pin pages tracked by gfn=>pfn caches (diff)
downloadlinux-dev-b31455e96f0005bd247d70b59428a90413de0c31.tar.xz
linux-dev-b31455e96f0005bd247d70b59428a90413de0c31.zip
Merge branch 'kvm-5.20-early-patches' into HEAD
Diffstat (limited to 'include')
-rw-r--r--include/linux/kvm_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kvm_types.h b/include/linux/kvm_types.h
index ac1ebb37a0ff..f328a01db4fe 100644
--- a/include/linux/kvm_types.h
+++ b/include/linux/kvm_types.h
@@ -19,6 +19,7 @@ struct kvm_memslots;
enum kvm_mr_change;
#include <linux/bits.h>
+#include <linux/mutex.h>
#include <linux/types.h>
#include <linux/spinlock_types.h>
@@ -69,6 +70,7 @@ struct gfn_to_pfn_cache {
struct kvm_vcpu *vcpu;
struct list_head list;
rwlock_t lock;
+ struct mutex refresh_lock;
void *khva;
kvm_pfn_t pfn;
enum pfn_cache_usage usage;