]> git.proxmox.com Git - qemu-server.git/commit
cpuflags : remove -rdtscp for Opteron cpu models
authorAlexandre Derumier <aderumier@odiso.com>
Wed, 8 Jul 2015 08:49:06 +0000 (10:49 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 22 Jul 2015 10:38:47 +0000 (12:38 +0200)
commit0dc48c3d5b8e2056f9d089c6b82b836631bde525
treee321ec57e85ada8844e7083eebb7ec19c390f2df
parent7d930a0e7e6b54e8369f30d4552c955d2d019512
cpuflags : remove -rdtscp for Opteron cpu models

rdtscp is not supported by qemu and with enforce it's not starting
warning: host doesn't support requested feature: CPUID.80000001H:EDX.rdtscp [bit 27]

from to qemu wiki
http://wiki.qemu.org/Features/CPUModels#Disabling_features_that_were_always_disabled_on_KVM
"Fact: currently libvirt runs CPU models having rdtscp without the "enforce" flag, and rdtscp is silently disabled
Consequence: libvirt SHOULD use something like "-cpu Opteron_G5,-rdtscp",
especially when it starts using (or emulating) enforce mode
This will require a solution on libvirt side. QEMU will just provide the mechanisms to report CPU model information
and check what the host and QEMU supports, but the decision to disable rdtscp to be able
to run Opteron_G[2345] needs to be taken by libvirt."

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/QemuServer.pm