hv: refine guest.h

- move functions related vmexit from `guest.h` to `vmexit.h`
- move functions related msr from `guest.h` to `msr.h`
- move functions related vm_sw_loader from `guest.h` to `vm.h`
- move function `vmx_vmrun` from `guest.h` to `vcpu.h`
- move MACROs related to vcpu from `guest.h` to `vcpu.h`
- move MACRO `E820_MAX_ENTRIES` from `guest.h` to `e820.h`
- move MACROs related to irq from `guest.h` to `irq.h`
- rename `guest.h` to `guest_memory.h`

Tracked-On: #2503
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Shiqing Gao
2019-02-03 10:18:05 +08:00
committed by Eddie Dong
parent 827d24ccb9
commit b5f4757650
10 changed files with 85 additions and 77 deletions

View File

@@ -6,7 +6,8 @@
#include <vmcs.h>
#include <msr.h>
#include <guest.h>
#include <guest_memory.h>
#include <vm.h>
#include <vcpu.h>
#include <cpu.h>
#include <security.h>