Re: Which kernel version meet the needs, when run QEMU 5.1 on kunpeng 920 ARM serever?

2020-06-13 Thread Jakob Bohm

On 22/05/2020 22:19, Sid Spry wrote:

On Thu, May 21, 2020, at 2:17 AM, linw...@ruijie.com.cn wrote:

On Wed, 2020-05-20 at 11:10 -0500, Sid Spry wrote:

On Wed, May 20, 2020, at 3:11 AM, linw...@ruijie.com.cn wrote:

How can I figure out which kernel version will meet the needs if I
am
using Qemu 5.x on huawei KunPeng 920 ARM server, which will fully
use
the hardware supported feature on this kind of server?

Is there any basic mathod out there to quickly find out?


What do you mean by features? If you mean CPU virtualization
features, -machine accel=kvm and -cpu host will enable everything
that can be enabled.

Hardware devices need to be explicitly passed in.

If you use a modern distribution's kernel it will have modules for
all qemu devices available by default.


Hardware features which I mean is something like VHE, SMMU, GICv3(may
be GICv4) etc. Are these all enable and can neatly support on the
kernel version 4.14(Centos7 aarch64) and can be utilize by my virtual
machine, should I try the latest version kernel 5.x, is that necessary?


Ok, I leave exhaustive check to you, but based on mailing list postings circa 
2015[0] those features are supported in some 4.x kernels.

If it makes no difference otherwise I highly recommend always choosing the 
higher kernel version especially when tracking new hardware developments. By 
the time hardware is released typically it just works.

Also -- the features listed are integral to KVM's operation. If they weren't 
supported I doubt KIM would function.


[0]: https://lists.cs.columbia.edu/pipermail/kvmarm/2015-July/015619.html


This info (with actual specificity) needs to be in the maintained
qemu docs.

Main README should state minimum kernel versions for each qemu-feature,
from TCG to KVM hardware pass through of specific GPUs.

qemu-system manpage should list extra host requirements for any
option/device/feature that needs more than the minimum.


Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2860 Soborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded




Re: Which kernel version meet the needs, when run QEMU 5.1 on kunpeng 920 ARM serever?

2020-05-20 Thread Sid Spry
On Wed, May 20, 2020, at 3:11 AM, linw...@ruijie.com.cn wrote:
> How can I figure out which kernel version will meet the needs if I am
> using Qemu 5.x on huawei KunPeng 920 ARM server, which will fully use
> the hardware supported feature on this kind of server?
> 
> Is there any basic mathod out there to quickly find out?
>

What do you mean by features? If you mean CPU virtualization features, -machine 
accel=kvm and -cpu host will enable everything that can be enabled.

Hardware devices need to be explicitly passed in.

If you use a modern distribution's kernel it will have modules for all qemu 
devices available by default.



Which kernel version meet the needs, when run QEMU 5.1 on kunpeng 920 ARM serever?

2020-05-20 Thread linwei6
How can I figure out which kernel version will meet the needs if I am
using Qemu 5.x on huawei KunPeng 920 ARM server, which will fully use
the hardware supported feature on this kind of server?

Is there any basic mathod out there to quickly find out?