WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] docs: Documentation for XSPolicy.can_run

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] docs: Documentation for XSPolicy.can_run command
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 01 Apr 2008 09:20:08 -0700
Delivery-date: Tue, 01 Apr 2008 09:20:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1207040752 -3600
# Node ID 76c4af29842f3f1f39aeae2d58873311fa83728e
# Parent  da9bd2e81288225c8836e8083430ebcadf696f98
docs: Documentation for XSPolicy.can_run command

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 docs/xen-api/revision-history.tex  |   11 +++++++++--
 docs/xen-api/xenapi-coversheet.tex |    2 +-
 docs/xen-api/xenapi-datamodel.tex  |   35 +++++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+), 3 deletions(-)

diff -r da9bd2e81288 -r 76c4af29842f docs/xen-api/revision-history.tex
--- a/docs/xen-api/revision-history.tex Mon Mar 31 18:05:18 2008 +0100
+++ b/docs/xen-api/revision-history.tex Tue Apr 01 10:05:52 2008 +0100
@@ -23,12 +23,19 @@
     \end{flushleft}
    \end{minipage}\\
   \hline
-  1.0.2 & 11th Feb. 08 & S. Berger &
+  1.0.3 & 11th Feb. 08 & S. Berger &
    \begin{minipage}[t]{7cm}
     \begin{flushleft}
      Added table of contents and hyperlink cross reference.
     \end{flushleft}
    \end{minipage}\\
   \hline
+  1.0.4 & 23rd March 08 & S. Berger &
+   \begin{minipage}[t]{7cm}
+    \begin{flushleft}
+     Added XSPolicy.can\_run
+    \end{flushleft}
+   \end{minipage}\\
+  \hline
  \end{tabular}
-\end{center}
\ No newline at end of file
+\end{center}
diff -r da9bd2e81288 -r 76c4af29842f docs/xen-api/xenapi-coversheet.tex
--- a/docs/xen-api/xenapi-coversheet.tex        Mon Mar 31 18:05:18 2008 +0100
+++ b/docs/xen-api/xenapi-coversheet.tex        Tue Apr 01 10:05:52 2008 +0100
@@ -22,7 +22,7 @@
 \newcommand{\releasestatement}{Stable Release}
 
 %% Document revision
-\newcommand{\revstring}{API Revision 1.0.2}
+\newcommand{\revstring}{API Revision 1.0.4}
 
 %% Document authors
 \newcommand{\docauthors}{
diff -r da9bd2e81288 -r 76c4af29842f docs/xen-api/xenapi-datamodel.tex
--- a/docs/xen-api/xenapi-datamodel.tex Mon Mar 31 18:05:18 2008 +0100
+++ b/docs/xen-api/xenapi-datamodel.tex Tue Apr 01 10:05:52 2008 +0100
@@ -14938,6 +14938,41 @@ Currently active instantiation flags.
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
+\subsubsection{RPC name:~can\_run}
+
+{\bf Overview:}
+Check whether a VM with the given security label could run on the system.
+
+ \noindent {\bf Signature:}
+\begin{verbatim} int can_run (session_id s, string 
security_label)\end{verbatim}
+
+
+\noindent{\bf Arguments:}
+
+
+\vspace{0.3cm}
+\begin{tabular}{|c|c|p{7cm}|}
+ \hline
+{\bf type} & {\bf name} & {\bf description} \\ \hline
+{\tt string } & security_label & reference to the object \\ \hline
+
+\end{tabular}
+
+\vspace{0.3cm}
+
+ \noindent {\bf Return Type:}
+{\tt
+int
+}
+
+
+Error code indicating whether a VM with the given security label could run.
+If zero, it can run.
+
+\vspace{0.3cm}
+
+\noindent{\bf Possible Error Codes:} {\tt SECURITY\_ERROR}
+
 \subsubsection{RPC name:~get\_all}
 
 {\bf Overview:}

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] docs: Documentation for XSPolicy.can_run command, Xen patchbot-unstable <=