Commit Graph
6695 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 60ea7f88bd It was suggested on the xen-users list that it would be useful if the
loopback driver could instantiate an arbitrary number of interfaces, so 
the attached patch does that.

[Also retab at the same time]
2005-09-09 09:07:59 +00:00
iap10@firebug.cl.cam.ac.uk 9ead829c58 Bug fix on x86_64 increase_reservation
Signed-off-by: ian@xensource.com
2005-09-08 20:39:58 +00:00
iap10@firebug.cl.cam.ac.uk 7901c856f1 Test CD needs devfs
Signed-off-by: ian@xensource.com
2005-09-08 19:14:51 +00:00
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 34f7c3290a merge 2005-09-08 17:42:49 +00:00
iap10@freefall.cl.cam.ac.uk 2e604677ba manual merge 2005-09-08 17:40:37 +00:00
kaf24@firebug.cl.cam.ac.uk 94a7d0b79c Build fix. 2005-09-08 17:36:37 +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 8ecda20869 Fixes to sub 4GB allocator
Signed-off-by: ian@xensource.com
2005-09-08 17:35:44 +00:00
kaf24@firebug.cl.cam.ac.uk 11a577fe4a grant_table.c reindent.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-08 17:29:02 +00:00
kaf24@firebug.cl.cam.ac.uk 3bc2a39e22 Rename get_order() to get_order_from_bytes() and add
new function get_order_from_pages(). Fix
HYPERVISOR_memory_op(), properly this time.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-08 17:25:52 +00:00
kaf24@firebug.cl.cam.ac.uk d86b993b36 Cleanups, and fix allocating DMA memory via
HYPERVISOR_memory_op().
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-08 15:22:01 +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 73167306c7 Yet more PAE fixes, this time in the paravirt drivers.
Signed-off-by: ian@xensource.com
2005-09-08 01:00:04 +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
iap10@freefall.cl.cam.ac.uk f2f33db0f4 Replace direct_remap_area_pages with direct_remap_pfn_range to help fix PAE domain building.
Signed-off-by: ian@xensource.com
2005-09-07 23:10:49 +00:00
cl349@firebug.cl.cam.ac.uk 93b3da0d9e Fix typo.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 21:35:05 +00:00
cl349@firebug.cl.cam.ac.uk df6224adc2 merge? 2005-09-07 21:34:17 +00:00
cl349@firebug.cl.cam.ac.uk 4fa3210b97 Move console tty/limit information into console directory in domain dir.
Also only store port number of console event channel.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 21:24:34 +00:00
cl349@firebug.cl.cam.ac.uk 405cabc251 Disable device info getting written to store when xend restarts.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 21:15:41 +00:00
cl349@firebug.cl.cam.ac.uk d5eb7ececf Disable sync dbmap saves -- they remove nodes added by other tools.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 21:13:46 +00:00
shand@ubuntu.eng.hq.xensource.com e4c2a8351d Create /dev/xen/evtchn if it doesn't exist.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-09-07 12:30:00 -08:00
cl349@firebug.cl.cam.ac.uk b9e0af9b95 Don't leak memory when realloc fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 19:13:38 +00:00
cl349@firebug.cl.cam.ac.uk 782a034d47 merge? 2005-09-07 19:01:31 +00:00
cl349@firebug.cl.cam.ac.uk 7cded01029 g/c unused xcs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 19:01:05 +00:00
cl349@firebug.cl.cam.ac.uk c3c71f3f6a g/c unused xu extension.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 18:37:55 +00:00
cl349@firebug.cl.cam.ac.uk 78552ee77c g/c unused control message code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 18:28:04 +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
iap10@firebug.cl.cam.ac.uk 098683650a merge 2005-09-07 17:29:17 +00:00
iap10@firebug.cl.cam.ac.uk 718b553a7d Trivial fix for a nasty PAE bug.
Signed-off-by: ian@xensource.com
2005-09-07 17:28:49 +00:00
cl349@firebug.cl.cam.ac.uk e9626ce65f Fix vif scripts for domains with more than one ip.
As reported in bug 218 by christian@prehl.de.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 17:26:27 +00:00
cl349@firebug.cl.cam.ac.uk 2cb3d295f2 Remove debug printk.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 16:52:49 +00:00
cl349@firebug.cl.cam.ac.uk e6ff008af0 Always bind dom0 virqs to vcpu 0.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 16:50:55 +00:00
cl349@firebug.cl.cam.ac.uk f48bcc9a2c Make xenstored bind to domain exception virq directly, instead of via xcs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 15:53:04 +00:00
cl349@firebug.cl.cam.ac.uk 940e39c97f Remove python virq code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 14:19:05 +00:00
cl349@firebug.cl.cam.ac.uk 76c86a2924 Trigger domain cleanup on @releaseDomain watch-event instead of domain exc. virq.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 13:41:49 +00:00
cl349@firebug.cl.cam.ac.uk f3e44ec565 Fix and cleanup error handling.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 13:40:06 +00:00
cl349@firebug.cl.cam.ac.uk 796e1b0cdf Add copyright notice and g/c some unused code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 12:49:52 +00:00
cl349@firebug.cl.cam.ac.uk f8812a7ea3 merge? 2005-09-07 12:48:11 +00:00
cl349@firebug.cl.cam.ac.uk b21329113b Add python bindings for watches.
Uses a watcher thread with per-watch registered callbacks.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 12:47:45 +00:00
kaf24@firebug.cl.cam.ac.uk 51e3c2b39a Be more sensitive to losing sync with platform timer.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-07 10:04:54 +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
cl349@firebug.cl.cam.ac.uk d3733b34b5 merge? 2005-09-06 18:29:53 +00:00
cl349@firebug.cl.cam.ac.uk def1544a03 Use @releaseDomain watch-events.
This replaces listening to the domain exception virq through xcs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-06 18:29:27 +00:00
kaf24@firebug.cl.cam.ac.uk db9694d7d2 Tiny printk info cleanup. 2005-09-06 18:27:01 +00:00
kaf24@firebug.cl.cam.ac.uk 65de2eefe9 The attached patch fixes two problems I ran into with the swiotlb code
in unstable (changeset aeaa3c83f6e5). Tested on a dual Opteron x86-64
machine with 4GB of memory and a tg3 modified to only DMA below 2GB.

- swiotlb_dma_supported() checked that the device DMA mask was equal
or bigger than 4GB, when in fact all that's needed is that the device
be able to DMA into the swiotlb aperture (1GB on my AMD x86-64
machine). Some device are actually only 31-bit DMA capable, so this
would've tripped them.

- On some platforms, PCI unmaps and syncs are nops, so there's no need to
keep track of the dma_addr they need after the initial mapping. The
DMA API supports this via the DECLARE_PCI_UNMAP_ADDR macros (see
Documentation/DMA-mapping.txt). Since the swiotlb code does make us of
the dma_addr for swiotlb_unmap_xxx and (more importantly)
swiotlb_dma_sync_xxx, we need to define them to something
meaningful.

Signed-Off-By: Muli Ben-Yehuda <mulix@mulix.org>
2005-09-06 18:25:00 +00:00
cl349@firebug.cl.cam.ac.uk cbc1cab8bf Exit if xen_setup fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-06 18:18:56 +00:00