]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
target-i386: kvm: Don't enable MONITOR by default on any CPU model
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 30 Apr 2014 16:48:28 +0000 (13:48 -0300)
committerAndreas Färber <afaerber@suse.de>
Wed, 25 Jun 2014 16:04:15 +0000 (18:04 +0200)
commit136a7e9a85d7047461f8153f7d12c514a3d68f69
treee8fc90b4955c5aebdad2459e4af0d5854ffb113c
parent2b5b7ae917e8db48431631b1c5d909fa46c223a6
target-i386: kvm: Don't enable MONITOR by default on any CPU model

KVM never supported the MONITOR flag so it doesn't make sense to have it
enabled by default when KVM is enabled.

The rationale here is similar to the cases where it makes sense to have
a feature enabled by default on all CPU models when on KVM mode (e.g.
x2apic). In this case we are having a feature disabled by default for
the same reasons.

In this case we don't need machine-type compat code because it is
currently impossible to run a KVM VM with the MONITOR flag set.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386/cpu.c