aboutsummaryrefslogtreecommitdiff
path: root/hw/i386
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2017-12-08 12:26:54 +0800
committerMichael S. Tsirkin <mst@redhat.com>2017-12-22 01:42:03 +0200
commit4c427a4cf3a5ff08d59a88b4dc6a8a1060e1bf9c (patch)
tree81c658ed248e5270abe2fc8fef6e5d4e65f0b90e /hw/i386
parentbf33cc75ad5bf117cb080572a04a79182520c434 (diff)
downloadqemu-4c427a4cf3a5ff08d59a88b4dc6a8a1060e1bf9c.zip
qemu-4c427a4cf3a5ff08d59a88b4dc6a8a1060e1bf9c.tar.gz
qemu-4c427a4cf3a5ff08d59a88b4dc6a8a1060e1bf9c.tar.bz2
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>
Diffstat (limited to 'hw/i386')
-rw-r--r--hw/i386/intel_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c
index c1fa08d..fe15d3b 100644
--- a/hw/i386/intel_iommu.c
+++ b/hw/i386/intel_iommu.c
@@ -2327,7 +2327,7 @@ static void vtd_iommu_notify_flag_changed(IOMMUMemoryRegion *iommu,
IntelIOMMUNotifierNode *next_node = NULL;
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.");
exit(1);
}