Add SSE4.2 to q35 QEMU runner CPU features (#873)

## Description

The Instruction Set Extension, specifically SSE4.2, is standard and used
by Windows. This adds it to the default QEMU configuration for Q35.

- [X] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?

## How This Was Tested

Tested local Windows boot.

## Integration Instructions

N/A
This commit is contained in:
Chris Fernald 2024-03-06 16:53:20 -08:00 коммит произвёл GitHub
Родитель be530dac7a
Коммит dd10c5536a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -120,7 +120,7 @@ class QemuRunner(uefi_helper_plugin.IUefiHelperPlugin):
logging.log(logging.INFO, "CPU model: " + cpu_model)
#args += " -cpu qemu64,+rdrand,umip,+smep,+popcnt" # most compatible x64 CPU model + RDRAND + UMIP + SMEP +POPCNT support (not included by default)
cpu_arg = " -cpu " + cpu_model + ",rdrand=on,umip=on,smep=on,pdpe1gb=on,popcnt=on"
cpu_arg = " -cpu " + cpu_model + ",rdrand=on,umip=on,smep=on,pdpe1gb=on,popcnt=on,+sse4.2"
args += cpu_arg
if env.GetBuildValue ("QEMU_CORE_NUM") is not None: