From: Li Qiang <liq3ea@gmail.com>
To: ddm <hope2hope@163.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 12:42:55 +0800 [thread overview]
Message-ID: <CAKXe6SKMS__GaxTL4rkTBFpCpRkRS_bHoJx8=6w6WktFr5K9XQ@mail.gmail.com> (raw)
In-Reply-To: <7f455f0d.730d.16c5fdc21af.Coremail.hope2hope@163.com>
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!
>
>
next prev parent reply other threads:[~2019-08-05 4:44 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 [this message]
2019-08-05 5:20 ` ddm
2019-08-05 5:54 ` Li Qiang
2019-08-05 8:44 ` ddm
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='CAKXe6SKMS__GaxTL4rkTBFpCpRkRS_bHoJx8=6w6WktFr5K9XQ@mail.gmail.com' \
--to=liq3ea@gmail.com \
--cc=hope2hope@163.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).