summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4v/sys/platsvc.h
diff options
context:
space:
mode:
authorHaik Aftandilian <Haik.Aftandilian@Sun.COM>2010-04-26 15:44:36 -0700
committerHaik Aftandilian <Haik.Aftandilian@Sun.COM>2010-04-26 15:44:36 -0700
commit02b4e56ca3a4e4a4fe9e52fca9c2972101f0e57f (patch)
tree905c2d98d322d79a1536b10a46d701c7801ea5b6 /usr/src/uts/sun4v/sys/platsvc.h
parent3eb7f67186d33bd2e65b4d12d5c6134da44658df (diff)
downloadillumos-joyent-02b4e56ca3a4e4a4fe9e52fca9c2972101f0e57f.tar.gz
6943088 Disable memory DR after a domain migration
Diffstat (limited to 'usr/src/uts/sun4v/sys/platsvc.h')
-rw-r--r--usr/src/uts/sun4v/sys/platsvc.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr/src/uts/sun4v/sys/platsvc.h b/usr/src/uts/sun4v/sys/platsvc.h
index 2f1e0f37b5..a3e624da15 100644
--- a/usr/src/uts/sun4v/sys/platsvc.h
+++ b/usr/src/uts/sun4v/sys/platsvc.h
@@ -20,8 +20,7 @@
*/
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _PLATSVC_H
@@ -78,6 +77,13 @@ extern "C" {
#define DOMAIN_SUSPEND_REC_SUCCESS 0x0
#define DOMAIN_SUSPEND_REC_FAILURE 0x1
+/*
+ * String used as the error reason in the failure response when a
+ * suspend request is denied due to an ongoing DR operation.
+ */
+#define DOMAIN_SUSPEND_DR_ERROR_STR \
+ "suspend failure: DR operation in progress"
+
typedef struct platsvc_md_update_req {
uint64_t req_num;
} platsvc_md_update_req_t;