Print this page
2594 implement graceful shutdown for local zones in zoneadm

@@ -18,10 +18,11 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
  */
 
 #ifndef _SYS_ZONE_H
 #define _SYS_ZONE_H
 

@@ -229,11 +230,11 @@
  * Valid commands which may be issued by zoneadm to zoneadmd.  The kernel also
  * communicates with zoneadmd, but only uses Z_REBOOT and Z_HALT.
  */
 typedef enum zone_cmd {
         Z_READY, Z_BOOT, Z_FORCEBOOT, Z_REBOOT, Z_HALT, Z_NOTE_UNINSTALLING,
-        Z_MOUNT, Z_FORCEMOUNT, Z_UNMOUNT
+        Z_MOUNT, Z_FORCEMOUNT, Z_UNMOUNT, Z_SHUTDOWN
 } zone_cmd_t;
 
 /*
  * The structure of a request to zoneadmd.
  */