[PATCH] docs: Update POWER9 XIVE support for nested guests

Cédric Le Goater posted 1 patch 3 years, 8 months ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200804131639.407049-1-clg@kaod.org
docs/specs/ppc-spapr-xive.rst | 5 +++++
1 file changed, 5 insertions(+)
[PATCH] docs: Update POWER9 XIVE support for nested guests
Posted by Cédric Le Goater 3 years, 8 months ago
It is not yet supported.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
 docs/specs/ppc-spapr-xive.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/specs/ppc-spapr-xive.rst b/docs/specs/ppc-spapr-xive.rst
index 6159bc6eed62..7199db730b82 100644
--- a/docs/specs/ppc-spapr-xive.rst
+++ b/docs/specs/ppc-spapr-xive.rst
@@ -61,6 +61,11 @@ depend on the XIVE KVM capability of the host. On older kernels
 without XIVE KVM support, QEMU will use the emulated XIVE device as a
 fallback and on newer kernels (>=5.2), the KVM XIVE device.
 
+XIVE native exploitation mode is not supported for KVM nested guests,
+VMs running under a L1 hypervisor (KVM on pSeries). In that case, the
+hypervisor will not advertise the KVM capability and QEMU will use the
+emulated XIVE device, same as for older versions of KVM.
+
 As a final refinement, the user can also switch the use of the KVM
 device with the machine option ``kernel_irqchip``.
 
-- 
2.25.4


Re: [PATCH] docs: Update POWER9 XIVE support for nested guests
Posted by David Gibson 3 years, 8 months ago
On Tue, Aug 04, 2020 at 03:16:39PM +0200, Cédric Le Goater wrote:
> It is not yet supported.
> 
> Signed-off-by: Cédric Le Goater <clg@kaod.org>

Applied to ppc-for-5.2.

> ---
>  docs/specs/ppc-spapr-xive.rst | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/docs/specs/ppc-spapr-xive.rst b/docs/specs/ppc-spapr-xive.rst
> index 6159bc6eed62..7199db730b82 100644
> --- a/docs/specs/ppc-spapr-xive.rst
> +++ b/docs/specs/ppc-spapr-xive.rst
> @@ -61,6 +61,11 @@ depend on the XIVE KVM capability of the host. On older kernels
>  without XIVE KVM support, QEMU will use the emulated XIVE device as a
>  fallback and on newer kernels (>=5.2), the KVM XIVE device.
>  
> +XIVE native exploitation mode is not supported for KVM nested guests,
> +VMs running under a L1 hypervisor (KVM on pSeries). In that case, the
> +hypervisor will not advertise the KVM capability and QEMU will use the
> +emulated XIVE device, same as for older versions of KVM.
> +
>  As a final refinement, the user can also switch the use of the KVM
>  device with the machine option ``kernel_irqchip``.
>  

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson