Displaying 5 results from an estimated 5 matches for "__hypervisor_domctl".
2012 Sep 04
2
[PATCH] valgrind: Support for ioctls used by Xen toolstack processes.
..._subop(tid, layout, arrghs, status, flags,
+ "__HYPERVISOR_sysctl", sysctl->cmd);
+ break;
+ }
+#undef PRE_XEN_SYSCTL_READ
+#undef __PRE_XEN_SYSCTL_READ
+}
+
+PRE(domctl)
+{
+ struct xen_domctl *domctl = (struct xen_domctl *)(unsigned int)ARG1;
+
+ PRINT("__HYPERVISOR_domctl ( %d ) on dom%d", domctl->cmd, domctl->domain);
+
+ /*
+ * Common part of xen_domctl:
+ * uint32_t cmd;
+ * uint32_t interface_version;
+ * domid_t domain;
+ */
+ PRE_MEM_READ("__HYPERVISOR_domctl", ARG1,
+ sizeof(uint32_t) + sizeof(u...
2012 Oct 11
0
Re: [Valgrind-developers] [PATCH 1/4] Useful messages for sys/domctl interface_version mismatch.
...quot;);
> +
> + SET_STATUS_Failure(VKI_EINVAL);
> return;
> + }
>
> #define __PRE_XEN_SYSCTL_READ(_sysctl, _union, _field) \
> PRE_MEM_READ("XEN_SYSCTL_" # _sysctl, \
> @@ -438,9 +456,26 @@ PRE(domctl)
> PRE_MEM_READ("__HYPERVISOR_domctl", ARG1,
> sizeof(uint32_t) + sizeof(uint32_t) + sizeof(domid_t));
>
> - if (!domctl || domctl->interface_version !=
> XEN_DOMCTL_INTERFACE_VERSION) - /* BUG ? */
> + if (!domctl)
> + return;
> +
> + if (domctl->interface_version !...
2013 Feb 21
4
help please - running a guest from an iSCSI disk ? getting more diagnostics than "cannot make domain: -3" ? how to make domain0 "privileged" ?
...40) at xc_private.h:239
239 DECLARE_HYPERCALL_BOUNCE(domctl, sizeof(*domctl),
XC_HYPERCALL_BUFFER_BOUNCE_BOTH);
(gdb) n
241 domctl->interface_version = XEN_DOMCTL_INTERFACE_VERSION;
(gdb)
243 if ( xc_hypercall_bounce_pre(xch, domctl) )
(gdb)
249 hypercall.op = __HYPERVISOR_domctl;
(gdb)
250 hypercall.arg[0] = HYPERCALL_BUFFER_AS_ARG(domctl);
(gdb)
252 if ( (ret = do_xen_hypercall(xch, &hypercall)) < 0 )
(gdb) s
do_xen_hypercall (xch=xch@entry=0x622240,
hypercall=hypercall@entry=0x7fffffffe070) at xc_private.c:246
246 return xch->ops->u.p...
2006 Dec 01
0
[PATCH 3/10] Add support for netfront/netback acceleration drivers
...29
+#define __HYPERVISOR_callback_op 30
+#define __HYPERVISOR_xenoprof_op 31
+#define __HYPERVISOR_event_channel_op 32
+#define __HYPERVISOR_physdev_op 33
+#define __HYPERVISOR_hvm_op 34
+#define __HYPERVISOR_sysctl 35
+#define __HYPERVISOR_domctl 36
+#define __HYPERVISOR_kexec_op 37
+
+/* Architecture-specific hypercall definitions. */
+#define __HYPERVISOR_arch_0 48
+#define __HYPERVISOR_arch_1 49
+#define __HYPERVISOR_arch_2 50
+#define __HYPERVISOR_arch_3 5...
2012 Dec 12
2
[PATCH v7 1/2] xen: unify domain locking in domctl code
These two patches were originally part of the XSM series that I have
posted, and remain prerequisites for that series. However, they are
independent of the XSM changes and are a useful simplification
regardless of the use of XSM.
The Acked-bys on these patches were provided before rebasing them over
the copyback changes in 26268:1b72138bddda, which had minor conflicts
that I resolved.
[PATCH