]> git.proxmox.com Git - mirror_qemu.git/commitdiff
intel_iommu: fix error param in string
authorPeter Xu <peterx@redhat.com>
Fri, 8 Dec 2017 04:26:54 +0000 (12:26 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Dec 2017 23:42:03 +0000 (01:42 +0200)
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>
hw/i386/intel_iommu.c

index c1fa08d205a730040856e1e464215440eb2775eb..fe15d3ba8445283bd388fb70c33a1b22d2acd241 100644 (file)
@@ -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);
     }