@@ -113,6 +113,22 @@ int kvm_arch_init(MachineState *ms, KVMState *s)
cap_spapr_tce_64 = kvm_check_extension(s, KVM_CAP_SPAPR_TCE_64);
cap_spapr_multitce = kvm_check_extension(s, KVM_CAP_SPAPR_MULTITCE);
cap_spapr_vfio = kvm_check_extension(s, KVM_CAP_SPAPR_TCE_VFIO);
+// cap_spapr_multitce = false;
+// cap_spapr_vfio = false;
+// cap_spapr_tce = false;
+// cap_spapr_tce_64 = false;
+#if 0
+ cap_spapr_vfio = false;
+ cap_spapr_multitce = false;
+ cap_spapr_tce = false;
+ cap_spapr_tce_64 = false;
+#endif
+#if 0
+ cap_spapr_vfio = true;
+ cap_spapr_multitce = true;
+ cap_spapr_tce = true;
+ cap_spapr_tce_64 = true;
+#endif
cap_one_reg = kvm_check_extension(s, KVM_CAP_ONE_REG);
cap_hior = kvm_check_extension(s, KVM_CAP_PPC_HIOR);
cap_epr = kvm_check_extension(s, KVM_CAP_PPC_EPR);