Commit c607b1f7 authored by Tsachy Shacham's avatar Tsachy Shacham Committed by René Nussbaumer
Browse files

hv_kvm: bugfix


Signed-off-by: default avatarTsachy Shacham <tsachy@google.com>
Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 97c60815
......@@ -1380,6 +1380,7 @@ class KVMHypervisor(hv_base.BaseHypervisor):
# Note: CPU pinning is using up_hvp since changes take effect
# during instance startup anyway, and to avoid problems when soft
# rebooting the instance.
cpu_pinning = False
if up_hvp.get(constants.HV_CPU_MASK, None):
cpu_pinning = True
if not startup_paused:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment