1 Author: Iustin Pop <iustin@debian.org>
2 Description: Fix obsolete -disable-kvm usage
3 This is already a bug upstream, but pending proper fixing (per version keying,
4 etc.), let's just use the correct version that will be shipped in Wheezy.
5 Bug: https://code.google.com/p/ganeti/issues/detail?id=250
6 Last-Update: 2012-07-26
7 --- a/lib/hypervisor/hv_kvm.py
8 +++ b/lib/hypervisor/hv_kvm.py
10 if hvp[constants.HV_KVM_FLAG] == constants.HT_KVM_ENABLED:
11 kvm_cmd.extend(["-enable-kvm"])
12 elif hvp[constants.HV_KVM_FLAG] == constants.HT_KVM_DISABLED:
13 - kvm_cmd.extend(["-disable-kvm"])
14 + kvm_cmd.extend(["-no-kvm"])
17 kvm_cmd.extend(["-boot", "n"])