mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-04 21:29:43 +00:00
dm: gvt: Convert print output to acrn-dm logger
Unifies the logs to pr_* interfaces instead of printf for better log management. Tracked-On: #5267 Signed-off-by: Sun Peng <peng.p.sun@intel.com> Reviewed-by: Chi Mingqiang <mingqiang.chi@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
parent
2a81061aae
commit
6a3816c289
@ -23,9 +23,9 @@ static int pci_gvt_debug;
|
||||
|
||||
static struct pci_vdev *gvt_dev;
|
||||
|
||||
#define DPRINTF(params) do { if (pci_gvt_debug) printf params; } while (0)
|
||||
#define DPRINTF(params) do { if (pci_gvt_debug) pr_dbg params; } while (0)
|
||||
|
||||
#define WPRINTF(params) (printf params)
|
||||
#define WPRINTF(params) (pr_err params)
|
||||
|
||||
struct PCIHostDeviceAddress {
|
||||
uint32_t domain;
|
||||
|
Loading…
Reference in New Issue
Block a user