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