Re: [PATCH 12/12] shutdown: Implement internal API for xenapi driver

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

 



On 07/21/2011 02:54 PM, Michal Privoznik wrote:
---
  src/xenapi/xenapi_driver.c |   25 +++++++++++++++++++++++--
  1 files changed, 23 insertions(+), 2 deletions(-)


   */
  static int
-xenapiDomainShutdown (virDomainPtr dom)
+xenapiDomainShutdownFlags(virDomainPtr dom,
+                          unsigned int flags)
  {
+    virCheckFlags(0, -1);
+
      /* vm.clean_shutdown */
      xen_vm vm;

Typically, we list the virCheckFlags() after all the other declarations, but before the first statement.

--
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
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]