[RFC 05/11] KVM: Expose VM/VCPU creation functions

2017-08-25 Thread Florent Revest
Now that KVM is capable of creating internal virtual machines, the rest of the kernel needs an API to access this capability. This patch exposes two functions for VMs and VCPUs creation in kvm_host.h: - kvm_create_internal_vm: ensures that kvm->mm is kept NULL at VM creation -

[RFC 05/11] KVM: Expose VM/VCPU creation functions

2017-08-25 Thread Florent Revest
Now that KVM is capable of creating internal virtual machines, the rest of the kernel needs an API to access this capability. This patch exposes two functions for VMs and VCPUs creation in kvm_host.h: - kvm_create_internal_vm: ensures that kvm->mm is kept NULL at VM creation -