ptdev: change the ptdev_lock from per-vm to global

this patch is a preparation for changing ptdev remapping entry from
virtual to physical based, it changes the ptdev_lock 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:45:53 +08:00
committed by Jack Ren
parent 9d02932ec4
commit 70d4dbace7
3 changed files with 31 additions and 43 deletions

View File

@@ -174,8 +174,6 @@ struct vm {
struct _vm_virtual_device_node *tail;
} virtual_device_list;
spinlock_t ptdev_lock;
unsigned char GUID[16];
struct secure_world_control sworld_control;