Re: [PATCH] Implementations of virDomainIsUpdated for drivers except qemu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ä 2010å11æ25æ 02:33, Eric Blake åé:
On 11/24/2010 12:43 AM, Osier Yang wrote:
Except LXC and UML driver, implementations of all other drivers
return 0 simpley, because these drivers doesn't have config both

s/return 0 simpley/simply return 0/


in memory and on disk, no need to track if the domain of these
drivers updated or not.

Rename "xenUnifiedDomainisPersistent" to "xenUnifiedDomainIsPersistent"

Makes sense.

+++ b/src/phyp/phyp_driver.c
@@ -1277,6 +1277,11 @@ phypIsSecure(virConnectPtr conn ATTRIBUTE_UNUSED)
      return 1;
  }

+static int
+phypIsSecure(virConnectPtr conn ATTRIBUTE_UNUSED)

Too much copy-and-paste from the function above;
s/Secure(virConnect/Updated(virDomain/

ah, urgh.
+++ b/src/uml/uml_driver.c
@@ -1213,8 +1213,6 @@ cleanup:
          virDomainObjUnlock(obj);
      return ret;
  }
-
-
  static int umlDomainIsPersistent(virDomainPtr dom)

Spurious whitespace change.

thanks for your careful reviewing.
ACK with the nits fixed, so I pushed the adjusted patch.


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]