Skip to contentSkip to conversation

removing kvm_init()

DISCUSSION Hollis Blanchard 2 participants 2 messages Nov 2, 2007 – Nov 4, 2007 KVM

lore
Share & tools
lore
#0 lore raw

Hi Avi, I'm looking at kvm_init() right now. Since everything is driven by the arch-specific modules (svm.c and vmx.c), I think it would simplify things to fold all of kvm_init() into what is today called kvm_init_x86().

If that's done, kvm_main.c won't have any "modinit" function, but I think that would be OK since the init functionality will be executed as needed by the arch modules.

Does this make sense?

Signature · 9 lines
Hollis Blanchard
IBM Linux Technology Center


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
#1 lore raw
Quoted 11 lines · Hollis Blanchard

Hi Avi, I'm looking at kvm_init() right now. Since everything is driven by the arch-specific modules (svm.c and vmx.c), I think it would simplify things to fold all of kvm_init() into what is today called kvm_init_x86().

If that's done, kvm_main.c won't have any "modinit" function, but I think that would be OK since the init functionality will be executed as needed by the arch modules.

Does this make sense?

Yes, I think it simplifies things.

Signature · 8 lines
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/