]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Reenable RDTSCP support on Opteron_G[345] CPU models CPU models
authorBorislav Petkov <bp@suse.de>
Thu, 20 Dec 2018 12:07:32 +0000 (10:07 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 14 Jan 2019 14:23:36 +0000 (12:23 -0200)
commit483c6ad426dbab72d912fe4793d7d558671aa727
tree932027487408540e19337e2902b37d99fbd9e518
parenta2b107dbbd342ff2077aa5af705efaf68c375459
target-i386: Reenable RDTSCP support on Opteron_G[345] CPU models CPU models

The missing functionality was added ~3 years ago with the Linux commit

  46896c73c1a4 ("KVM: svm: add support for RDTSCP")

so reenable RDTSCP support on those CPU models.

Opteron_G2 - being family 15, model 6, doesn't have RDTSCP support
(the real hardware doesn't have it. K8 got RDTSCP support with the NPT
models, i.e., models >= 0x40).

Document the host's minimum required kernel version, while at it.

Signed-off-by: Borislav Petkov <bp@suse.de>
Message-ID: <20181212200803.GG6653@zn.tnic>
[ehabkost: moved compat properties code to pc.c]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/pc.c
qemu-doc.texi
target/i386/cpu.c