blob: 1f712fbf4cf718d84484648786b3105ec015e9ad (
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
30
31
32
33
34
35
36
|
device: 0.789
graphic: 0.772
vnc: 0.706
semantic: 0.601
network: 0.400
performance: 0.364
socket: 0.356
files: 0.347
PID: 0.344
debug: 0.332
permissions: 0.247
boot: 0.201
other: 0.125
KVM: 0.061
hvf: RDTSCP capability not passed to guests
Description of problem:
Steps to 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 information:
This patch apparently resolves the issue according to my tests:
https://lore.kernel.org/qemu-devel/20211101054836.21471-1-dirty@apple.com/
|