aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc
Commit message (Collapse)AuthorAgeFilesLines
...
* | Catchup with xen-unstable, add ia64 specifics to tools, and some VTI mergedjm@kirby.fc.hp.com2005-09-136-14/+70
|/ | | | | Signed-off-by Kevin Tian <Kevin.tian@intel.com>
* This patch remove the L2 pin for 1:1 page table on control panel.kaf24@firebug.cl.cam.ac.uk2005-09-121-9/+0
| | | | | | | | | L2 pin for 1:1 page table on control panel cause entries for top 64M address changed by alloc_l2_table(). Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
* Re-indent xc_linux_restore, and add code to force PAEkaf24@firebug.cl.cam.ac.uk2005-09-121-65/+94
| | | | | | | | | root pgdirs below 4GB on restore. Signed-off-by: Ian Pratt <ian@xensource.com> Signed-off-by: Keir Fraser <keir@xensource.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>
* No need to qsort the pfn array in domu builder.kaf24@firebug.cl.cam.ac.uk2005-09-081-8/+0
|
* Improved "PGDs must be under 4GB" handling for PAE.iap10@freefall.cl.cam.ac.uk2005-09-085-12/+91
| | | | | | Signed-off-by: ian@xensource.com
* Give each domain some memory below 4GB. This solves the "PGD's must be below ↵iap10@freefall.cl.cam.ac.uk2005-09-084-5/+20
| | | | | | | | | | 4GB" for the initial page tables. I'm not sure we'll stick with this approach, but this is good enough for the time being. PAE should be a *lot* more robust on systems that actually have more than 4GB thanks to all the various patches that went in today. I find it astounding that it ever appeared to work at all! Signed-off-by: ian@xensource.com
* More tools PAE fixes to avoid loosing high-order pte bits.iap10@freefall.cl.cam.ac.uk2005-09-073-10/+18
| | | | | Signed-off-by: ian@xensource.com
* Remove control interface in kernels and domain builder.cl349@firebug.cl.cam.ac.uk2005-09-072-7/+1
| | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* merge?kaf24@firebug.cl.cam.ac.uk2005-09-071-1/+1
|\
| * Fix dependencies.cl349@firebug.cl.cam.ac.uk2005-09-071-1/+1
| | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | Small plan9 loader patch from Tim Newsham.kaf24@firebug.cl.cam.ac.uk2005-09-071-12/+10
| |
* | Extend save/restore interface to cope with domains >4GB by adding a level of ↵iap10@firebug.cl.cam.ac.uk2005-09-071-4/+14
|/ | | | | | | indirection. Signed-off-by: ian@xensource.com
* phys_to_mach and mach_to_phys tables contain long entries, notkaf24@firebug.cl.cam.ac.uk2005-09-061-1/+1
| | | | | | | | 32-bit entries. Signed-off-by: Keir Fraser <keir@xensource.com>
* On suspend, canonicalize store and console mfns in the guest.cl349@firebug.cl.cam.ac.uk2005-09-051-28/+0
| | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Get rid of suspend record, start info holds all the info now.cl349@firebug.cl.cam.ac.uk2005-09-052-33/+24
| | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Keep start_info in page provided by domain builder instead of making a copy.cl349@firebug.cl.cam.ac.uk2005-09-051-7/+7
| | | | | | | | - page is moved next to store/console pages -- these are never put in the free page pool by the domain - xen_start_info is now a pointer to the original page instead of the copy Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Update suspend/resume for new console code.cl349@firebug.cl.cam.ac.uk2005-09-033-2/+13
| | | | | | | | | - translate console mfn to pfn - unbind/bind console evtchn - recover console mfn on restore - trigger xenconsoled refresh after mfn is put in store Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Enable 'live' migration from a tools pov; prior to this the 'live' flag was shand@ubuntu.eng.hq.xensource.com2005-09-022-24/+48
| | | | | | | being ignored by xend/xc_linux_save. Signed-off-by: Steven Hand <steven@xensource.com>
* extends xm info with xen version and various others information.vh249@arcadians.cl.cam.ac.uk2005-08-313-0/+19
| | | | | | | exports version hypercall to userspace Signed-off-by: Vincent Hanquez <vincent@xensource.com>
* This patch adjusts the plan9 loader to start "physical" ram atkaf24@firebug.cl.cam.ac.uk2005-08-311-7/+10
| | | | | | | | | 0x80000000 virtual rather than the virtual address of the kernel image (which is higher). Tim Newsham
* merge?cl349@firebug.cl.cam.ac.uk2005-08-308-29/+69
|\
| * Fix memory_op domid parameter in dom0 tools.kaf24@firebug.cl.cam.ac.uk2005-08-302-2/+2
| | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * Fix build failure due to missing unistd.hkaf24@firebug.cl.cam.ac.uk2005-08-304-0/+4
| | | | | | | | | | Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com>
| * Replace dom_mem_op hypercall with memory_op hypercall withkaf24@firebug.cl.cam.ac.uk2005-08-304-29/+65
| | | | | | | | | | | | | | | | better interface. Fix "mem=" parameter on x86/64 boot. Signed-off-by: Keir Fraser <keir@xensource.com>
* | New console transport and update xenconsoled.cl349@firebug.cl.cam.ac.uk2005-08-302-5/+21
|/ | | | | | | | | | | Add a new console interface using a seperate shared page and event channel instead of passing the console input/output over control messages. Update xenconsoled to use the new console interface. Make xenconsoled garbage collect dying domains by subscribing to the domain exception virq. Signed-off-by: Robert Read <robert@xensource.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Fix save/restore (for SMP guests in particularl); the blkfront suspend code shand@ubuntu.eng.hq.xensource.com2005-08-291-3/+5
| | | | | | | | | | was failing to unbind its irq handler correctly which (on SMP) caused the guest to BUG() on resume when trying to request its callfunc_irq. Plus a few small cosmetic changes. Signed-off-by: Steven Hand <steven@xensource.com> /bin/bash: :x: command not found
* Fix nasty tools race between barking xu_autoreap() and xpopen3.wait() - shand@ubuntu.eng.hq.xensource.com2005-08-281-3/+1
| | | | | | | save/restore now seems more robust from a tools pov at least. Signed-off-by: Steven Hand <steven@xensource.com>
* Fix install of xenctrl.h.kaf24@firebug.cl.cam.ac.uk2005-08-251-1/+1
|
* Break the building/save/restore code out into a separate library libxenguest.cl349@firebug.cl.cam.ac.uk2005-08-2516-430/+528
| | | | | | | 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>
* Rename libxc => libxenctrl and xc.h => xen/xenctrl.hcl349@firebug.cl.cam.ac.uk2005-08-243-15/+15
| | | | | | | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : tools/libxc/xc.h => tools/libxc/xenctrl.h
* Get rid of memory_t. Almost all uses should be unsigned long.kaf24@firebug.cl.cam.ac.uk2005-08-192-19/+19
| | | | | | | | | | | | The few uses for a physical/machine address have been mostly changed to u64. Grant table code probably needs auditing for PAE correctness, but at least the interface is now sound. Signed-off-by: Keir Fraser <keir@xensource.com>
* Remove unnecessary union in grant table map/unmap ops.akw27@arcadians.cl.cam.ac.uk2005-08-131-2/+2
| | | | | | | All addresses, host virtual and PTEs, are now passed in the cunningly ambiguous "host_addr" field, rather than in an anonymous union.
* forget to substitute CC back to gccvh249@arcadians.cl.cam.ac.uk2005-08-121-1/+1
| | | | | Signed-off-by: Vincent Hanquez <vincent@xensource.com>
* make needlessly global functions static and use NULL instead of 0 for pointervh249@arcadians.cl.cam.ac.uk2005-08-126-9/+9
| | | | | Signed-off-by: Vincent Hanquez <vincent@xensource.com>
* not valid file descriptor is -1 not 0vh249@arcadians.cl.cam.ac.uk2005-08-121-1/+1
|
* remove pointless NULL checks before free()vh249@arcadians.cl.cam.ac.uk2005-08-126-42/+19
| | | | | Signed-off-by: Vincent Hanquez <vincent@xensource.com>
* Memory leak in xc_linux_save, and uninitialised varkaf24@firebug.cl.cam.ac.uk2005-08-111-1/+13
| | | | | | in secpol_tool. Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
* Initialize the xenstore MFN for VMX domainscl349@firebug.cl.cam.ac.uk2005-08-103-40/+67
| | | | | | Signed-off-by: Arun Sharma <arun.sharma@intel.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* merge?cl349@firebug.cl.cam.ac.uk2005-08-021-0/+39
|\
| * Missing ia64_stubs file for libxc.kaf24@firebug.cl.cam.ac.uk2005-08-021-0/+39
| |
* | Fix checkpointing - add save/restore support to the xenbus driver.cl349@firebug.cl.cam.ac.uk2005-08-023-14/+27
|/ | | | | | | | | | - Add xenbus driver suspend/resume functions - Change xenbus irq to not be shared - Translate store mfn in suspend record to pfn and back - Make tools re-introduce the domain to the store Signed-off-by: Rusty Russel <rusty@rustcorp.com.au> 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-297-9/+148
| | | | | | | build and work with IA64 Xen. Signed-off-by: Matt Chapman <matthewc@hp.com> Acked-by: Dan Magenheimer <dan.magenheimer@hp.com>
* Always pass around the store machine frame number instead of the linear address.cl349@firebug.cl.cam.ac.uk2005-07-271-4/+3
| | | | | | | Also cleanup IOCTL_PRIVCMD_INITDOMAIN_STORE. Signed-off-by: Rusty Russel <rusty@rustcorp.com.au> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Really enable gdbserver for real mode code.kaf24@firebug.cl.cam.ac.uk2005-07-251-1/+1
| | | | | | | | | Missed out one instance where we need to check if we're running on 1:1 page tables with guest paging disabled. Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* Recently some people complain that they cannot set the maxmem forkaf24@firebug.cl.cam.ac.uk2005-07-152-4/+4
| | | | | | | | | domU. The problem is that some code wrongly treat dom.max_memkb as in byte unit, instead of KB unit. This patch fixs the problem. Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
* Initial tools support for 32-bit x86 pae.kaf24@firebug.cl.cam.ac.uk2005-07-133-123/+265
| | | | | Signed-off-by: Gerd Knorr <kraxel@suse.de>
* Add xc_init_store and run xenbus probe on INITDOMAIN_STORE privcmd ioctl.cl349@firebug.cl.cam.ac.uk2005-07-122-0/+14
| | | | | | Signed-off-by: Rusty Russel <rusty@rustcorp.com.au> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Tools build fixes.kaf24@firebug.cl.cam.ac.uk2005-07-111-1/+1
|
* The 1:1 page table should be a 3 level PAE page table on x86-64 kaf24@firebug.cl.cam.ac.uk2005-07-111-2/+136
| | | | | | | | | This is needed to support > 4GB machine physical addresses. Signed-off-by: Chengyuan Li <chengyuan.li@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>