aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_private.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove bogus error message in libxenctrl.kaf24@firebug.cl.cam.ac.uk2005-10-151-10/+2
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Store an opaque handle (tools uuid) in the domain structurekaf24@firebug.cl.cam.ac.uk2005-10-141-5/+4
| | | | | | | | | | within Xen. Refactor GETVCPUCONTEXT into an op of the same name plus a new op GETVCPUINFO. Move the cpumap and cpu info arrays from GETDOMAININFO and move into new GETVCPUINFO. Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix Xen public interfaces and the tools to consistentlykaf24@firebug.cl.cam.ac.uk2005-10-121-14/+14
| | | | | | | | use stdint-format bitsize types (uint32_t and friends). Signed-off-by: Keir Fraser <keir@xensource.com>
* Re-indent libxc to avoid hard tabs. Also, fix the PAEkaf24@firebug.cl.cam.ac.uk2005-09-191-41/+51
| | | | | | | | | domain builder to correctly write PTEs that map pages above 4GB. Signed-off-by: Keir Fraser <keir@xensource.com>
* Merge latest xen-unstable into xen-ia64-unstable to prepdjm@kirby.fc.hp.com2005-09-141-2/+2
|\ | | | | | | | | for push back to xen-unstable
| * Fix xc_make_page_below_4G(). Should fix PAE domainkaf24@firebug.cl.cam.ac.uk2005-09-141-2/+2
| | | | | | | | | | | | | | | | building on >= 4GB systems. Signed-off-by: Keir Fraser <keir@xensource.com>
* | Catchup with xen-unstable, add ia64 specifics to tools, and some VTI mergedjm@kirby.fc.hp.com2005-09-131-0/+9
|/ | | | | Signed-off-by Kevin Tian <Kevin.tian@intel.com>
* mlock argument to version hypercall in libxc.kaf24@firebug.cl.cam.ac.uk2005-09-121-5/+31
| | | | | | | Signed-off-by: Ian Pratt <ian@xensource.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Improved "PGDs must be under 4GB" handling for PAE.iap10@freefall.cl.cam.ac.uk2005-09-081-0/+18
| | | | | | Signed-off-by: ian@xensource.com
* More tools PAE fixes to avoid loosing high-order pte bits.iap10@freefall.cl.cam.ac.uk2005-09-071-3/+3
| | | | | Signed-off-by: ian@xensource.com
* extends xm info with xen version and various others information.vh249@arcadians.cl.cam.ac.uk2005-08-311-0/+5
| | | | | | | exports version hypercall to userspace Signed-off-by: Vincent Hanquez <vincent@xensource.com>
* Replace dom_mem_op hypercall with memory_op hypercall withkaf24@firebug.cl.cam.ac.uk2005-08-301-18/+45
| | | | | | | | better interface. Fix "mem=" parameter on x86/64 boot. Signed-off-by: Keir Fraser <keir@xensource.com>
* Break the building/save/restore code out into a separate library libxenguest.cl349@firebug.cl.cam.ac.uk2005-08-251-80/+72
| | | | | | | Also update the tools accordingly. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Here is our latest patch to enable the Xen tools tokaf24@firebug.cl.cam.ac.uk2005-07-291-0/+31
| | | | | | | build and work with IA64 Xen. Signed-off-by: Matt Chapman <matthewc@hp.com> Acked-by: Dan Magenheimer <dan.magenheimer@hp.com>
* bitkeeper revision 1.1726.2.3 (42ba7587nwhnhQJ_hDkHTk8kTKtAFw)kaf24@firebug.cl.cam.ac.uk2005-06-231-5/+9
| | | | | | | 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>
* bitkeeper revision 1.1681 (42a4172fYhXBx6d4aXa2ofB5qVB2Ww)cl349@firebug.cl.cam.ac.uk2005-06-061-2/+2
| | | | | | | | | | 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>
* bitkeeper revision 1.1665.1.5 (42a1a779yqLZDCutMj_vFNQlo3q3zw)kaf24@firebug.cl.cam.ac.uk2005-06-041-0/+5
| | | | | | | | | | | | | | | | | | | Rationalise debugger stuff in the tree. Within Xen itself, remove PDB references and fold into domu_debug. When domu_debug hits a breakpoint, it pauses all vcpus of the domain and raises VIRQ_DEBUGGER (not VIRQ_PDB). The debugger in domain0 can either poll pause status or bind to VIRQ_DEBUGGER. Before debugging a breakpointed domain the debugger should issue PAUSEDOMAIN itself, or it is not guaranteed to see paused state of the domain! Outside Xen there's a new dir tools/debugger, containing gdb, pdb and a new library libxendebug (used by pdb). I also think the ptrace functions in libxc also ought to be moved out: either to libxendebug or to a new library libxenptrace. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1389.1.49 (4283701cNLgzy29rE9Sw2-Jbp4DdZA)kaf24@firebug.cl.cam.ac.uk2005-05-121-2/+2
| | | | | | Remove 'exec_domain' from Xen public interfaces. Replace with 'vcpu'. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1389.19.5 (42833116hOft6cekTRSGqSIk2tNzGA)rusty@rustcorp.com.au[kaf24]2005-05-121-23/+23
| | | | | | | | | | | [PATCH] [PATCH] libxc: mmap doesn't return NULL on error... Hi, was reading libxc code, and noticed this. Patch is bigger than strictly necessary due to indent adjust. Against latest bk. Rusty.
* bitkeeper revision 1.1389.15.13 (42821f23dLMLc5Ql8Y-rUwoatYBI6g)cl349@firebug.cl.cam.ac.uk[cl349]2005-05-111-9/+6
| | | | | | | | | Split out context fetching into separate DOM0 op make GETDOMAININFO a little more sensible with respect to MP make coredump dump all cpu contexts Signed-off-by: Kip Macy <kmacy@netapp.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* bitkeeper revision 1.1236.1.183 (424d1ccaDlUUQZ1KrVHubRYFS5AKQA)kaf24@firebug.cl.cam.ac.uk2005-04-011-24/+3
| | | | | | | | Batch p.t. pin requests during guest restore (after being suspended, or after migration). Allow L1 tables to be pinned even after their va backptr is fixed (no longer mutable). Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1236.1.164 (424aed36IaX4v3-NGAT_MnCdUsD1yQ)kaf24@firebug.cl.cam.ac.uk2005-03-301-8/+38
| | | | | | | | | | | Split mmu_update() hypercall into mmu_update() and mmuext_op(). All MMUEXT_* ops are now done via the latter hypercall. This allows more arguments to be passed in a nicer way to mmuext operations. Linux 2.4, 2.6 and control tools all use the new interface. The BSDs will need some work, but shouldn't be too hard (and they can be moved to writable pagetables at the same time :-) ). Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1229 (42180985F67QALsnFjovJHWiIDEz_A)kaf24@scramble.cl.cam.ac.uk2005-02-201-3/+9
| | | | | | | Fix return-code checking in tools. Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1159.220.3 (41e670c37jmaTxUns3KlvsbVRCg-UA)mafetter@fleming.research2005-01-131-1/+3
| | | | | | | | | The getdomaininfo hypercall now listens to the exec_domain parameter that was already passed to it, and performs some basic sanity checking. Added exec_domain (aka vcpu) parameters to xc_domain_getfullinfo() and xc_domain_get_cpu_usage().
* bitkeeper revision 1.1159.220.2 (41e6700bFJzLjEYlNh48j_cSTbRy9A)mafetter@fleming.research2005-01-131-0/+146
| | | | | | | Code duplication cleanup: remove a number of duplicate identical static functions in xc_*_{build,restore}.c, replaced with single (non-static) copy in xc_private.c
* bitkeeper revision 1.1159.98.1 (415e7911bLQPew3o_RI5Cm8viw6VCQ)kaf24@freefall.cl.cam.ac.uk2004-10-021-127/+0
| | | | | | Remove Xen-specific ioctl from /dev/mem device. Update domain-building tools to use the correct device file for mapping foreign memory.
* bitkeeper revision 1.1159.45.15 (4126390c2dSRHYLR3YNd9JysCy4XTw)iap10@tetris.cl.cam.ac.uk2004-08-201-2/+2
| | | | | Export new mapping interface 'xc_map_foreign'
* bitkeeper revision 1.1159.39.1 (41237986oL9caNrlRwHT0c1soQ19YQ)kaf24@scramble.cl.cam.ac.uk2004-08-181-5/+3
| | | | | Clean up current support for foreign page mappings.
* bitkeeper revision 1.1159.7.1 (41174951klGy2QEbQWYmrGAtzPji9A)iap10@labyrinth.cl.cam.ac.uk2004-08-091-0/+15
|\ | | | | | | | | Merge
| * bitkeeper revision 1.1108.57.1 (4117460ajav0OLcX9y8IQtXQMz0RvQ)iap10@labyrinth.cl.cam.ac.uk2004-08-091-0/+15
| | | | | | | | | | step 1 of fixing migration support after the interface changes
* | bitkeeper revision 1.1159.2.1 (41139d17RLVEh5iKEyxO0hVWOtdS6Q)kaf24@scramble.cl.cam.ac.uk2004-08-061-1/+1
|/ | | | | Domain ids are 16 bits.
* bitkeeper revision 1.1041.2.1 (40e2dccbwLPMSsarwzAscW72tSfuEg)kaf24@scramble.cl.cam.ac.uk2004-06-301-25/+114
| | | | | Add resource tracking for pfn mappings in libxc.
* bitkeeper revision 1.1026.1.8 (40e1b09foCFBM0EuIgrSA1uLJrWuzA)mjw@wray-m-3.hpl.hp.com2004-06-291-0/+230
Restructuring the python code and libs - first stage.