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
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
cl349@firebug.cl.cam.ac.uk
3586596b0f
Add @releaseDomain watch-event.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-06 18:15:06 +00:00
cl349@firebug.cl.cam.ac.uk
1e14a86e33
Destroy domain before cleaning it up.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-06 18:14:31 +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
aee5de2dd5
Add xcs to include path for xcs_proto.h.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-06 17:43:36 +00:00
cl349@firebug.cl.cam.ac.uk
a69c14185c
Disable xcs stop from xend script since it kills xenstored now.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-06 17:18:28 +00:00
cl349@firebug.cl.cam.ac.uk
3e9b41a1b5
merge?
2005-09-06 17:00:25 +00:00
cl349@firebug.cl.cam.ac.uk
0ee3c3bafc
Make xenstored listen to domain exception virqs.
...
The virq triggers a scan for domains which have gone away, and then
removes those domains.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-06 16:59:14 +00:00
kaf24@firebug.cl.cam.ac.uk
412ce402ae
Avoid warn_unused error on read() return value.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-09-06 16:10:22 +00:00
kaf24@firebug.cl.cam.ac.uk
b70b67679f
Enable xenstored optimisations.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-09-06 15:47:23 +00:00
kaf24@firebug.cl.cam.ac.uk
7b64ba2f51
Reducing LOC (always a good thing) by eliminating duplicated functionality.
...
vmx_platform.c/inst_copy_from_guest() now uses vmx_copy. Also shored up
vmx_copy to handle copies when paging is enabled and improved its error
handling.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com >
2005-09-06 15:31:34 +00:00
cl349@firebug.cl.cam.ac.uk
b042c7d63f
Update consoled to use xs_get_domain_path and cleanup domain tracking code.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-06 13:43:28 +00:00
kaf24@firebug.cl.cam.ac.uk
b076b9bbe4
Fix vmalloc fault path in arch/xen/i386 to correctly deal
...
with _PAGE_PRESENT being missing from init_mm's pmd
entry (*pmd_k).
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-09-06 09:44:58 +00:00
kaf24@firebug.cl.cam.ac.uk
7b89279cfb
Fix 64-bit build.
2005-09-05 20:05:58 +00:00
kaf24@firebug.cl.cam.ac.uk
6b14c83b48
Fix PCI iomem resource fixup.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-09-05 19:53:44 +00:00
cl349@firebug.cl.cam.ac.uk
84ff1f2155
Add @introduceDomain event-watch and replace consoled watch on /console.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-05 19:43:04 +00:00
cl349@firebug.cl.cam.ac.uk
fb3841431b
Fix command line argument parsing.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-05 18:55:08 +00:00
cl349@firebug.cl.cam.ac.uk
31d6fa36cc
Add -Werror to xenstore build and fix failure.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-05 18:53:08 +00:00
kaf24@firebug.cl.cam.ac.uk
792d339102
Fix the balloon driver to do work in smaller batches, and
...
not use a vmalloc'ed mfn list which may not be mapped into
all page tables.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-09-05 17:51:55 +00:00
cl349@firebug.cl.cam.ac.uk
7d606f53da
Add missing libxenstore.so dependency for xenstore client programs.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-05 17:21:08 +00:00
cl349@firebug.cl.cam.ac.uk
0d70d4abc2
Rename XS_GET_DOMAIN_PATH to XS_GET_DOMAIN_PATH and add libxenstore binding.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-05 16:00:03 +00:00
cl349@firebug.cl.cam.ac.uk
dd90a7bca7
Fix typo.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-05 15:46:12 +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
65f07fb34c
merge?
2005-09-05 14:54:05 +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
1413c27297
Pass live flag as number, not "True"/"False".
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-05 14:48:44 +00:00
cl349@firebug.cl.cam.ac.uk
0c97488f1e
Only remove domain from store once it's suspended.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-05 14:45:19 +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
iap10@firebug.cl.cam.ac.uk
61a2db802c
CRAMFS needs to be compiled in to xen_defconfig_x86_64 not a module.
...
Signed-off-by: ian@xensource.com
2005-09-05 11:20:14 +00:00