ソースを参照

KVM: PPC: Book3S: Move little endian conflict to HV KVM

With the previous patches applied, we can now successfully use PR KVM on
little endian hosts which means we can now allow users to select it.

However, HV KVM still needs some work, so let's keep the kconfig conflict
on that one.

Signed-off-by: Alexander Graf <agraf@suse.de>
Alexander Graf 11 年 前
コミット
f24bc1ed45
1 ファイル変更1 行追加1 行削除
  1. 1 1
      arch/powerpc/kvm/Kconfig

+ 1 - 1
arch/powerpc/kvm/Kconfig

@@ -6,7 +6,6 @@ source "virt/kvm/Kconfig"
 
 
 menuconfig VIRTUALIZATION
 menuconfig VIRTUALIZATION
 	bool "Virtualization"
 	bool "Virtualization"
-	depends on !CPU_LITTLE_ENDIAN
 	---help---
 	---help---
 	  Say Y here to get to see options for using your Linux host to run
 	  Say Y here to get to see options for using your Linux host to run
 	  other operating systems inside virtual machines (guests).
 	  other operating systems inside virtual machines (guests).
@@ -76,6 +75,7 @@ config KVM_BOOK3S_64
 config KVM_BOOK3S_64_HV
 config KVM_BOOK3S_64_HV
 	tristate "KVM support for POWER7 and PPC970 using hypervisor mode in host"
 	tristate "KVM support for POWER7 and PPC970 using hypervisor mode in host"
 	depends on KVM_BOOK3S_64
 	depends on KVM_BOOK3S_64
+	depends on !CPU_LITTLE_ENDIAN
 	select KVM_BOOK3S_HV_POSSIBLE
 	select KVM_BOOK3S_HV_POSSIBLE
 	select MMU_NOTIFIER
 	select MMU_NOTIFIER
 	select CMA
 	select CMA