On 2016-09-19 12:10, Claudio Scordino wrote:
> This commit explains that the AMD target under QEMU/KVM is not yet fully
> supported by Jailhouse. It is therefore better to use Intel when running
> under QEMU/KVM.
> 
> See thread discussion at
> https://groups.google.com/forum/#!topic/jailhouse-dev/W3g-70EahXc
> 
> Signed-off-by: Claudio Scordino <clau...@evidence.eu.com>
> ---
>  README.md | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/README.md b/README.md
> index b513774..6c8e677 100644
> --- a/README.md
> +++ b/README.md
> @@ -178,9 +178,10 @@ Demonstration in QEMU/KVM
>  -------------------------
>  
>  The included system configuration qemu-vm.c can be used to run Jailhouse in
> -QEMU/KVM virtual machine on x86 hosts (Intel and AMD are supported). 
> Currently
> -it requires Linux 4.4 or newer on the host side. QEMU version 2.7 or newer is
> -required.
> +QEMU/KVM virtual machine on x86 hosts.  Currently it requires Linux 4.4 or
> +newer on the host side. QEMU version 2.7 or newer is required. Better using 
> an
> +Intel architecture since Jailhouse does not yet fully support AMD under
> +QEMU/KVM.
>  
>  You also need a Linux guest image with a recent kernel (tested with >= 3.9) 
> and
>  the ability to build a module for this kernel. Further steps depend on the 
> type
> 

In fact, we should also split qemu-vm.c into qemu-vm-{intel,amd}.c and
remove the iommu configuration from the latter. Later on, when the AMD
IOMMU emulation is fully merged and functional in QEMU, we can move in
corresponding settings into that file. For now, it would allow using
Jailhouse on an AMD host, provided one doesn't run into the KVM issue
(less likely when there is a 1:1 relationship between virtual and
physical cores).

Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to