kaf24@firebug.cl.cam.ac.uk
9c3c47ec6e
No need to qsort the pfn array in domu builder.
2005-09-08 17:47:48 +00:00
iap10@freefall.cl.cam.ac.uk
cab0ef71c3
Improved "PGDs must be under 4GB" handling for PAE.
...
Signed-off-by: ian@xensource.com
2005-09-08 17:36:23 +00:00
iap10@freefall.cl.cam.ac.uk
8b1b30d3cb
Give each domain some memory below 4GB. This solves the "PGD's must be below 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
2005-09-08 01:07:15 +00:00
iap10@freefall.cl.cam.ac.uk
558b5c7a89
More tools PAE fixes to avoid loosing high-order pte bits.
...
Signed-off-by: ian@xensource.com
2005-09-07 23:11:44 +00:00
cl349@firebug.cl.cam.ac.uk
7a36d2e972
Remove control interface in kernels and domain builder.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-07 17:43:56 +00:00
kaf24@firebug.cl.cam.ac.uk
85b4dd8df8
merge?
2005-09-07 09:50:57 +00:00
kaf24@firebug.cl.cam.ac.uk
cce9b16fc6
Small plan9 loader patch from Tim Newsham.
2005-09-07 09:42:47 +00:00
iap10@firebug.cl.cam.ac.uk
bf753c8c6b
Extend save/restore interface to cope with domains >4GB by adding a level of indirection.
...
Signed-off-by: ian@xensource.com
2005-09-07 02:31:24 +00:00
cl349@firebug.cl.cam.ac.uk
126d23f8d8
Fix dependencies.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-07 01:03:02 +00:00
kaf24@firebug.cl.cam.ac.uk
d22c0aa835
phys_to_mach and mach_to_phys tables contain long entries, not
...
32-bit entries.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-09-06 18:01:24 +00:00
cl349@firebug.cl.cam.ac.uk
2aace4b332
On suspend, canonicalize store and console mfns in the guest.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-05 15:32:14 +00:00
cl349@firebug.cl.cam.ac.uk
311f8312d8
Get rid of suspend record, start info holds all the info now.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-05 14:53:39 +00:00
cl349@firebug.cl.cam.ac.uk
ce27fde65d
Keep start_info in page provided by domain builder instead of making a copy.
...
- 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 >
2005-09-05 14:04:36 +00:00
cl349@firebug.cl.cam.ac.uk
3bc1edc4ab
Update suspend/resume for new console code.
...
- 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 >
2005-09-03 18:48:39 +00:00
shand@ubuntu.eng.hq.xensource.com
01d0370a52
Enable 'live' migration from a tools pov; prior to this the 'live' flag was
...
being ignored by xend/xc_linux_save.
Signed-off-by: Steven Hand <steven@xensource.com >
2005-09-02 17:36:29 -08:00
vh249@arcadians.cl.cam.ac.uk
251e6d181b
extends xm info with xen version and various others information.
...
exports version hypercall to userspace
Signed-off-by: Vincent Hanquez <vincent@xensource.com >
2005-08-31 10:39:53 +00:00
kaf24@firebug.cl.cam.ac.uk
98b89bb711
This patch adjusts the plan9 loader to start "physical" ram at
...
0x80000000 virtual rather than the virtual address of the kernel
image (which is higher).
Tim Newsham
2005-08-31 08:45:10 +00:00
cl349@firebug.cl.cam.ac.uk
5ac4e5d825
merge?
2005-08-30 16:15:27 +00:00
cl349@firebug.cl.cam.ac.uk
14329d584a
New console transport and update xenconsoled.
...
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 >
2005-08-30 16:14:53 +00:00
kaf24@firebug.cl.cam.ac.uk
9dda6164e6
Fix memory_op domid parameter in dom0 tools.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-30 13:56:08 +00:00
kaf24@firebug.cl.cam.ac.uk
19fd798dab
Fix build failure due to missing unistd.h
...
Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com >
2005-08-30 13:16:05 +00:00
kaf24@firebug.cl.cam.ac.uk
e4dfe0cdba
Replace dom_mem_op hypercall with memory_op hypercall with
...
better interface. Fix "mem=" parameter on x86/64 boot.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-30 11:53:47 +00:00
shand@ubuntu.eng.hq.xensource.com
d4e4e3abee
Fix save/restore (for SMP guests in particularl); the blkfront suspend code
...
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: ❌ command not found
2005-08-29 19:20:55 -08:00
shand@ubuntu.eng.hq.xensource.com
1f1e576a4a
Fix nasty tools race between barking xu_autoreap() and xpopen3.wait() -
...
save/restore now seems more robust from a tools pov at least.
Signed-off-by: Steven Hand <steven@xensource.com >
2005-08-28 21:40:36 -08:00
kaf24@firebug.cl.cam.ac.uk
ef591e9331
Fix install of xenctrl.h.
2005-08-25 13:26:37 +00:00
cl349@firebug.cl.cam.ac.uk
acc63faffa
Break the building/save/restore code out into a separate library libxenguest.
...
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 >
2005-08-25 00:51:20 +00:00
cl349@firebug.cl.cam.ac.uk
60eb663513
Rename libxc => libxenctrl and xc.h => xen/xenctrl.h
...
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
2005-08-24 23:07:29 +00:00
kaf24@firebug.cl.cam.ac.uk
d9eb7e09d7
Get rid of memory_t. Almost all uses should be unsigned long.
...
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 >
2005-08-19 17:25:04 +00:00
akw27@arcadians.cl.cam.ac.uk
104a3d1255
Remove unnecessary union in grant table map/unmap ops.
...
All addresses, host virtual and PTEs, are now passed in the cunningly
ambiguous "host_addr" field, rather than in an anonymous union.
2005-08-13 15:47:53 +00:00
vh249@arcadians.cl.cam.ac.uk
30ed144f39
forget to substitute CC back to gcc
...
Signed-off-by: Vincent Hanquez <vincent@xensource.com >
2005-08-12 13:33:57 +00:00
vh249@arcadians.cl.cam.ac.uk
e08e53f151
make needlessly global functions static and use NULL instead of 0 for pointer
...
Signed-off-by: Vincent Hanquez <vincent@xensource.com >
2005-08-12 13:05:50 +00:00
vh249@arcadians.cl.cam.ac.uk
39b35eca80
not valid file descriptor is -1 not 0
2005-08-12 10:51:39 +00:00
vh249@arcadians.cl.cam.ac.uk
3abb5c2914
remove pointless NULL checks before free()
...
Signed-off-by: Vincent Hanquez <vincent@xensource.com >
2005-08-12 10:48:42 +00:00
kaf24@firebug.cl.cam.ac.uk
3184c77cda
Memory leak in xc_linux_save, and uninitialised var
...
in secpol_tool.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com >
2005-08-11 22:12:11 +00:00
cl349@firebug.cl.cam.ac.uk
1b8d0b8824
Initialize the xenstore MFN for VMX domains
...
Signed-off-by: Arun Sharma <arun.sharma@intel.com >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-10 08:44:58 +00:00
cl349@firebug.cl.cam.ac.uk
d16ff05a08
merge?
2005-08-02 17:13:11 +00:00
cl349@firebug.cl.cam.ac.uk
59f1e250c2
Fix checkpointing - add save/restore support to the xenbus driver.
...
- 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 >
2005-08-02 17:12:36 +00:00
kaf24@firebug.cl.cam.ac.uk
5f5202f471
Missing ia64_stubs file for libxc.
2005-08-02 11:08:47 +00:00
kaf24@firebug.cl.cam.ac.uk
12b1a321bd
Here is our latest patch to enable the Xen tools to
...
build and work with IA64 Xen.
Signed-off-by: Matt Chapman <matthewc@hp.com >
Acked-by: Dan Magenheimer <dan.magenheimer@hp.com >
2005-07-29 10:34:45 +00:00
cl349@firebug.cl.cam.ac.uk
7aa5afeb6c
Always pass around the store machine frame number instead of the linear address.
...
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 >
2005-07-27 17:17:09 +00:00
kaf24@firebug.cl.cam.ac.uk
2988ab5bf3
Really enable gdbserver for real mode code.
...
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 >
2005-07-25 21:03:25 +00:00
kaf24@firebug.cl.cam.ac.uk
8f7262f9a6
Recently some people complain that they cannot set the maxmem for
...
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 >
2005-07-15 08:30:22 +00:00
kaf24@firebug.cl.cam.ac.uk
4b043a942c
Initial tools support for 32-bit x86 pae.
...
Signed-off-by: Gerd Knorr <kraxel@suse.de >
2005-07-13 15:04:49 +00:00
cl349@firebug.cl.cam.ac.uk
4e2b530c51
Add xc_init_store and run xenbus probe on INITDOMAIN_STORE privcmd ioctl.
...
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-07-12 10:01:03 +00:00
kaf24@firebug.cl.cam.ac.uk
0fca1afde7
Tools build fixes.
2005-07-11 16:04:22 +00:00
kaf24@firebug.cl.cam.ac.uk
8ff31ab726
The 1:1 page table should be a 3 level PAE page table on x86-64
...
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 >
2005-07-11 14:39:10 +00:00
kaf24@firebug.cl.cam.ac.uk
aab6fa579e
The attached patch adds a new dom0_op, DOM0_GETDOMAININFOLIST. This
...
operation allows retrieval of the domain info structures for all domains
in one hypercall.
Using a small test program, on a system with 97 domains with
non-contiguous domain IDs, I found that with this hypercall I could
retrieve the full array of info structures 12840 times per second, an
improvement from 2380 times per second with the DOM0_GETDOMAININFO op.
The patch also adds a libxc wrapper for this new hypercall.
Signed-off-by: Josh Triplett <josht@us.ibm.com >
2005-07-08 09:06:04 +00:00
smh22@firebug.cl.cam.ac.uk
1f123c33a5
Move xenstore page before page tables so that guest doesn't free it after boot
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-07-06 15:36:57 +00:00
kaf24@firebug.cl.cam.ac.uk
63ba48b807
Fix grant-table interface by removing the unnecessary union.
...
This fixes a domU crash introduced over the weekend.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-07-04 15:34:57 +00:00
arun.sharma@intel.com[kaf24]
5ac71a4238
bitkeeper revision 1.1777 (42c3a88aPiHvcATujFTezqA1w1FMCg)
...
[PATCH] 64 bit xend cleanups.
64 bit xend cleanups.
Signed-off-by: Xin Li <xin.bi.li@intel.com >
Signed-off-by: Xiofeng Ling <xiaofeng.ling@intel.com >
Signed-off-by: Arun Sharma <arun.sharma@intel.com >
2005-06-30 08:08:42 +00:00