emellor@leeni.uk.xensource.com
497ff155b3
Remove timeout on select -- there is no need for it, since we don't do anything
...
in the main loop except service I/O.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-12-07 11:47:46 +00:00
emellor@leeni.uk.xensource.com
2fd63647b4
Fix printf of ssize_t that broke 64-bit build.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-12-07 10:54:57 +00:00
emellor@leeni.uk.xensource.com
d38caf05b2
Squelch error messages from calls when failure is handled gracefully.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-12-07 10:53:47 +00:00
emellor@leeni.uk.xensource.com
df964c1d71
Remove one of the multiple occurrences of vcpus in the sxpr. This value is
...
in ROUNDTRIPPING_CONFIG_ENTRIES, so there is no need for it to be mentioned
explicitly in sxpr() too.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-12-07 10:51:55 +00:00
emellor@leeni.uk.xensource.com
f63de9a38d
Merged.
2005-12-06 17:11:04 +00:00
emellor@leeni.uk.xensource.com
ef1a53c4e0
Add a "consumed" parameter to the buffer declaration, and use this to advance
...
through the buffer when the data are read by console clients. This avoids a
costly memmove with every read from the console.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-12-06 17:10:59 +00:00
kaf24@firebug.cl.cam.ac.uk
af50dd63cf
Pull nmi/traps changes from Linux 2.6.14.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-06 17:48:57 +01:00
emellor@leeni.uk.xensource.com
b978d1410a
Merged.
2005-12-06 16:40:50 +00:00
emellor@leeni.uk.xensource.com
e50a8e9939
Make the master fd belonging to the pty pair non-blocking. Writes were blocking
...
if the console client disconnected before all the data had been written to the
pty, even though the select call had indicated that the fd was previously
writable. Reads have been observed exhibiting similar behaviour too.
Closes bug #380 .
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-12-06 16:40:43 +00:00
kaf24@firebug.cl.cam.ac.uk
f855f75259
The Mini-OS build once again broke, this time since vcpu_data became vcpu_info
...
and that XEN_VER in the __xen_guest section changed slightly. I've modified
the mini-os so that it at least compiles and boots again.
Signed-off-by: Simon Kagstrom <simon.kagstrom@bth.se >
2005-12-06 16:05:31 +01:00
kaf24@firebug.cl.cam.ac.uk
ee694618a7
Add map_domain_pages/unmap_domain_pages to map contiguous
...
multi-franme extents of domain memory.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-06 15:52:51 +01:00
kaf24@firebug.cl.cam.ac.uk
b8477f0215
Fix the request size for a full page-sized skbuff in netfront
...
driver (must allow 16 bytes for dev_alloc_skb headroom).
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-06 15:52:15 +01:00
kaf24@firebug.cl.cam.ac.uk
107808a452
Fix netfront to accept received packets at a wider range of
...
offsets within a memory page. Also fix, skb realloc-and-copy
when copying really is required (we were forgetting whether
the packet data is known valid, and checksumming packets that
do not have the csum field filled in).
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-06 15:02:54 +01:00
kaf24@firebug.cl.cam.ac.uk
7710ccfc30
Pre-decrement rather than post-decrement in shadow32.c.
...
Already fixed in shadow.c.
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com >
2005-12-06 12:49:05 +01:00
kaf24@firebug.cl.cam.ac.uk
67858f9867
Update xen cap to reflect 32 bit VMX guest support on x86_64
...
Signed-off-by: Xin Li <xin.b.li@intel.com >
2005-12-06 12:46:43 +01:00
kaf24@firebug.cl.cam.ac.uk
32dc1c6ed9
Fix vtpm support in xend.
...
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2005-12-06 12:45:30 +01:00
dan@guaranine.beaverton.ibm.com
383dbc16f4
Output an explicit newline before the "REASON:" string so the report script
...
can find it, even when a domain outputs a non-newline-terminated line.
Signed-off-by: Dan Smith <danms@us.ibm.com >
2005-12-05 15:36:11 +00:00
emellor@leeni.uk.xensource.com
46ba2d63fa
Mention udev, clean up xm help section, mention network-nat and network-route
...
scripts and the fact that network is now called network-bridge.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-12-05 15:30:10 +00:00
iap10@freefall.cl.cam.ac.uk
0d02a0c403
Added tag RELEASE-3.0.0 for changeset c8fdb0caa77b429cf47f9707926e83947778cb48
2005-12-05 14:02:01 +01:00
smh22@firebug.cl.cam.ac.uk
4f1fd0003e
Updated docs for Xen 3.0.
...
Signed-off-by: Steven Hand <steven@xensource.com >
RELEASE-3.0.0
2005-12-05 13:39:26 +01:00
cl349@firebug.cl.cam.ac.uk
a060a4c50b
Temporarily remove NetBSD and FreeBSD sparse trees to avoid user confusion.
...
The NetBSD and FreeBSD currently don't build against the final Xen 3.0 API.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-12-04 20:12:00 +01:00
cl349@firebug.cl.cam.ac.uk
f41cb4d2cc
Merge
2005-12-04 18:24:24 +01:00
kaf24@firebug.cl.cam.ac.uk
1e4b462e21
Pull requests from blkfront into blkback a bit more
...
aggressively, to keep the scheduling pipeline filled.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-04 18:20:41 +01:00
cl349@firebug.cl.cam.ac.uk
127515a943
Update version number for Xen 3.0.0 release.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-12-04 18:17:33 +01:00
cl349@firebug.cl.cam.ac.uk
c4b7794669
Make version strings consistent across all interfaces.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-12-04 18:16:33 +01:00
cl349@firebug.cl.cam.ac.uk
fac70b835d
Update -xen config file to include newgen megaraid and qla scsi drivers.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-12-04 18:12:18 +01:00
cl349@firebug.cl.cam.ac.uk
abbe050874
Rename set-vcpus to vcpu-set (match docs) and update short help page.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-12-04 17:29:46 +01:00
kaf24@firebug.cl.cam.ac.uk
55f8d24f80
Bump blktap and dom0op version numbers.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-04 12:06:38 +01:00
kaf24@firebug.cl.cam.ac.uk
e23e1a21a5
Image.py should send 2 new arguments to qemu-dm for setting QEMU window
...
Title. 1 is const string "-domain-name", the other is the string of
domain name. At present imagy.py combines these two strings to 1. So
Qemu will fail to recognize it and fail to start.
Signed-off-by: Yongkang You <yongkang.you@intel.com >
2005-12-04 11:57:32 +01:00
kaf24@firebug.cl.cam.ac.uk
92279a6821
Add a comment to tricky corner case in evtchn_close().
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-04 11:54:04 +01:00
rread@ubuntu.eng.hq.xensource.com
5ec8938808
Merge docs
2005-12-03 17:52:38 -07:00
iap10@freefall.cl.cam.ac.uk
e44081a02a
Readme typos
...
Signed-off-by: ian@xensource.com
2005-12-04 01:34:25 +01:00
cl349@firebug.cl.cam.ac.uk
79a13ff2fd
Fix same_vm test by adding missing '$'.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-12-04 00:51:15 +01:00
cl349@firebug.cl.cam.ac.uk
f7ba08cc97
Use test ([) instead of expr to compare integers.
...
expr $int1 '<' $int2 seems to be broken on some shells.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-12-04 00:49:51 +01:00
kaf24@firebug.cl.cam.ac.uk
1e56ea4a43
Fix request-notification holdoff in blkback. New code is
...
more correct and clearer in intent.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-03 21:53:01 +01:00
kaf24@firebug.cl.cam.ac.uk
c06235d49f
Remove scary warning message about 'breaking irq affinity'
...
when hot-unplugging cpus. It is a harmless side-effect of
running the irqbalance daemon in user space.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-03 21:17:11 +01:00
iap10@freefall.cl.cam.ac.uk
f74b71caca
Merge
2005-12-03 20:16:04 +01:00
iap10@freefall.cl.cam.ac.uk
0466574382
Update xend-config.sxp so that dom0-min-mem is 196MB by default, as this is rather more user friendly.
...
Also do some minor fixes to the README
Signed-off-by: ian@xensource.com
2005-12-03 20:05:39 +01:00
kaf24@firebug.cl.cam.ac.uk
395ae89f03
Always initialise a swiotlb for domain0. Make it a small
...
aperture (2MB) for small systems (< 2GB).
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-03 19:09:19 +01:00
kaf24@firebug.cl.cam.ac.uk
5e6cf9a3f2
Enable multiple NICs for vmx domain by configuration file
...
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com >
2005-12-03 17:59:37 +01:00
kaf24@firebug.cl.cam.ac.uk
f2e2149629
Set the device model windows title as the domain name
...
This helps when creating multile vmx domain.
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com >
2005-12-03 17:58:31 +01:00
kaf24@firebug.cl.cam.ac.uk
840923cb84
Fixes unmodified 32-bit guest support on the x86_64 Xen.
...
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com >
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com >
2005-12-03 17:41:16 +01:00
cl349@firebug.cl.cam.ac.uk
f9165bed2f
Fix block backend teardown when the device didn't setup completely.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-12-03 13:36:22 +01:00
emellor@leeni.uk.xensource.com
eda93d1ac9
Merged.
2005-12-03 12:21:52 +00:00
emellor@leeni.uk.xensource.com
60fdf33b73
Set hostname in DHCP config from the guest name, and if more than one interface
...
is specified, from guest-2, guest-3 etc. Have the DHCP server send the
hostname to the guest.
Added a lock around DHCP config file frobbing, to avoid racing creation vs
deletion.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-12-03 12:21:27 +00:00
kaf24@firebug.cl.cam.ac.uk
ad7f8262e3
Fix blkback request notification holdoff. req_cons must be
...
updated before make_response() is called. This fixes attaching
ramdisk-backed vbds to a blkfront.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-03 11:41:49 +01:00
kaf24@firebug.cl.cam.ac.uk
8e40022f8e
Fix typo in previous changeset. Include is ../grant_table.h
...
not ../gnttab.h.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-03 11:00:03 +01:00
kaf24@firebug.cl.cam.ac.uk
3de2050636
Inclide grant_ref_t definition in split-driver struct
...
defns.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-03 10:50:22 +01:00
kaf24@firebug.cl.cam.ac.uk
2e611ccc22
Merge with xen-ia64-unstable.hg
2005-12-03 10:44:38 +01:00
kaf24@firebug.cl.cam.ac.uk
25df6829eb
Using a slow serial console with sync_console on SMP leaves an
...
unusable system: it gets into a flood of
Timer ISR/0: Time went backwards: delta=-3566279 cpu_delta=16433721
shadow=2019998373 off=420435384 processed=2444000000
cpu_processed=2424000000
0: 2424000000
1: 2444000000
messages which swamps the console and leaves things almost, but not
quite, completely hung. It is a simple matter to ratelimit these
printks, which completely eliminates the problem.
2005-12-03 10:44:01 +01:00