mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-09 04:39:34 +00:00
DM: make removing vGSI capability option as local
Current option of removing vGSI capability is global, which exposes vIOAPIC link for all ptdev even only one need this. This patch makes it as ptdev local option to lower the system level impact. To keep vGSI for MSI capable ptdev, just explicitly append ",keep_gsi" in option list, like "-s 14,passthru,0/e/0,keep_gsi" Signed-off-by: Edwin Zhai <edwin.zhai@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -48,6 +48,5 @@ int vmexit_task_switch(struct vmctx *ctx, struct vhm_request *vhm_req,
|
||||
void *paddr_guest2host(struct vmctx *ctx, uintptr_t addr, size_t len);
|
||||
void *dm_gpa2hva(uint64_t gpa, size_t size);
|
||||
int virtio_uses_msix(void);
|
||||
void ptdev_prefer_msi(bool enable);
|
||||
void ptdev_no_reset(bool enable);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user