Wind River Support Network

HomeDefectsLIN10-3616
Fixed

LIN10-3616 : meltdown/spectre: check upstream qemu patches

Created: Mar 26, 2018    Updated: Apr 24, 2019
Resolved Date: Apr 24, 2018
Found In Version: 10.17.41.6
Fix Version: 10.17.41.7
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Userspace

Description

link: 
https://www.qemu.org/2018/02/14/qemu-2-11-1-and-spectre-update/

patches for x86:
[Qemu-devel] [PATCH 1/6] i386: Change X86CPUDefinition::model_id to cons
https://git.qemu.org/?p=qemu.git;a=commit;h=807e9869b8c4119b81df902625af818519e01759
[Qemu-devel] [PATCH 2/6] i386: Add support for SPEC_CTRL MSR
https://git.qemu.org/?p=qemu.git;a=commit;h=a33a2cfe2f771b360b3422f6cdf566a560860bfc
[Qemu-devel] [PATCH 3/6] i386: Add spec-ctrl CPUID bit
https://git.qemu.org/?p=qemu.git;a=commit;h=a2381f0934432ef2cd47a335348ba8839632164c
[Qemu-devel] [PATCH 4/6] i386: Add FEAT_8000_0008_EBX CPUID feature word
https://git.qemu.org/?p=qemu.git;a=commit;h=1b3420e1c4d523c49866cca4e7544753201cd43d
[Qemu-devel] [PATCH 5/6] i386: Add new -IBRS versions of Intel CPU model
https://git.qemu.org/?p=qemu.git;a=commit;h=ac96c41354b7e4c70b756342d9b686e31ab87458
[Qemu-devel] [PATCH 6/6] [RFC] i386: Add EPYC-IBPB CPU model
https://git.qemu.org/?p=qemu.git;a=commit;h=6cfbc54e8903a9bcc0346119949162d040c144c1

Steps to Reproduce

1. Configure and build the host 
 setup.sh --machines intel-x86-64 --distro wrlinux-ovp --dl-layers
 2. bitbake wrlinux-image-ovp-kvm
 3.Configure and build the guest 
setup.sh --  --machine intel-x86-64 --templates feature/kernel-ovp-guest,feature/dpdk --distro wrlinux-ovp --layer wr-dpdk --dl-layers
4. bitbake wrlinux-image-ovp-guest
5. start guest with the following commands
1)qemu-img create myvm.qcow2 -f qcow2 6G
2)qemu-system-x86_64 -m 1024 -vnc 0:1 -cdrom wrlinux-image-glibc-std-intel-x86-64.iso -boot d myvm.qcow2 -enable-kvm -cpu host,+spec-ctrl

Other Downloads


Live chat
Online