mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Remove crashdump.create -- this doesn't make sense.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
45e2bb215f
commit
9c3b29a772
3 files changed
+55
-111
No files matched your search
@@ -11885,6 +11885,38 @@ $\mathit{RO}_\mathit{ins}$ & {\tt VDI} & VDI ref & the virtual disk \\
|
||||
\hline
|
||||
\end{longtable}
|
||||
\subsection{Additional RPCs associated with class: crashdump}
|
||||
\subsubsection{RPC name:~destroy}
|
||||
|
||||
{\bf Overview:}
|
||||
Destroy the specified crashdump.
|
||||
|
||||
\noindent {\bf Signature:}
|
||||
\begin{verbatim} void destroy (session_id s, crashdump ref self)\end{verbatim}
|
||||
|
||||
|
||||
\noindent{\bf Arguments:}
|
||||
|
||||
|
||||
\vspace{0.3cm}
|
||||
\begin{tabular}{|c|c|p{7cm}|}
|
||||
\hline
|
||||
{\bf type} & {\bf name} & {\bf description} \\ \hline
|
||||
{\tt crashdump ref } & self & The crashdump to destroy \\ \hline
|
||||
|
||||
\end{tabular}
|
||||
|
||||
\vspace{0.3cm}
|
||||
|
||||
\noindent {\bf Return Type:}
|
||||
{\tt
|
||||
void
|
||||
}
|
||||
|
||||
|
||||
|
||||
\vspace{0.3cm}
|
||||
\vspace{0.3cm}
|
||||
\vspace{0.3cm}
|
||||
\subsubsection{RPC name:~get\_all}
|
||||
|
||||
{\bf Overview:}
|
||||
@@ -11999,70 +12031,6 @@ VDI ref
|
||||
|
||||
|
||||
value of the field
|
||||
\vspace{0.3cm}
|
||||
\vspace{0.3cm}
|
||||
\vspace{0.3cm}
|
||||
\subsubsection{RPC name:~create}
|
||||
|
||||
{\bf Overview:}
|
||||
Create a new crashdump instance, and return its handle.
|
||||
|
||||
\noindent {\bf Signature:}
|
||||
\begin{verbatim} (crashdump ref) create (session_id s, crashdump record args)\end{verbatim}
|
||||
|
||||
|
||||
\noindent{\bf Arguments:}
|
||||
|
||||
|
||||
\vspace{0.3cm}
|
||||
\begin{tabular}{|c|c|p{7cm}|}
|
||||
\hline
|
||||
{\bf type} & {\bf name} & {\bf description} \\ \hline
|
||||
{\tt crashdump record } & args & All constructor arguments \\ \hline
|
||||
|
||||
\end{tabular}
|
||||
|
||||
\vspace{0.3cm}
|
||||
|
||||
\noindent {\bf Return Type:}
|
||||
{\tt
|
||||
crashdump ref
|
||||
}
|
||||
|
||||
|
||||
reference to the newly created object
|
||||
\vspace{0.3cm}
|
||||
\vspace{0.3cm}
|
||||
\vspace{0.3cm}
|
||||
\subsubsection{RPC name:~destroy}
|
||||
|
||||
{\bf Overview:}
|
||||
Destroy the specified crashdump instance.
|
||||
|
||||
\noindent {\bf Signature:}
|
||||
\begin{verbatim} void destroy (session_id s, crashdump ref self)\end{verbatim}
|
||||
|
||||
|
||||
\noindent{\bf Arguments:}
|
||||
|
||||
|
||||
\vspace{0.3cm}
|
||||
\begin{tabular}{|c|c|p{7cm}|}
|
||||
\hline
|
||||
{\bf type} & {\bf name} & {\bf description} \\ \hline
|
||||
{\tt crashdump ref } & self & reference to the object \\ \hline
|
||||
|
||||
\end{tabular}
|
||||
|
||||
\vspace{0.3cm}
|
||||
|
||||
\noindent {\bf Return Type:}
|
||||
{\tt
|
||||
void
|
||||
}
|
||||
|
||||
|
||||
|
||||
\vspace{0.3cm}
|
||||
\vspace{0.3cm}
|
||||
\vspace{0.3cm}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2006, XenSource Inc.
|
||||
* Copyright (c) 2006-2007, XenSource Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -161,20 +161,6 @@ extern bool
|
||||
xen_crashdump_get_by_uuid(xen_session *session, xen_crashdump *result, char *uuid);
|
||||
|
||||
|
||||
/**
|
||||
* Create a new crashdump instance, and return its handle.
|
||||
*/
|
||||
extern bool
|
||||
xen_crashdump_create(xen_session *session, xen_crashdump *result, xen_crashdump_record *record);
|
||||
|
||||
|
||||
/**
|
||||
* Destroy the specified crashdump instance.
|
||||
*/
|
||||
extern bool
|
||||
xen_crashdump_destroy(xen_session *session, xen_crashdump crashdump);
|
||||
|
||||
|
||||
/**
|
||||
* Get the uuid field of the given crashdump.
|
||||
*/
|
||||
@@ -196,6 +182,13 @@ extern bool
|
||||
xen_crashdump_get_vdi(xen_session *session, xen_vdi *result, xen_crashdump crashdump);
|
||||
|
||||
|
||||
/**
|
||||
* Destroy the specified crashdump
|
||||
*/
|
||||
extern bool
|
||||
xen_crashdump_destroy(xen_session *session, xen_crashdump self);
|
||||
|
||||
|
||||
/**
|
||||
* Return a list of all the crashdumps known to the system.
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2006, XenSource Inc.
|
||||
* Copyright (c) 2006-2007, XenSource Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -114,37 +114,6 @@ xen_crashdump_get_by_uuid(xen_session *session, xen_crashdump *result, char *uui
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
xen_crashdump_create(xen_session *session, xen_crashdump *result, xen_crashdump_record *record)
|
||||
{
|
||||
abstract_value param_values[] =
|
||||
{
|
||||
{ .type = &xen_crashdump_record_abstract_type_,
|
||||
.u.struct_val = record }
|
||||
};
|
||||
|
||||
abstract_type result_type = abstract_type_string;
|
||||
|
||||
*result = NULL;
|
||||
XEN_CALL_("crashdump.create");
|
||||
return session->ok;
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
xen_crashdump_destroy(xen_session *session, xen_crashdump crashdump)
|
||||
{
|
||||
abstract_value param_values[] =
|
||||
{
|
||||
{ .type = &abstract_type_string,
|
||||
.u.string_val = crashdump }
|
||||
};
|
||||
|
||||
xen_call_(session, "crashdump.destroy", param_values, 1, NULL, NULL);
|
||||
return session->ok;
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
xen_crashdump_get_vm(xen_session *session, xen_vm *result, xen_crashdump crashdump)
|
||||
{
|
||||
@@ -179,6 +148,20 @@ xen_crashdump_get_vdi(xen_session *session, xen_vdi *result, xen_crashdump crash
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
xen_crashdump_destroy(xen_session *session, xen_crashdump self)
|
||||
{
|
||||
abstract_value param_values[] =
|
||||
{
|
||||
{ .type = &abstract_type_string,
|
||||
.u.string_val = self }
|
||||
};
|
||||
|
||||
xen_call_(session, "crashdump.destroy", param_values, 1, NULL, NULL);
|
||||
return session->ok;
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
xen_crashdump_get_all(xen_session *session, struct xen_crashdump_set **result)
|
||||
{
|
||||
|
||||