[OE-core] [PATCH] qemux86-64: re-enable paravirt guest, bring it in sync with qemux86

Khem Raj raj.khem at gmail.com
Wed Apr 2 04:45:59 UTC 2014


On Tue, Apr 1, 2014 at 3:00 AM, Stefan Stanacar
<stefanx.stanacar at intel.com> wrote:
> Seems wrong that qemux86 has this enabled and qemux86-64 doesn't.
> Also this will allow people to use kvm with -cpu=host.
> Right now, runqemu qemux86-64 kvm uses -cpu=kvm64 because without this
> feature you can't use cpu=host on newer host kernels (>= 3.8).
>
> This basically reverts poky e6149ec6c4c14d3a939022cdc29ac94dced836dd /
> oe-core 64749308fadabb4aa7c39f360c6395827bc5eb3a
> The reason of that commit (which is more than a year old) was that on
> the AB running old kernels (2.6.37) we would see occasional shutdown failures.
> (but if memory serves me right the fix might have been just a coincidence).
>
> I've tested this change with by:
>   - run tests on runqemu qemux86-64 (without kvm) (300 seconds)
>   - run tests on runqemu qemux86-64 kvm (which uses by default cpu=kvm64) - (tests
> took 20 seconds)
>   - run tests on runqemu qemux86-64 kvm with cpu=host - (tests took 18 seconds)
>
> [ YOCTO #5956 ]

thanks for doing it. in quick test it seems to boot in the virtual box
case where I was seeing the same problems.

>
> Signed-off-by: Stefan Stanacar <stefanx.stanacar at intel.com>
> ---
>  meta/recipes-kernel/linux/linux-yocto_3.14.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-kernel/linux/linux-yocto_3.14.bb b/meta/recipes-kernel/linux/linux-yocto_3.14.bb
> index d5202cd..46c4260 100644
> --- a/meta/recipes-kernel/linux/linux-yocto_3.14.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto_3.14.bb
> @@ -33,5 +33,5 @@ COMPATIBLE_MACHINE = "qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
>  KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
>  KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
>  KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
> -KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
> +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
>  KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"
> --
> 1.9.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list