From c4171ad58f61f72f5f6c6c8e711a7bcc19d20f75 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 4 Sep 2012 15:34:35 +0100 Subject: shutdown: Add 'check_for_errors' hint along the shutdown path. This hint tells the backend whether anyone cares about errors when the appliance is shut down. Currently this only has any effect on the libvirt backend, where it controls whether or not we use the VIR_DOMAIN_DESTROY_GRACEFUL flag. --- src/launch-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/launch-unix.c') diff --git a/src/launch-unix.c b/src/launch-unix.c index b971cac7..ab0e9d07 100644 --- a/src/launch-unix.c +++ b/src/launch-unix.c @@ -103,7 +103,7 @@ launch_unix (guestfs_h *g, const char *sockpath) } static int -shutdown_unix (guestfs_h *g) +shutdown_unix (guestfs_h *g, int check_for_errors) { /* Merely closing g->sock is sufficient and that is already done * in the calling code. -- cgit