From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: qemu-devel@nongnu.org
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>, me <aikbox@gmail.com>
Subject: [Qemu-devel] [PATCH qemu] KVM CAPS DBG
Date: Wed, 1 Jun 2016 20:06:56 +1000 [thread overview]
Message-ID: <1464775616-41192-1-git-send-email-aik@ozlabs.ru> (raw)
---
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
reply other threads:[~2016-06-01 10:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1464775616-41192-1-git-send-email-aik@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=aikbox@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).