
Am 30.01.2013 13:49, schrieb Eduardo Habkost:
On Wed, Jan 30, 2013 at 11:58:56AM +0100, Andreas Färber wrote:
* CPU class_init for -cpu host requires KVM init (imammedo) [suggestion by ehabkost to use kvm_arch_vcpu_init, WIP by afaerber]
I don't know what you mean by "use kvm_arch_vcpu_init()".
Sorry, scratch the _vcpu. I.e., the x86-specific KVM init hook.
I sent a RFC following somebody's suggestion of simply make kvm_arch_init() call a function to finish the -cpu host initialization, as we can't initialize everything inside class_init.
See x86_cpu_finish_host_class_init() at: Message-Id: <1357329382-20944-7-git-send-email-ehabkost@redhat.com> http://article.gmane.org/gmane.comp.emulators.qemu/186778
...and I have been working on making it even simpler for the still-x86_def_t-based approach. I'm still busy looking at 1.4 issues currently though. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg