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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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