qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH qemu] KVM CAPS DBG
@ 2016-06-01 10:06 Alexey Kardashevskiy
  0 siblings, 0 replies; only message in thread
From: Alexey Kardashevskiy @ 2016-06-01 10:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alexey Kardashevskiy, me

---
 target-ppc/kvm.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c
index df6b45c..896b38b 100644
--- a/target-ppc/kvm.c
+++ b/target-ppc/kvm.c
@@ -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);
-- 
2.5.0.rc3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-01 10:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-01 10:06 [Qemu-devel] [PATCH qemu] KVM CAPS DBG Alexey Kardashevskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).