mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging
* qemu-kvm/uq/master: (28 commits) update-linux-headers.sh: Handle new kernel uapi/ directories target-i386: kvm_cpu_fill_host: use GET_SUPPORTED_CPUID target-i386: cpu: make -cpu host/check/enforce code KVM-specific target-i386: make cpu_x86_fill_host() void Emulate qemu-kvms -no-kvm option Issue warning when deprecated -tdf option is used Issue warning when deprecated drive parameter boot=on|off is used Use global properties to emulate -no-kvm-pit-reinjection Issue warning when deprecated -no-kvm-pit is used Use machine options to emulate -no-kvm-irqchip cirrus_vga: allow configurable vram size target-i386: Add missing kvm cpuid feature name i386: cpu: add missing CPUID[EAX=7,ECX=0] flag names i386: kvm: filter CPUID leaf 7 based on GET_SUPPORTED_CPUID, too i386: kvm: reformat filter_features_for_kvm() code i386: kvm: filter CPUID feature words earlier, on cpu.c i386: kvm: mask cpuid_ext4_features bits earlier i386: kvm: mask cpuid_kvm_features earlier i386: kvm: x2apic is not supported without in-kernel irqchip i386: kvm: set CPUID_EXT_TSC_DEADLINE_TIMER on kvm_arch_get_supported_cpuid() ... Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
commit
43552994c4
9 changed files with 242 additions and 93 deletions
33
vl.c
33
vl.c
|
@ -2574,6 +2574,11 @@ int main(int argc, char **argv, char **envp)
|
|||
case QEMU_OPTION_M:
|
||||
machine = machine_parse(optarg);
|
||||
break;
|
||||
case QEMU_OPTION_no_kvm_irqchip: {
|
||||
olist = qemu_find_opts("machine");
|
||||
qemu_opts_parse(olist, "kernel_irqchip=off", 0);
|
||||
break;
|
||||
}
|
||||
case QEMU_OPTION_cpu:
|
||||
/* hw initialization will check this */
|
||||
cpu_model = optarg;
|
||||
|
@ -3166,6 +3171,30 @@ int main(int argc, char **argv, char **envp)
|
|||
machine = machine_parse(optarg);
|
||||
}
|
||||
break;
|
||||
case QEMU_OPTION_no_kvm:
|
||||
olist = qemu_find_opts("machine");
|
||||
qemu_opts_parse(olist, "accel=tcg", 0);
|
||||
break;
|
||||
case QEMU_OPTION_no_kvm_pit: {
|
||||
fprintf(stderr, "Warning: KVM PIT can no longer be disabled "
|
||||
"separately.\n");
|
||||
break;
|
||||
}
|
||||
case QEMU_OPTION_no_kvm_pit_reinjection: {
|
||||
static GlobalProperty kvm_pit_lost_tick_policy[] = {
|
||||
{
|
||||
.driver = "kvm-pit",
|
||||
.property = "lost_tick_policy",
|
||||
.value = "discard",
|
||||
},
|
||||
{ /* end of list */ }
|
||||
};
|
||||
|
||||
fprintf(stderr, "Warning: option deprecated, use "
|
||||
"lost_tick_policy property of kvm-pit instead.\n");
|
||||
qdev_prop_register_global_list(kvm_pit_lost_tick_policy);
|
||||
break;
|
||||
}
|
||||
case QEMU_OPTION_usb:
|
||||
machine_opts = qemu_opts_find(qemu_find_opts("machine"), 0);
|
||||
if (machine_opts) {
|
||||
|
@ -3255,6 +3284,10 @@ int main(int argc, char **argv, char **envp)
|
|||
case QEMU_OPTION_semihosting:
|
||||
semihosting_enabled = 1;
|
||||
break;
|
||||
case QEMU_OPTION_tdf:
|
||||
fprintf(stderr, "Warning: user space PIT time drift fix "
|
||||
"is no longer supported.\n");
|
||||
break;
|
||||
case QEMU_OPTION_name:
|
||||
qemu_name = g_strdup(optarg);
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue