mirror of https://github.com/xqemu/xqemu.git
intel_iommu: fix error param in string
It should be caching-mode. It may confuse people when it pops up. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Liu, Yi L <yi.l.liu@intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
bf33cc75ad
commit
4c427a4cf3
|
@ -2327,7 +2327,7 @@ static void vtd_iommu_notify_flag_changed(IOMMUMemoryRegion *iommu,
|
||||||
IntelIOMMUNotifierNode *next_node = NULL;
|
IntelIOMMUNotifierNode *next_node = NULL;
|
||||||
|
|
||||||
if (!s->caching_mode && new & IOMMU_NOTIFIER_MAP) {
|
if (!s->caching_mode && new & IOMMU_NOTIFIER_MAP) {
|
||||||
error_report("We need to set cache_mode=1 for intel-iommu to enable "
|
error_report("We need to set caching-mode=1 for intel-iommu to enable "
|
||||||
"device assignment with IOMMU protection.");
|
"device assignment with IOMMU protection.");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue