]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Remove assert(kvm_enabled()) from host_x86_cpu_initfn()
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 10 Jun 2016 11:42:08 +0000 (08:42 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 14 Jun 2016 19:17:09 +0000 (16:17 -0300)
commite435601058e656e6d24e3e87b187e5518f7bf16a
treea4822774be9469a54086860359e3f3eeb3e34311
parentdc15c0517b010a9444a2c05794dae980f2a2cbd9
target-i386: Remove assert(kvm_enabled()) from host_x86_cpu_initfn()

The code will be changed to allow creation of the CPU object and
report kvm_required errors only at realizefn, so we need to make
the instance_init function more flexible.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu.c