aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | | Fix range_straddles_boundary() check to exclude regions thatkaf24@firebug.cl.cam.ac.uk2005-08-184-216/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | were allocated with xen_create_contiguous_region(). Such areas do not require bounce buffers (swiotlb). Signed-off-by: Keir Fraser <keir@xensource.com>
| | * | | | | | | | | | Enable IP_PNP support in 64bit domU (needed for xm ip= etc.)jrb44@plym.cl.cam.ac.uk2005-08-181-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: James Bulpin <james@xensource.com>
| | * | | | | | | | | | Fix the SWIOTLB to correctly match on bus addresses.kaf24@firebug.cl.cam.ac.uk2005-08-181-47/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| | * | | | | | | | | | fail domU creation if memory need couldn't be succeed after ballooning out dom0vh249@arcadians.cl.cam.ac.uk2005-08-181-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vincent Hanquez <vincent@xensource.com>
| | * | | | | | | | | | Enable MATCH_PHYSDEV netfilter support as a module.iap10@freefall.cl.cam.ac.uk2005-08-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: iab@xensource.com
| | * | | | | | | | | | Fix e820 array stack overflowiap10@freefall.cl.cam.ac.uk2005-08-171-1/+2
| | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't see the problem on machine that I typically use, but I found and fixed the problem on a big machine. It was causing a stack overflow. If you look at the current code, it's a bit dangerous, see => part. This patch fixes it. From: "Nakajima, Jun" <jun.nakajima@intel.com> Signed-off-by: ian@xensource.com
| | * | | | | | | | | We found machines with >32 E820 memory map entries, where Xen fails tokaf24@firebug.cl.cam.ac.uk2005-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boot (but Linux does boot fine). The native Linux (both x86 and x86_86) already has: #define E820MAX 128 /* number of entries in E820MAP */ Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
| | * | | | | | | | | Fix vmalloc_fault() path for x86/64 XenLinux.kaf24@firebug.cl.cam.ac.uk2005-08-171-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There may be a deeper underlying problem w.r.t pagetable initialisation at start of day, but this simple fix is a good workaround until we have time to investigate properly. Signed-off-by: Keir Fraser <keir@xensource.com>
| | * | | | | | | | | Fix the skbuff allocator for multi-page buffers.kaf24@firebug.cl.cam.ac.uk2005-08-171-16/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pci-dma.c still needs fixing to recognise contiguous multi-page buffers. Signed-off-by: Keir Fraser <keir@xensource.com>
| | * | | | | | | | | Formatting cleanup.kaf24@firebug.cl.cam.ac.uk2005-08-171-7/+8
| | | | | | | | | | |
| | * | | | | | | | | have a useful line reporting when IOMMU_BUG_ON triggervh249@arcadians.cl.cam.ac.uk2005-08-171-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vincent Hanquez <vincent@xensource.com>
| | * | | | | | | | | fix missing swiotlb.c file in linux build after running cleanup.vh249@arcadians.cl.cam.ac.uk2005-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vincent Hanquez <vincent@xensource.com>
| * | | | | | | | | | Update probe code for backend layout.cl349@firebug.cl.cam.ac.uk2005-08-182-88/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backend directories are of form backend/<type>/<frontend-uuid>/<id>. This extra level makes an asymmetry with front ends (device/type/id) and are too long to make nice bus-ids under Linux, but the code isn't too horrible, and an OS which only wants to be a guest doesn't need to implement it. It allows backends to calculate the front-end path directly, which is a nice benefit. Also: subtype matching is tightened: they must match exactly. That way a future variant which requires a specific driver will not match current drivers. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | | | | | | | Tidy up a bit.sos22@douglas.cl.cam.ac.uk2005-08-193-27/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Steven Smith, sos22@cam.ac.uk
* | | | | | | | | | | A really nasty workaround for a race.sos22@douglas.cl.cam.ac.uk2005-08-1812-104/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Steven Smith, sos22@cam.ac.uk
* | | | | | | | | | | Actually make suspending SMP domUs work: the previous commit didn'tsos22@douglas.cl.cam.ac.uk2005-08-1815-34/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bring the other vcpus up correctly. Signed-off-by: Steven Smith, sos22@cam.ac.uk
* | | | | | | | | | | Make xm save/restore work for SMP guest domains.sos22@douglas.cl.cam.ac.uk2005-08-171-2/+78
| |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Steven Smith, sos22@cam.ac.uk
* | | | | | | | | | Fix module build by removing duplicate EXPORT_SYMBOL ofkaf24@firebug.cl.cam.ac.uk2005-08-171-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dma_alloc_coherent and dma_free_coherent.
* | | | | | | | | | Allocate_empty_lowmem_regions available to non-priv domainskaf24@firebug.cl.cam.ac.uk2005-08-172-4/+2
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and to modules. From Ross Mcilroy.
* | | | | | | | | mergeiap10@freefall.cl.cam.ac.uk2005-08-172-3/+4
|\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ merge?cl349@firebug.cl.cam.ac.uk2005-08-171-1/+1
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Restore domains with a different uuid than they had.cl349@firebug.cl.cam.ac.uk2005-08-172-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed for migration to localhost and migration between hosts with a shared/distributed xenstore. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | | | | | | | Another tweak to the network-bridge script.iap10@freefall.cl.cam.ac.uk2005-08-171-2/+1
| |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: ian@xensource.com
* | | | | | | | | | Python build fix.kaf24@firebug.cl.cam.ac.uk2005-08-171-1/+1
|/ / / / / / / / /
* | | | | | | | | Recreate watches on domain restore.cl349@firebug.cl.cam.ac.uk2005-08-173-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | | | | | Clear "/control/shutdown" node on domain restore.cl349@firebug.cl.cam.ac.uk2005-08-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | | | | | xenbus build and license fixes.kaf24@firebug.cl.cam.ac.uk2005-08-174-34/+64
| | | | | | | | |
* | | | | | | | | Add support for XENSTORED_TRACE to enable trace output from xenstored.cl349@firebug.cl.cam.ac.uk2005-08-171-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set XENSTORED_TRACE in /usr/sbin/xenstored's environment to enable the trace output. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | | | | | Fix compile warning from zero-length printf format string.cl349@firebug.cl.cam.ac.uk2005-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | | | | | merge?cl349@firebug.cl.cam.ac.uk2005-08-178-91/+144
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Yet another work-around in the network-bridge scriptiap10@freefall.cl.cam.ac.uk2005-08-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From: Zhai, Edwin [edwin.zhai@intel.com] Signed-off-by: ian@xensource.com
| * | | | | | | | | Really randomise MAC addresses for multi-VIF guests.kaf24@firebug.cl.cam.ac.uk2005-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reseeding on every VIF doesn;t work as timeofday doesn't change quickly enough. Signed-off-by: Jim Dykman <dykman@us.ibm.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * | | | | | | | | Add a couple of well chosen assertions to new contextkaf24@firebug.cl.cam.ac.uk2005-08-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | switch code. Signed-off-by: Keir Fraser <keir@xensource.com>
| * | | | | | | | | Fix context switching race which could cause vcpu_pause()kaf24@firebug.cl.cam.ac.uk2005-08-166-91/+139
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to not actually do its job properly. This requires us to move clearing of VCPUF_running to be protected by the scheduler lock. Signed-off-by: Keir Fraser <keir@xensource.com>
* / | | | | | | | Avoid spurious "Ignoring shutdown request" messages, fix memory leak and simplifcl349@firebug.cl.cam.ac.uk2005-08-171-7/+11
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | y code. Also fix whitespace. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | | | | Don't bail early if we detect that time goes backwards.cl349@firebug.cl.cam.ac.uk2005-08-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | | | | cleanup whitespace.cl349@firebug.cl.cam.ac.uk2005-08-161-24/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | | | | merge?cl349@firebug.cl.cam.ac.uk2005-08-161-30/+15
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix xtime_lock handling in timer interrupt. There's no needkaf24@firebug.cl.cam.ac.uk2005-08-161-30/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to hold it while doing local VCPU work, and there might be danger of deadlock if we do. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | | | | | Only introduce domain to the store when we have store channel _and_ mfn.cl349@firebug.cl.cam.ac.uk2005-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | | | | | In direct_remap_area_pages, reset w pointer for next loop after use.cl349@firebug.cl.cam.ac.uk2005-08-161-1/+1
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | | | | Use a SWIOTLB to use pre-reserved bounce buffers for high memorykaf24@firebug.cl.cam.ac.uk2005-08-1624-604/+1002
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and multi-page DMA accesses. This is based on a preliminary patch from Suresh Siddha at Intel. Signed-off-by: Keir Fraser <keir@xensource.com> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
* | | | | | | | Add grant table support to block tap.akw27@arcadians.cl.cam.ac.uk2005-08-164-24/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds grant table support to the block tap. The AIO support introduced in patch 9f0eff879d8913a824280cf67658a530c80e8424 still works -- The tap code maps a granted page twice, once in kernel and once in user. The kernel page is patched into the p2m table and pages added to the user vm_area are mapped to the appropriate underlying struct pages using the VM_FOREIGN hooks in get_user_pages(). Comparing block IO from dom0 to the existing block backend, and to the tap managing the same partition as the BE from user space with AIO, I get the following performance: Version 1.03 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP xen0 2G 31198 95 56818 8 20967 2 28415 77 59595 4 264.9 0 xenU-blkbe2cpuGT 2G 31157 96 54026 10 25585 4 30664 90 64919 7 292.7 0 xenU-blktp2cpuGT 2G 32313 97 54217 8 20950 3 28117 87 65924 4 191.8 0 Signed-off-by: andrew.warfield@cl.cam.ac.uk
* | | | | | | | Disable xenconsoled throttling for now.kaf24@firebug.cl.cam.ac.uk2005-08-161-0/+2
| | | | | | | |
* | | | | | | | Under the right circumstances, xenconsoled will corrupt its internal kaf24@firebug.cl.cam.ac.uk2005-08-161-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | list of domains causing a SEGV. This is usually characterized by a rapid number of creations/destructions. The attached patch fixes this. 1) Fix uninitialized next pointer. This could sometimes cause xenconsoled to SEGV on an invalid domain pointer 2) Fix race condition in iterating domain list where removing a domain in a callback could lead to the iterators becoming invalid. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | | | | | | | mergeiap10@firebug.cl.cam.ac.uk2005-08-166-10/+34
|\ \ \ \ \ \ \ \
| * | | | | | | | Enable multi-word DMA mode 2 for the PIIX3 chipsetadsharma@los-vmm.sc.intel.com2005-08-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch, Linux PIIX3 driver would see ultra DMA and get confused and ended up disabling DMA. With the patch, we're able to see 3x increase in disk read throughput. Signed-off-by: Winston Wang <winston.l.wang@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
| * | | | | | | | Distinguish ioemu handled devices and para virtualized devicesadsharma@los-vmm.sc.intel.com2005-08-154-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
| * | | | | | | | Don't leave vncviewer processes running if xm create failsadsharma@los-vmm.sc.intel.com2005-08-151-2/+10
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Edwin Zhai <edwin.zhai@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* | | | | | | | mergeiap10@firebug.cl.cam.ac.uk2005-08-161-1/+2
|\ \ \ \ \ \ \ \