[PATCH] docs/arm: Add apple HVF host for supported guest CPU type

Zhang Chen posted 1 patch 8 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250401083102.72845-1-zhangckid@gmail.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>
docs/system/arm/virt.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] docs/arm: Add apple HVF host for supported guest CPU type
Posted by Zhang Chen 8 months, 2 weeks ago
In my test, latest QEMU already support Apple HVF for -cpu host and max.

From guest VM lscpu:

Architecture:             aarch64
  CPU op-mode(s):         64-bit
  Byte Order:             Little Endian
CPU(s):                   11
  On-line CPU(s) list:    0-10
Vendor ID:                Apple
  Model name:             -
    Model:                0
    Thread(s) per core:   1
    Core(s) per socket:   11
    Socket(s):            1
    Stepping:             0x0
    BogoMIPS:             48.00
    Flags:                fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asim
                          dfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint

Signed-off-by: Zhang Chen <zhangckid@gmail.com>
---
 docs/system/arm/virt.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/system/arm/virt.rst b/docs/system/arm/virt.rst
index adf446c0a2..6a719b9586 100644
--- a/docs/system/arm/virt.rst
+++ b/docs/system/arm/virt.rst
@@ -70,11 +70,11 @@ Supported guest CPU types:
 - ``cortex-a76`` (64-bit)
 - ``cortex-a710`` (64-bit)
 - ``a64fx`` (64-bit)
-- ``host`` (with KVM only)
+- ``host`` (with KVM and HVF only)
 - ``neoverse-n1`` (64-bit)
 - ``neoverse-v1`` (64-bit)
 - ``neoverse-n2`` (64-bit)
-- ``max`` (same as ``host`` for KVM; best possible emulation with TCG)
+- ``max`` (same as ``host`` for KVM and HVF; best possible emulation with TCG)
 
 Note that the default is ``cortex-a15``, so for an AArch64 guest you must
 specify a CPU type.
-- 
2.49.0
Re: [PATCH] docs/arm: Add apple HVF host for supported guest CPU type
Posted by Alex Bennée 8 months, 2 weeks ago
Zhang Chen <zhangckid@gmail.com> writes:

> In my test, latest QEMU already support Apple HVF for -cpu host and max.
>
> From guest VM lscpu:
>
> Architecture:             aarch64
>   CPU op-mode(s):         64-bit
>   Byte Order:             Little Endian
> CPU(s):                   11
>   On-line CPU(s) list:    0-10
> Vendor ID:                Apple
>   Model name:             -
>     Model:                0
>     Thread(s) per core:   1
>     Core(s) per socket:   11
>     Socket(s):            1
>     Stepping:             0x0
>     BogoMIPS:             48.00
>     Flags:                fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asim
>                           dfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
>
> Signed-off-by: Zhang Chen <zhangckid@gmail.com>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro