projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b951138
)
hv_kvm: initial support for CPU pinning
author
Tsachy Shacham
<tsachy@google.com>
Wed, 24 Aug 2011 08:30:28 +0000
(10:30 +0200)
committer
Michael Hanselmann
<hansmi@google.com>
Thu, 25 Aug 2011 10:50:08 +0000
(12:50 +0200)
Signed-off-by: Tsachy Shacham <tsachy@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/hypervisor/hv_kvm.py
patch
|
blob
|
history
diff --git
a/lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py
index
579e563
..
9407f62
100644
(file)
--- a/
lib/hypervisor/hv_kvm.py
+++ b/
lib/hypervisor/hv_kvm.py
@@
-201,7
+201,8
@@
class KVMHypervisor(hv_base.BaseHypervisor):
constants.HV_KVM_USE_CHROOT: hv_base.NO_CHECK,
constants.HV_MEM_PATH: hv_base.OPT_DIR_CHECK,
constants.HV_REBOOT_BEHAVIOR:
- hv_base.ParamInSet(True, constants.REBOOT_BEHAVIORS)
+ hv_base.ParamInSet(True, constants.REBOOT_BEHAVIORS),
+ constants.HV_CPU_MASK: hv_base.OPT_MULTI_CPU_MASK_CHECK,
}
_MIGRATION_STATUS_RE = re.compile("Migration\s+status:\s+(\w+)",