dm: add log for debuging pci while vm reset

Print some log to dmesg when init/deinit vdev.

Tracked-On: #2419
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
Yin Fengwei
2019-01-15 14:33:07 +08:00
committed by wenlingz
parent 68a2aa5086
commit 928dfefc62
3 changed files with 13 additions and 3 deletions

View File

@@ -409,6 +409,7 @@ vm_get_suspend_mode(void)
int
vm_suspend(struct vmctx *ctx, enum vm_suspend_how how)
{
write_kmsg("vm_suspend mode to: %d\n", how);
vm_set_suspend_mode(how);
mevent_notify();