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