mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-07 20:00:13 +00:00
dm: code clean up
Following functions have never been used anywhere. Let's remove them. fbsdrun_muxed() fbsdrun_vmexit_on_hlt() fbsdrun_vmexit_on_pause() fbsdrun_disable_x2apic() Remove weird prefix "fbsdrun" from following functions' name. fbsdrun_virtio_msix() --> virtio_uses_msix() fbsdrun_start_thread() --> start_thread() Signed-off-by: Jie Deng <jie.deng@intel.com> Reviewed-by: Hao Li <hao.l.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -47,12 +47,6 @@ int vmexit_task_switch(struct vmctx *ctx, struct vhm_request *vhm_req,
|
||||
int *vcpu);
|
||||
void *paddr_guest2host(struct vmctx *ctx, uintptr_t addr, size_t len);
|
||||
void *dm_gpa2hva(uint64_t gpa, size_t size);
|
||||
|
||||
int fbsdrun_muxed(void);
|
||||
int fbsdrun_vmexit_on_hlt(void);
|
||||
int fbsdrun_vmexit_on_pause(void);
|
||||
int fbsdrun_disable_x2apic(void);
|
||||
int fbsdrun_virtio_msix(void);
|
||||
|
||||
int virtio_uses_msix(void);
|
||||
void ptdev_prefer_msi(bool enable);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user