DM: Add option of no check against ptdev reset

With '--ptdev_no_reset', DM doen not abort but warn when assign PCIe
dev without reset capability.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
Edwin Zhai
2018-05-25 20:38:31 +08:00
committed by lijinxia
parent b19d936356
commit 4b4e1e1c59
3 changed files with 21 additions and 2 deletions

View File

@@ -49,4 +49,5 @@ 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