@@ -289,10 +289,10 @@ describing the functions to be patched:
<pre>
struct xsplice_patch_func {
const char *name;
- Elf64_Xwordnew_addr;
+ Elf64_Xword new_addr;
Elf64_Xword old_addr;
Elf64_Word new_size;
- Elf64_Word long old_size;
+ Elf64_Word old_size;
uint8_t pad[32];
};
</pre>
@@ -425,10 +425,8 @@ struct xen_sysctl_xsplice_upload {
Retrieve an status of an specific payload. This caller provides:
* A `struct xen_xsplice_name` called `name` which has the unique name.
- * A `struct xen_xsplice_status` structure which has all members
- set to zero: That is:
- * `status` *MUST* be set to zero.
- * `rc` *MUST* be set to zero.
+ * A `struct xen_xsplice_status` structure. The member values will
+ be over-written upon completion.
Upon completion the `struct xen_xsplice_status` is updated.
@@ -473,12 +471,11 @@ struct xen_xsplice_status {
#define XSPLICE_STATUS_LOADED 1
#define XSPLICE_STATUS_CHECKED 2
#define XSPLICE_STATUS_APPLIED 3
- int32_t state; /* OUT: XSPLICE_STATE_*. IN: MUST be zero. */
+ int32_t state; /* OUT: XSPLICE_STATE_*. */
int32_t rc; /* OUT: 0 if no error, otherwise -XEN_EXX. */
- /* IN: MUST be zero. */
};
-struct xen_sysctl_xsplice_summary {
+struct xen_sysctl_xsplice_get {
xen_xsplice_name_t name; /* IN, the name of the payload. */
xen_xsplice_status_t status; /* IN/OUT: status of the payload. */
};
@@ -514,7 +511,7 @@ value (`idx`) with the returned value of data.
If the hypercall returns -XEN_E2BIG the `nr` is too big and should be
lowered.
-If the hypercall returns an zero value that means there are no payloads.
+If the hypercall returns an zero value there are no more payloads.
Note that due to the asynchronous nature of hypercalls the control domain might
have added or removed a number of payloads making this information stale. It is