]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
target-i386: Move kvm_check_features_against_host() check to realize time
authorIgor Mammedov <imammedo@redhat.com>
Fri, 11 Jan 2013 02:10:17 +0000 (03:10 +0100)
committerAndreas Färber <afaerber@suse.de>
Tue, 15 Jan 2013 03:09:15 +0000 (04:09 +0100)
commit5ec01c2e96910e1588d1a0de8609b9dda7618c7f
treed9391c53241e652db9645be16e9caa7c9f79bc3a
parentfa2db3c494270c1892365eef370d06a4559619e0
target-i386: Move kvm_check_features_against_host() check to realize time

kvm_check_features_against_host() should be called when features can't
be changed, and when features are converted to properties it would be
possible to change them until realize time, so correct way is to call
kvm_check_features_against_host() in x86_cpu_realize().

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