aboutsummaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorEvgeny Yakovlev <eyakovlev@virtuozzo.com>2017-11-22 21:14:16 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2017-12-21 09:22:44 +0100
commitda1cc323b8aee60d4816ce7521177b14ec3008b4 (patch)
tree641adae380c2a2cc82bd846cb39c9bd279b9d176 /stubs
parentaff9e6e46a343e1404498be4edd03db1112f0950 (diff)
downloadqemu-da1cc323b8aee60d4816ce7521177b14ec3008b4.zip
qemu-da1cc323b8aee60d4816ce7521177b14ec3008b4.tar.gz
qemu-da1cc323b8aee60d4816ce7521177b14ec3008b4.tar.bz2
hyperv: set partition-wide MSRs only on first vcpu
Hyper-V has a notion of partition-wide MSRs. Those MSRs are read and written as usual on each VCPU, however the hypervisor maintains a single global value for all VCPUs. Thus writing such an MSR from any single VCPU affects the global value that is read by all other VCPUs. This leads to an issue during VCPU hotplug: the zero-initialzied values of those MSRs get synced into KVM and override the global values as has already been set by the guest. This change makes the partition-wide MSRs only be synchronized on the first vcpu. Signed-off-by: Evgeny Yakovlev <eyakovlev@virtuozzo.com> Signed-off-by: Roman Kagan <rkagan@virtuozzo.com> Message-Id: <20171122181418.14180-2-rkagan@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'stubs')
0 files changed, 0 insertions, 0 deletions