mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-04 18:30:18 +00:00
hv: enable/disable snoop control bit per vm
For security, this patch add one flag per vm and disable snoop control for sos and enable snoop control for uos by default. v2: add one flag in vm, not in iommu domain. v3: add vm null check Tracked-On: #2086 Signed-off-by: Zhipeng Gong <zhipeng.gong@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -160,6 +160,7 @@ struct acrn_vm {
|
||||
spinlock_t softirq_dev_lock;
|
||||
struct list_head softirq_dev_entry_list;
|
||||
uint64_t intr_inject_delay_delta; /* delay of intr injection */
|
||||
bool snoopy_mem;
|
||||
} __aligned(PAGE_SIZE);
|
||||
|
||||
#ifdef CONFIG_PARTITION_MODE
|
||||
|
Reference in New Issue
Block a user