diff options
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/kvm_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 04bdeddebdac..1da8072d61b1 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -1199,6 +1199,10 @@ int __kvm_set_memory_region(struct kvm *kvm, | |||
1199 | if (old.npages) | 1199 | if (old.npages) |
1200 | kvm_arch_flush_shadow(kvm); | 1200 | kvm_arch_flush_shadow(kvm); |
1201 | } | 1201 | } |
1202 | #else /* not defined CONFIG_S390 */ | ||
1203 | new.user_alloc = user_alloc; | ||
1204 | if (user_alloc) | ||
1205 | new.userspace_addr = mem->userspace_addr; | ||
1202 | #endif /* not defined CONFIG_S390 */ | 1206 | #endif /* not defined CONFIG_S390 */ |
1203 | 1207 | ||
1204 | if (!npages) | 1208 | if (!npages) |