Commit Graph
8241 Commits
Author SHA1 Message Date
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
kmself@ix.netcom.com b573ddd65d Incorporating Alan Oehler's changes, some of mine. 2005-12-02 19:59:53 -07:00
emellor@leeni.uk.xensource.com ffa06621c6 Read from the store if the filename reported by losetup has been truncated (the
loop driver stores only the first 64 chars of the filename).  In this case, we
need to read through the store until we find the domain using the device, and
read the configured filename from there instead.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-12-03 00:51:36 +00:00
kmself@ix.netcom.com 4872ba8737 Incorporating Alan's mods. 2005-12-02 17:13:55 -07:00
emellor@leeni.uk.xensource.com 638a6fa6a0 Merged. 2005-12-02 22:27:04 +00:00
djm@kirby.fc.hp.com 023c80945b Revert to simpler ia64 defconfigs, generic one causes loopback failures 2005-12-02 15:52:41 -06:00
kmself@ix.netcom.com 5d1b6dfd0a Applied Robb Roman's patches to upstream. 2005-12-02 14:50:08 -07:00
Robb Romans 57bd31e367 Small cleanup for distro chapters.
Signed-off-by: Robb Romans <FMJ@us.ibm.com>
2005-12-02 14:29:26 -07:00
Robb Romans 36d4b50803 Reorg patch 2 to match http://wiki.xensource.com/xenwiki/Xen3DocsToDo
Second patch to reorganize the manual to match the structure in the
Xen3DocsToDo Wiki entry.
2005-12-02 14:29:26 -07:00
Robb Romans cf5df3fd7b Reorg patch 1 to match http://wiki.xensource.com/xenwiki/Xen3DocsToDo
First patch to reorganize the manual to match the structure in the
Xen3DocsToDo Wiki entry.

Incorporates a patch from Nivedita Singhvi to clean up the Further
Support Chapter.

Signed-off-by: Robb Romans <FMJ@us.ibm.com>
2005-12-02 14:29:25 -07:00
cl349@firebug.cl.cam.ac.uk cb6bdaa39f Fix vif-net script for setups where eth0 has no IP address.
Use the IP address associated with the backend network interface
for connections from dom0 to the guest connected to this network
interface.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-12-02 22:15:58 +01:00
djm@kirby.fc.hp.com f26c47e0fd Minor changes due to file movement to merge xen-unstable with xen-ia64-unstable 2005-12-02 12:55:00 -06:00
djm@kirby.fc.hp.com 56aeec5ab6 Merge 2005-12-02 12:52:25 -06:00
kaf24@firebug.cl.cam.ac.uk a3acca698f Fix PAE bootstrap.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-12-02 19:26:58 +01:00
djm@kirby.fc.hp.com 2ac6456b1f Stack pal call emulation implemented. (by Tristan Gingold)
PAL_HALT emulation added: stop machine if dom0, shutdown domain otherwise.
2005-12-02 12:12:11 -06:00
kaf24@firebug.cl.cam.ac.uk 5e4eea77ee Add a defensive batched tlb flush to free_page_type(), to
ensure the linear_pg_table remains in sync with modified
page table structure. Otherwise we can update stale entries
and screw reference counts (but probably only when running
a malicious domain).

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-12-02 18:56:24 +01:00
kaf24@firebug.cl.cam.ac.uk 773ded4221 Move cpu0_stack out of Xen text section and into BSS. This
avoids getting loads of bogus cpu0_stack lines in call
backtraces from non-debug builds.

Doing this requires greater alignment of the BSS section,
which reveals a bug in ld where the alignment padding is
not added to the program segment's memsz field. We get around
this by finding the address of the last symbol in the image,
and increasing our load image's memsz to include that symbol.

Also some cleanups to the linker scripts.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-12-02 18:00:49 +01:00
djm@kirby.fc.hp.com f540e7c9af Update xen-capable elilo to support compressed dom0 kernel images (by Alex Williamson)
This will be released in next official version of elilo but is included
in Xen/ia64 for developer and user convenience until the new version of
elilo is more widely distributed.
2005-12-02 10:27:22 -06:00
djm@kirby.fc.hp.com 29ff6aeb27 Enable serial input for Xen (tied to ifdef, default off for now)
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2005-12-02 10:12:07 -06:00
djm@kirby.fc.hp.com 18c5361940 Fix pointer in vmx vmmu init code (by Anthony Xu and Kevin Tian) 2005-12-02 10:06:42 -06:00
dan@guaranine.beaverton.ibm.com 60d99f7d06 Make "xm list --long" generate device configuration data from xenstore state
instead of internal xend state.
Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-12-02 15:57:24 +00:00
emellor@leeni.uk.xensource.com 9b08b0371d This patch adds a new domain config option, 'cpus' which is a list of
CPUs a domains' vcpus can use.  The older 'cpu' config option is
prepended to the list of cpus to use and will keep the behavior of
pinning VCPU0.

The cpus option supports ranges and negation, so:

cpus = "0-3,5,^1" produces -> [0,2,3,5]

The list is circular, so in a domain with the following config:

vcpus = 4
cpus  = "0,3,7"  # Use any of 0, 3, 7 for this domain.

would see vcpus 0-3 pinned to cpus 0,3,7,0 respectively.

Also, the pin operation is moved before the memory reservation as vcpu
to cpu mapping will be helpful for future NUMA work when trying to
allocate pages close to the physical cpus being used.

An update to the display of cpumap was needed to normalize the cpumap
values to the range of possible cpus.

I've also included some text for the xmdomain.cfg(5) man page.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2005-12-02 15:52:47 +00:00