These patches are not simple code movement, and I haven't yet tested them so
I'm just putting them out for comment.

Basically we're expanding the VCPU creation path to add an "arch" layer between
main.c and svm/vmx.c. Since there is one call in each direction (main.c ->
svm/vmx.c, svm/vmx.c -> main.c) we end up with two new architecture functions
in the middle.

5 files changed, 108 insertions(+), 59 deletions(-)
drivers/kvm/kvm.h      |    6 +++
drivers/kvm/kvm_main.c |   59 +++----------------------------
drivers/kvm/svm.c      |    6 +--
drivers/kvm/vmx.c      |    6 +--
drivers/kvm/x86.c      |   90 ++++++++++++++++++++++++++++++++++++++++++++++++

-------------------------------------------------------------------------
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/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to