blob: 79134ba530965c2767bf6c82c2c09983215e9591 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
id = 1011
title = "hvf: RDTSCP capability not passed to guests"
state = "closed"
created_at = "2022-05-02T20:34:23.082Z"
closed_at = "2022-07-14T13:25:47.363Z"
labels = ["accel: HVF"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1011"
host-os = "macOS Monterey 12.3.1"
host-arch = "x86_64"
qemu-version = "6.2.0, master"
guest-os = "Alpine 3.15.4"
guest-arch = "x86_64"
description = """"""
reproduce = """1. Run:
wget https://dl-cdn.alpinelinux.org/alpine/v3.15/releases/x86/alpine-standard-3.15.4-x86.iso
./qemu-system-x86_64 -cpu host,+rdtscp -machine q35,accel=hvf -m 512 -cdrom ./alpine-standard-3.15.4-x86.iso
2. login as "root"
3. type
cat /etc/cpuinfo | grep rdtscp
Expected result: cpu flag lines including rdtscp
Actual result: empty, with:
warning: host doesn't support requested feature: CPUID.80000001H:EDX.rdtscp [bit 27]"""
additional = """This patch apparently resolves the issue according to my tests:
https://lore.kernel.org/qemu-devel/20211101054836.21471-1-dirty@apple.com/"""
|