HV: cleanup for io request related functions

Changes:
  1. Move io request related functions from hypercall.c to io_request.c
     since they are not hypercalls;
  2. Remove acrn_insert_request_nowait() as it is never used;

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Victor Sun
2018-05-17 16:47:54 +08:00
committed by lijinxia
parent fc2b6fbe86
commit 99189b4e48
5 changed files with 198 additions and 206 deletions

View File

@@ -58,6 +58,9 @@ enum {
struct vhm_request;
int acrn_insert_request_wait(struct vcpu *vcpu, struct vhm_request *req);
int get_req_info(char *str, int str_max);
/*
* VCPU related APIs
*/

View File

@@ -40,9 +40,6 @@
struct vhm_request;
bool is_hypercall_from_ring0(void);
int acrn_insert_request_wait(struct vcpu *vcpu, struct vhm_request *req);
int acrn_insert_request_nowait(struct vcpu *vcpu, struct vhm_request *req);
int get_req_info(char *str, int str_max);
int acrn_vpic_inject_irq(struct vm *vm, int irq, enum irq_mode mode);