ptdev: change the ptdev_list from per-vm to global

this patch is a preparation for changing ptdev remapping entry from
virtual to physical based, it changes the ptdev_list from per-vm to
global, as entries based on physical mode are global resource.

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
Jason Chen CJ
2018-03-26 03:25:08 +08:00
committed by Jack Ren
parent 95199161e0
commit 9d02932ec4
2 changed files with 13 additions and 11 deletions

View File

@@ -174,8 +174,6 @@ struct vm {
struct _vm_virtual_device_node *tail;
} virtual_device_list;
/* passthrough device link */
struct list_head ptdev_list;
spinlock_t ptdev_lock;
unsigned char GUID[16];