From: ddm <hope2hope@163.com>
To: "Li Qiang" <liq3ea@gmail.com>
Cc: Qemu Developers <qemu-devel@nongnu.org>, qemu-discuss@nongnu.org
Subject: Re: [Qemu-devel] How to configure QEMU to support APIC virtualization
Date: Mon, 5 Aug 2019 16:44:24 +0800 (CST) [thread overview]
Message-ID: <161dfd83.d05d.16c60f3776b.Coremail.hope2hope@163.com> (raw)
In-Reply-To: <CAKXe6S+Eu29SrVrGcCO-wrtQqmMa6Q-MXnsFV03ddx1LrXBYKA@mail.gmail.com>
Ok, Finally don't have to tangle it ^.^
Thank you very much!
At 2019-08-05 13:54:36, "Li Qiang" <liq3ea@gmail.com> wrote:
ddm <hope2hope@163.com> 于2019年8月5日周一 下午1:20写道:
Hi,
As i know, KVM is based on passthrough host cpu to implement full-virtualiztion,
if host cpu doesn't support this feature, it's impossible to turn on this feature by KVM.
Wheher there are another ways in QEMU to emulate this feature,such as emulate it based on pure software, not rely on hardware.
IIUC there is no APICv emulate.
Thanks,
Li Qiang
Thanks!
At 2019-08-05 12:42:55, "Li Qiang" <liq3ea@gmail.com> wrote:
ddm <hope2hope@163.com> 于2019年8月5日周一 上午11:55写道:
Hi guys,
I have tried via modprobe kvmintel enable_apicv=Y to adjust KVM parameter, but it doesn't effect, and
cat /sys/module/kvm_intel/parameters/enable_apicv always return "N".
I don't know how to configure KVM or QEMU to support APIC virtualizaion feature?
AFAICT APICv is hardware feature, but I still don't know accurately after which CPU support it.
You may refer the code about 'enable_apicv' related code in kvm to see how to detect this capability.
Thanks,
Li Qiang
My host infos are as follows:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 142
Model name: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Stepping: 10
CPU MHz: 2112.001
BogoMIPS: 4224.00
Virtualization: VT-x
Hypervisor vendor: VMware
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 invpcid rtm rdseed adx smap xsaveopt arat flush_l1d arch_capabilities
Could you tell me how to configure it?
Thanks!
prev parent reply other threads:[~2019-08-05 8:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-05 3:39 [Qemu-devel] How to configure QEMU to support APIC virtualization ddm
2019-08-05 4:42 ` Li Qiang
2019-08-05 5:20 ` ddm
2019-08-05 5:54 ` Li Qiang
2019-08-05 8:44 ` ddm [this message]
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=161dfd83.d05d.16c60f3776b.Coremail.hope2hope@163.com \
--to=hope2hope@163.com \
--cc=liq3ea@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-discuss@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).