]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Move KVM default-vendor hack to instance_init
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 30 Jan 2014 19:48:55 +0000 (17:48 -0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Feb 2014 16:33:55 +0000 (17:33 +0100)
commit7c08db30e6a43f7083a881eb07bfbc878e001e08
treebd9154f69fb0fd94ffe31d18ef83f500be5c92d4
parent82beb53633246d67d4b01a5e802f9edc80332f9d
target-i386: Move KVM default-vendor hack to instance_init

As we will not have a cpu_x86_find_by_name() function anymore,
move the KVM default-vendor hack to instance_init.

Unfortunately we can't move that code to class_init because it depends
on KVM being initialized.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/cpu.c