diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-08-19 10:48:39 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-08-19 10:48:46 +0200 |
commit | 41776e40082b06c79c3c069559d6ab6664394113 (patch) | |
tree | f7e8543ac6b7d0a7ba73f2bbe715ef9984783378 /include/linux/kvm_host.h | |
parent | 1026392d10af7b35361c7ec4e14569d88c0c33e4 (diff) | |
parent | 3531df81dca2f42accbc11821c5fa28e4104efd5 (diff) |
Merge branch 'topic/seq-filter-cleanup' into for-next
Pull ALSA sequencer cleanup.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 79a6b1a63027..b23c6d48392f 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -715,6 +715,13 @@ static inline bool kvm_arch_has_private_mem(struct kvm *kvm) } #endif +#ifndef kvm_arch_has_readonly_mem +static inline bool kvm_arch_has_readonly_mem(struct kvm *kvm) +{ + return IS_ENABLED(CONFIG_HAVE_KVM_READONLY_MEM); +} +#endif + struct kvm_memslots { u64 generation; atomic_long_t last_used_slot; |