]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix typo incomaptible -> incompatible
authorAndrea Bolognani <abologna@redhat.com>
Tue, 30 Jun 2015 08:53:55 +0000 (10:53 +0200)
committerErik Skultety <eskultet@redhat.com>
Tue, 30 Jun 2015 10:26:25 +0000 (12:26 +0200)
src/cpu/cpu_x86.c
src/libvirt-domain-snapshot.c
src/qemu/qemu_driver.c

index 2a147058c6d81de85b33aa70aff7d17f5429eb78..f5f769730e279dc72191660c2cc4f303a50e8ae4 100644 (file)
@@ -1507,14 +1507,14 @@ x86Compute(virCPUDefPtr host,
 static virCPUCompareResult
 x86Compare(virCPUDefPtr host,
            virCPUDefPtr cpu,
-           bool failIncomaptible)
+           bool failIncompatible)
 {
     virCPUCompareResult ret;
     char *message = NULL;
 
     ret = x86Compute(host, cpu, NULL, &message);
 
-    if (failIncomaptible && ret == VIR_CPU_COMPARE_INCOMPATIBLE) {
+    if (failIncompatible && ret == VIR_CPU_COMPARE_INCOMPATIBLE) {
         ret = VIR_CPU_COMPARE_ERROR;
         if (message) {
             virReportError(VIR_ERR_CPU_INCOMPATIBLE, "%s", message);
index 4625e038423f1aaefe3d8538f3c3669cbfe02800..b7c566fecb50c57fc6a7bf84b5516a44370f4e87 100644 (file)
@@ -1048,7 +1048,7 @@ virDomainSnapshotHasMetadata(virDomainSnapshotPtr snapshot,
  * new hypervisor instance rather than reusing the existing hypervisor
  * (since this would terminate all connections to the domain, such as
  * such as VNC or Spice graphics) - this condition arises from active
- * snapshots that are provably ABI incomaptible, as well as from
+ * snapshots that are provably ABI incompatible, as well as from
  * inactive snapshots with a @flags request to start the domain after
  * the revert.
  *
index 2b530c88285572bfbf5ff99b6e9e339ef1300ae5..bdf9b15df95c5b0451fee249f90389adc3e7ab58 100644 (file)
@@ -12948,7 +12948,7 @@ qemuConnectCompareCPU(virConnectPtr conn,
     virQEMUDriverPtr driver = conn->privateData;
     int ret = VIR_CPU_COMPARE_ERROR;
     virCapsPtr caps = NULL;
-    bool failIncomaptible;
+    bool failIncompatible;
 
     virCheckFlags(VIR_CONNECT_COMPARE_CPU_FAIL_INCOMPATIBLE,
                   VIR_CPU_COMPARE_ERROR);
@@ -12956,14 +12956,14 @@ qemuConnectCompareCPU(virConnectPtr conn,
     if (virConnectCompareCPUEnsureACL(conn) < 0)
         goto cleanup;
 
-    failIncomaptible = !!(flags & VIR_CONNECT_COMPARE_CPU_FAIL_INCOMPATIBLE);
+    failIncompatible = !!(flags & VIR_CONNECT_COMPARE_CPU_FAIL_INCOMPATIBLE);
 
     if (!(caps = virQEMUDriverGetCapabilities(driver, false)))
         goto cleanup;
 
     if (!caps->host.cpu ||
         !caps->host.cpu->model) {
-        if (failIncomaptible) {
+        if (failIncompatible) {
             virReportError(VIR_ERR_CPU_INCOMPATIBLE, "%s",
                            _("cannot get host CPU capabilities"));
         } else {
@@ -12971,7 +12971,7 @@ qemuConnectCompareCPU(virConnectPtr conn,
             ret = VIR_CPU_COMPARE_INCOMPATIBLE;
         }
     } else {
-        ret = cpuCompareXML(caps->host.cpu, xmlDesc, failIncomaptible);
+        ret = cpuCompareXML(caps->host.cpu, xmlDesc, failIncompatible);
     }
 
  cleanup: