Commit Graph
3258 Commits
Author SHA1 Message Date
mjw@wray-m-3.hpl.hp.com 4db4e4f09f bitkeeper revision 1.1159.258.1 (420b963fGDqQqmlp_DO3u-T_klF82g)
Fixes to make the vnet module compile under 2.6.10.
Thanks to Brian Bruce for spotting the problem and
suggesting fixes.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-02-10 17:13:35 +00:00
iap10@freefall.cl.cam.ac.uk 6be18e86c3 bitkeeper revision 1.1159.223.84 (420a6831W2g6HHtXksV16NZox0sA5Q)
Subject: [Xen-devel] [PATCH 1/2] netfront coding style clean-up (trivial)

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: ian@xensource.com
2005-02-09 19:44:49 +00:00
iap10@tetris.cl.cam.ac.uk 0eef50acd6 bitkeeper revision 1.1159.223.83 (42097c41y12EFATQuIKPTDS1smnkWQ)
Subject: [Xen-devel] [PATCH] Fix initrd support for Linux 2.4/2.6

The following patch sets the default root device to be the null device. 
This is the behavior Linux is launched with no root device specified in
the command line and without a device provided by the boot loader.
Previously, the default root device was set to be /dev/ram0.  This broke
initrd support.  This change was made in 2.6 to because of a bug
reported on September 14th with dynamic ipconfig.  I've recreated his
problem and looked through the code and the source of the problem was
that his kernel command line was incorrect. He was missing the BOOTP
field in the config line requiring that there be an actual root device.
This worked with 2.4 but only because 2.4 was also broken.  His patch
just introduced that bug into 2.6.
I've tested this against the 2.6 and 2.4 trees in a recent copy of
xen-unstable.  I've tested initrd support and ipconfig support
(including dynamic ip support).  They both now work as expected.
If anyone needs an initrd for testing let me know.
Regards,
-- 
Anthony Liguori
Linux Technology Center (LTC) - IBM Austin
E-mail: aliguori@us.ibm.com
Phone: (512) 838-1208
Signed-off-by: Anthony Liguori
Signed-off-by: ian@xensource.com
2005-02-09 02:58:09 +00:00
iap10@labyrinth.cl.cam.ac.uk 09d5eb5720 bitkeeper revision 1.1159.223.82 (42093f8cxZb9FQfWwmj7IIok9ndiPg)
minor stats collection addition
ian@xensource.com
2005-02-08 22:39:08 +00:00
iap10@freefall.cl.cam.ac.uk faf69408ee bitkeeper revision 1.1159.223.81 (42091872lrObHIRNczDaqDeQw3NmyA)
debug memory audit cleanups + comment fix from Jon Mason.
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-08 19:52:18 +00:00
iap10@freefall.cl.cam.ac.uk 055935cf6d bitkeeper revision 1.1159.223.80 (4208de05Xtv_u_3smJSRU6ex6bTAfA)
Some functions aren't static and could be (damn C language!).

I tried turning on -Wmissing-prototypes: unfortunately gives warnings
for functions used in asm, which means introducing gratuitous prototypes
for them.  Not sure it's worth it.

1) keyhandler.c: keypress_softirq() and do_task_queues() can be static.
2) physdev.c: pcidev_dom0_hidden() can be static.
3) resource.c/resource.h: check_region is deprecated (racy): remove.
4) sched_bvt.c: lots of things can be static.
5) pci/compat.c: not required for Xen.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-08 15:43:01 +00:00
iap10@labyrinth.cl.cam.ac.uk 02f82c2788 bitkeeper revision 1.1159.223.79 (42082ea1obdbIutzD0IY-9Fdcf7Exw)
Fix to memory debugging audit code.
  
Signed-off-by: ian@xensource.com
2005-02-08 03:14:41 +00:00
iap10@labyrinth.cl.cam.ac.uk f5fedc454d bitkeeper revision 1.1159.223.78 (42081302-eWxmHBN6T8FdRJD5VvsOg)
This very simple patch is really just cosmetic.  It "fixes" xend so that
it doesn't report restart as: "WARNING (XendDomainInfo:1038) Unknown
config field restart" in the xend.log.  I'm not sure who should sign off
on this, but the patch is attached.

From: "B.G. Bruce" <bgb@nt-nv.com>
Signed-off-by: ian@xensource.com
2005-02-08 01:16:50 +00:00
kaf24@scramble.cl.cam.ac.uk 90dd5b6a18 bitkeeper revision 1.1159.223.77 (4207bd65yRdFmE9Py8fLUBk3826_Ig)
Minor tidy of vif-nat script.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-07 19:11:33 +00:00
iap10@freefall.cl.cam.ac.uk 6f6dcfb95e bitkeeper revision 1.1159.223.76 (4207b472nHz4nbC_OJgbSmfRVow8XQ)
Don't let xend throw away stderr...
2005-02-07 18:33:22 +00:00
iap10@labyrinth.cl.cam.ac.uk d08dd0ac71 bitkeeper revision 1.1159.223.75 (42078dd8VBcyJ0X9yF-bRHcBVUJ3Ww)
As pointed out on the xen-devel list, the vm86 call was not very robust in 
Xen.
It turned out to be due to a missing check in the pagefault handler, 
determining whether the pagefault came from userspace or from the kernel.
Now the syscall-crash tool doesn't cause any "Oops" on the vm86 calls anymore.

From: Stephan Diestelhorst <sd386@cam.ac.uk>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-07 15:48:40 +00:00
kaf24@scramble.cl.cam.ac.uk 88381e599a bitkeeper revision 1.1159.223.74 (420757a9FtyPHOdlg42s6EIT2DD1zw)
Pad Xen image to end on a page boundary. Avoids kexec bug.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-07 11:57:29 +00:00
kaf24@viper.(none) cef3a40634 bitkeeper revision 1.1159.223.73 (42061207JyX53LmlrclgfiWwVqnF7w)
Avoid large stack frame in arch_dom0_op by dynamically allocating space
for getmeminfo batch.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-06 12:48:07 +00:00
kaf24@viper.(none) c0d41e4315 bitkeeper revision 1.1159.223.72 (42060910CAWXk13FiquPxR_uRrD_1A)
Prevent stack overflow in PCI setup code.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-06 12:09:52 +00:00
kaf24@viper.(none) 33788f79da bitkeeper revision 1.1159.223.71 (42060876pgZEpnal0wuK3VOOWP9zCQ)
Fix build system to rebuild file containing banner text every time.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-06 12:07:18 +00:00
iap10@freefall.cl.cam.ac.uk a30533c446 bitkeeper revision 1.1159.223.70 (4205e5daVr3OnfNS5GMFcoc8j80ODQ)
trivial fix to the ioremap for local pages
2005-02-06 09:39:38 +00:00
kaf24@scramble.cl.cam.ac.uk 8a830062ec bitkeeper revision 1.1159.223.69 (4204be8dLxMs-eFXEJxgXu_dhM7vLw)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
2005-02-05 12:39:41 +00:00
kaf24@scramble.cl.cam.ac.uk 48ff6b71e1 bitkeeper revision 1.1159.245.1 (4204be86F8AKmyv5_m4N44YWgyyt_Q)
Another NMI watchdog fix. Deferred NMIs need to ACK the local APIC.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 12:39:34 +00:00
mafetter@fleming.research f18239411b bitkeeper revision 1.1159.223.68 (4204a5090n9Cd2ll6YcdL3tK2uDu1A)
Bug fix to the scheduler for writable page tables.
Don't flush the writable page tables inside __enter_scheduler()
until after we've committed to switching to another domain.

Here's the problem: if enough debugging messages are enabled (for
example, shadow mode and/or writable page tables messages), then we
can get into a situation where we *always* visit
__enter_scheduler() after every page fault and/or hypercall.  If we
flush the writable page tables every time we take a page fault,
we'll never end up actually getting into the domain with write
permissions enabled to its page table.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-05 10:50:49 +00:00
kaf24@scramble.cl.cam.ac.uk fc3efe0ada bitkeeper revision 1.1159.223.67 (4204a089yB7FSdCp0Isa4dMFs_V3qQ)
Building PIC .so libs is now optional. Defaults to enabled for Debian.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 10:31:37 +00:00
iap10@labyrinth.cl.cam.ac.uk d8ab68ec41 bitkeeper revision 1.1159.223.66 (42048ef5frMFQFFm-sKDC6PrU8yraQ)
Name: pic-lib.patch
Description: support PIC code generation
 Libraries have 2 methods of being compiled; a .so must contain non-pic
 objects, while the .a can contain standard objects.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:16:37 +00:00
iap10@labyrinth.cl.cam.ac.uk bc7cc5527b bitkeeper revision 1.1159.223.65 (42048dd7csr55HLi2cE2XeC4OklTGg)
Name: clean-mtrr.patch
Description: clean mtrr
 Clean xen/arch/x86/mtrr/*
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:11:51 +00:00
iap10@labyrinth.cl.cam.ac.uk f7b633e6e8 bitkeeper revision 1.1159.223.64 (42048c67tDD9EILuuYdpEx-vM6LTnw)
Name: tools-misc-TARGETS.patch
Description: Split compile/link stages
 distcc behaves much better when you compile and link in 2 separate steps.
 Plus, this is a more standard way of doing things.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:05:43 +00:00
kaf24@scramble.cl.cam.ac.uk dc3c6686e6 bitkeeper revision 1.1159.223.63 (42028527-fv-d9BM0_LRp8UKGP19gQ)
Fix NMI deferral.
Signed-off-by: keir.fraser@cl.cam.ac.uk
RELEASE-2.0.4
2005-02-03 20:10:15 +00:00
kaf24@scramble.cl.cam.ac.uk 8fbc50190a bitkeeper revision 1.1159.223.62 (4202591aKU7cGiiCesn0hIfz1J0vUQ)
Fix bootmem allocator.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-03 17:02:18 +00:00
kaf24@scramble.cl.cam.ac.uk 557f25a0fa bitkeeper revision 1.1159.223.61 (4201e2eb-AZrvBiRdKncIUx8FuLkeA)
Fix ioremap() for local RAM pages.
2005-02-03 08:38:03 +00:00
cl349@arcadians.cl.cam.ac.uk 61573e2364 bitkeeper revision 1.1159.223.60 (42015cebANp9qR68FaUpAYoMHdrfpQ)
console.c:
  Disable watchdog before doing the 5 second delay before machine restart.

Signed-off-by: c@pin.lu
2005-02-02 23:06:19 +00:00
cl349@arcadians.cl.cam.ac.uk 8e1f3d67e1 bitkeeper revision 1.1159.223.59 (420156d4cxaGMuI8rtUWoTShsPVlNQ)
setup.c:
  Always disable irqdebug until we have a way to avoid interrupt conflicts.

Signed-off-by: c@pin.lu
2005-02-02 22:40:20 +00:00
mafetter@fleming.research 4e751b5fa0 bitkeeper revision 1.1159.223.58 (4200ed31YDg6myRSqtQaWLMgRgJ7dA)
Fix "make dist" so that it works from inside the xen subdirectory.
2005-02-02 15:09:37 +00:00
iap10@labyrinth.cl.cam.ac.uk a3eea3d441 bitkeeper revision 1.1159.223.57 (42009aa1vckOCJ3XiCz8SXnP4BQsFw)
Small hack to make CROMMULTISESSION ioctl return success rather than enosys, like we did on Xen 1.2.
From: Anthony Liguori aliguori@us.ibm.com 
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-02 09:17:21 +00:00
iap10@labyrinth.cl.cam.ac.uk 2eb8f64d4a bitkeeper revision 1.1159.223.56 (41fffbb0baSUSOWVCJ_0NFmEtCmUkw)
Fix the device number calculation for /dev/hd* device names;
ide device numbering works differently to scsi

Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-01 21:59:12 +00:00
iap10@labyrinth.cl.cam.ac.uk bae735390f bitkeeper revision 1.1159.223.55 (41fffadb9KX8y2tjTwUVGZRrZQdJ2g)
Fix incorrect result-check in xlvbd_init_device

Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-01 21:55:39 +00:00
kaf24@scramble.cl.cam.ac.uk 4baf6e1ed5 bitkeeper revision 1.1159.223.54 (41ff4a05JwUWXLAjyzybyxNxCOE3yw)
Defer NMI that cannot be handled, instead of dropping it completely.
2005-02-01 09:21:09 +00:00
iap10@labyrinth.cl.cam.ac.uk 744d0bbffb bitkeeper revision 1.1159.223.53 (41fc0c19tGe1rM62SUQk8WYZjH-D1Q)
Add iptables modules to the default xen0 kernel, and add example configuration files for a NAT setup.
2005-01-29 22:20:09 +00:00
kaf24@viper.(none) 161acb14dd bitkeeper revision 1.1159.223.52 (41fb7ba0KYbuQ5SmW1MZjMO0P-RCew)
Small build fixes. Xen and XenLinux now build for x86_32 from within an
x86_64 build environment if you set TARGET_ARCH=x86_32.
2005-01-29 12:03:44 +00:00
kaf24@scramble.cl.cam.ac.uk 085a587c38 bitkeeper revision 1.1159.223.51 (41fac87bR5uD5TAFu58tuaTMLSmbrw)
Fix makefiles creating copies instead of symlinks of shared libs.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@intel.com>
2005-01-28 23:19:23 +00:00
kaf24@scramble.cl.cam.ac.uk dbb2d95b1d bitkeeper revision 1.1159.223.50 (41fa5cb3P9qKPSczsZkXrCrJzdeZAg)
Linker fixes.
2005-01-28 15:39:31 +00:00
kaf24@scramble.cl.cam.ac.uk 3c3e0b071e bitkeeper revision 1.1159.223.49 (41fa5538VkhzExY3oLvE43gn3nUTRQ)
trivial elf-parsing fix.
2005-01-28 15:07:36 +00:00
cl349@arcadians.cl.cam.ac.uk 57a60cbb89 bitkeeper revision 1.1159.223.48 (41f9204fFDaBv7jCdF63bwx5zXNlNA)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/cl349/xen-2.0-testing.bk
2005-01-27 17:09:35 +00:00
cl349@arcadians.cl.cam.ac.uk 8f230701e2 bitkeeper revision 1.1159.234.1 (41f9203a3hESfmWBG29VVoqa-chOrA)
Build system cleanups.

Signed-off-by: c@pin.lu
2005-01-27 17:09:14 +00:00
kaf24@scramble.cl.cam.ac.uk 157e1a5562 bitkeeper revision 1.1159.223.47 (41f9109fKznqwLcV_lTngHAhBvwOZw)
Minor domU net-backend fixes.
2005-01-27 16:02:39 +00:00
kaf24@scramble.cl.cam.ac.uk 475057590a bitkeeper revision 1.1159.223.46 (41f8f0d9VFDhRZsmMXXU3I_OEu8ADQ)
silly mistake...
2005-01-27 13:47:05 +00:00
kaf24@scramble.cl.cam.ac.uk 04ce93fe81 bitkeeper revision 1.1159.223.45 (41f8f049ZJjSGVQ7S0Y7kGBwMIZfZQ)
No longer override target arch with ARCH but instead use TARGET_ARCH.
Xen now requires specification of TARGET_ARCH alone, not TARGET_ARCH
and TARGET_SUBARCH. Xen derives correct internal ARCH/SUBARCH components
automatically.
2005-01-27 13:44:41 +00:00
kaf24@scramble.cl.cam.ac.uk 2f34aafbb6 bitkeeper revision 1.1159.223.44 (41f8c832pMZZ7WmykH_gAUBQHtPF1A)
Allow target architecture to be specified by specifying ARCH variable to
root Makefile (e.g, make ARCH=x86_32).
2005-01-27 10:53:38 +00:00
iap10@freefall.cl.cam.ac.uk 35fcf16038 bitkeeper revision 1.1159.223.43 (41f7fa5dY-DhsXNFoEJlVfLdK5MEXQ)
fix missing space
2005-01-26 20:15:25 +00:00
kaf24@scramble.cl.cam.ac.uk 71e256b6ed bitkeeper revision 1.1159.223.42 (41f77751X73w7_t6jI0dgGV6N-Bweg)
More build system fixes and tweaks.
2005-01-26 10:56:17 +00:00
kaf24@scramble.cl.cam.ac.uk f92899900f bitkeeper revision 1.1159.223.41 (41f68883FaU7hVfFtWiOkCPnI6N1Hw)
Fix root Makefile so that targets only install to / if you do a 
'make install'. All other targets will install to local dist directory,
as before.
2005-01-25 17:57:23 +00:00
kaf24@scramble.cl.cam.ac.uk 3279b48916 bitkeeper revision 1.1159.223.40 (41f676cbajLGqFeWFqajtJ3X4OkgoA)
Build system fixes.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-01-25 16:41:47 +00:00
kaf24@scramble.cl.cam.ac.uk d63e6e0318 bitkeeper revision 1.1159.223.39 (41f66ce0jpkVCVDUEA2oOsgUQP1D9A)
Cset exclude: iap10@labyrinth.cl.cam.ac.uk|ChangeSet|20050122213003|38297
2005-01-25 15:59:28 +00:00
iap10@tetris.cl.cam.ac.uk 201fb48f09 bitkeeper revision 1.1159.223.38 (41f667cdBlErg8MU1cuAekL1VC008w)
More fixes to the build system further to earlier patch.
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-25 15:37:49 +00:00