kfraser@localhost.localdomain
a3fc4d842e
[SOLARIS] Don't mlock() hypercall buffers.
...
On solaris mlock requires a page aligned address and mlock doesn't
ensure the pages won't minor page fault.
Signed-off-by: Mark Johnson <mark.johnson@sun.com >
2006-10-23 09:52:51 +01:00
kfraser@localhost.localdomain
b76fbc3cc5
[LIBXC] Remove unused xc_evtchn_status().
...
Signed-off-by: John Levon <john.levon@sun.com >
2006-08-14 16:39:35 +01:00
kaf24@firebug.cl.cam.ac.uk
013351bd7a
Define new event-channel and physdev hypercalls with a more extensible
...
interface (the legacy hypercalls would break if subcommands with large
argument structures were added, as it would grow the size of the
union of all argument structures).
Also, based on a patch from Kevin Tian, add a new physdev op to
signal EOI for a particular irq.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-04-30 09:16:15 +01:00
kaf24@firebug.cl.cam.ac.uk
c702fb4c9d
Fix whitespace in libxc. Tabs are manually fixed.
...
Trailing whitespace removed with:
perl -p -i -e 's/\s+$/\n/g' tools/libxc/*.[ch]
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2006-04-15 10:07:31 +01:00
kaf24@firebug.cl.cam.ac.uk
96428d33d9
Define explicit evtchn_port_t type (32 bits) and plumb up
...
to user space thru /dev/xen/evtchn.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-01 15:22:22 +01:00
emellor@leeni.uk.xensource.com
a22292f2bb
Make it possible to run valgrind on code linked with the libxc libraries.
...
Valgrind cannot see when a hypercall has initialised entries in a data
structure, so appropriate memsets have been placed before using dom0_op_t,
privcmd_hypercall_t, and a couple of miscellaneous blocks passed into this
layer. This initialises the block so that valgrind considers it to be valid,
but the data therein will be immediately overwritten by the hypercall, all
being well.
These changes are semantically neutral if -DVALGRIND is not set.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-22 16:31:16 +01:00
kaf24@firebug.cl.cam.ac.uk
d8263e8dba
Fix Xen public interfaces and the tools to consistently
...
use stdint-format bitsize types (uint32_t and friends).
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-10-12 11:07:37 +01:00
kaf24@firebug.cl.cam.ac.uk
07a233ac7c
User tools send evtchn notifications via /dev/xen/evtchn
...
rather than using hypercall directly.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-10-06 17:02:38 +01:00
kaf24@firebug.cl.cam.ac.uk
e926a10696
Ensure that all fields of evtchn_op_t are initialised when
...
making an event_channel_op hypercall. Stefan Berger gets the
credit for diagnosing nasty domU driver problems that were a
result of garbage fields.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-10-06 10:42:32 +01:00
kaf24@firebug.cl.cam.ac.uk
0f742e92ea
EVTCHNOP_alloc_unbound can allocate a port in an arbitrary
...
domain (only if the caller is sufficiently privileged).
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-10-05 19:14:13 +01:00
kaf24@firebug.cl.cam.ac.uk
92f5a40578
Allow EVTCHNOP_bind_{ipi,virq} to specify the vcpu to
...
bind to. Previously the alloacted port was implicitly
bound to the calling vcpu.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-10-04 15:02:51 +01:00
kaf24@firebug.cl.cam.ac.uk
8a6c33ded1
bitkeeper revision 1.1726.2.3 (42ba7587nwhnhQJ_hDkHTk8kTKtAFw)
...
Make sure we save errno across error-path printfs and munlocks. Based
on a patch from Anthony Liguori.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-06-23 08:40:39 +00:00
cl349@firebug.cl.cam.ac.uk
4f7a49d8d0
bitkeeper revision 1.1681 (42a4172fYhXBx6d4aXa2ofB5qVB2Ww)
...
xc_gnttab.c, xc_evtchn.c:
Cleanup error message printing and error exit code path.
xc_vmx_build.c, xc_private.c, xc_plan9_build.c, xc_linux_build.c:
Cleanup error message printing.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-06-06 09:28:15 +00:00
kaf24@firebug.cl.cam.ac.uk
c1c0a2f39a
bitkeeper revision 1.1674 (42a2cfb9WFgnh2K4Xr5ev3pSEASVbw)
...
Extend EVTCHNOP_alloc_unbound to allocate a specified port, if
non-zero value is passed in.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-06-05 10:11:05 +00:00
kaf24@freefall.cl.cam.ac.uk
187a0366b6
bitkeeper revision 1.1159.142.2 (41849fadYlUYMwSy6tcq8Y-Yi8NMZA)
...
Clean up libxc by allowing direct use of Xen headers from userland:
#include <xen/...>
2004-10-31 08:17:49 +00:00
kaf24@freefall.cl.cam.ac.uk
6f46072ed0
bitkeeper revision 1.1159.130.1 (41792c8bfIrnaq8cezNM7nbYpseVFQ)
...
Extend Xen's evtchn interface.
2004-10-22 15:51:39 +00:00
kaf24@scramble.cl.cam.ac.uk
61536d2615
bitkeeper revision 1.1159.2.1 (41139d17RLVEh5iKEyxO0hVWOtdS6Q)
...
Domain ids are 16 bits.
2004-08-06 15:00:39 +00:00
mjw@wray-m-3.hpl.hp.com
48e9a9c636
bitkeeper revision 1.1026.1.8 (40e1b09foCFBM0EuIgrSA1uLJrWuzA)
...
Restructuring the python code and libs - first stage.
2004-06-29 18:10:39 +00:00