I think I understand... x86_cpu_change_kvm_default("svm", NULL) causes the default of "off" to be removed for compat levels of 2.1 and older... So what we actually want is either move that line to be applied for all compat levels or remove them and also remove the default of "off". Like below (but I want to test this first):
I think I understand... x86_cpu_ change_ kvm_default( "svm", NULL) causes the default of "off" to be removed for compat levels of 2.1 and older... So what we actually want is either move that line to be applied for all compat levels or remove them and also remove the default of "off". Like below (but I want to test this first):
Index: qemu-2. 5+dfsg/ hw/i386/ pc_piix. c ======= ======= ======= ======= ======= ======= ======= ======= ==== 5+dfsg. orig/hw/ i386/pc_ piix.c 2016-04-21 11:24:12.000000000 +0200 5+dfsg/ hw/i386/ pc_piix. c 2016-04-21 16:03:59.421505982 +0200 2_1(MachineStat e *
=======
--- qemu-2.
+++ qemu-2.
@@ -325,7 +325,6 @@ static void pc_compat_
pc_ compat_ 2_2(machine) ; uuid_encoded = false; change_ kvm_default( "svm", NULL); >enforce_ aligned_ dimm = false;
smbios_
- x86_cpu_
pcms-
}
Index: qemu-2. 5+dfsg/ hw/i386/ pc_q35. c ======= ======= ======= ======= ======= ======= ======= ======= ==== 5+dfsg. orig/hw/ i386/pc_ q35.c 2015-12-12 13:16:02.000000000 +0100 5+dfsg/ hw/i386/ pc_q35. c 2016-04-21 16:04:17.725505700 +0200 2_1(MachineStat e * compat_ 2_2(machine) ; >enforce_ aligned_ dimm = false; uuid_encoded = false; change_ kvm_default( "svm", NULL);
=======
--- qemu-2.
+++ qemu-2.
@@ -309,7 +309,6 @@ static void pc_compat_
pc_
pcms-
smbios_
- x86_cpu_
}
static void pc_compat_ 2_0(MachineStat e *machine) 5+dfsg/ target- i386/cpu. c ======= ======= ======= ======= ======= ======= ======= ======= ==== 5+dfsg. orig/target- i386/cpu. c 2016-04-21 11:24:12.000000000 +0200 5+dfsg/ target- i386/cpu. c 2016-04-21 16:03:31.797506408 +0200
Index: qemu-2.
=======
--- qemu-2.
+++ qemu-2.
@@ -1380,7 +1380,6 @@ static PropValue kvm_default_props[] = {
{ "x2apic", "on" },
{ "acpi", "off" },
{ "monitor", "off" },
- { "svm", "off" },
{ NULL, NULL },
};