HV: Remove snoopy_mem from iommu

Removed the remaining reference of acrn vm from
inside of vtd.c.
Removed usage of snoopy_mem, and added code to achieve
the same using iommu_snoop.
Initialize iommu_snoop to true in create deault iommu.

Tracked-On: #2496
Signed-off-by: Arindam Roy <arindam.roy@intel.com>
This commit is contained in:
Arindam Roy
2019-02-11 14:35:20 -08:00
committed by wenlingz
parent 4b53ed677c
commit f660d9cf80
4 changed files with 4 additions and 10 deletions

View File

@@ -156,7 +156,6 @@ 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);
#define MAX_BOOTARGS_SIZE 1024U