Commit Graph
5407 Commits
Author SHA1 Message Date
vh249@arcadians.cl.cam.ac.uk 8ce61a2eaf bitkeeper revision 1.1705.1.12 (42a97f88WORgYhHS8W4t6DR8V9a0EQ)
signedness fix for gcc-4.0

Signed-off-by: Flavio Bruno Leitner <fbl@conectiva.com.br>
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-10 11:54:48 +00:00
vh249@arcadians.cl.cam.ac.uk 4cde09da63 bitkeeper revision 1.1705.1.11 (42a973edqzXeILWidAcIO3yLhNMSwQ)
fix compilation with newer binutils that don't accept the l suffix for mov when using segment register

Signed-off-by: Flávio Bruno Leitner <fbl@conectiva.com.br>
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-10 11:05:17 +00:00
kaf24@firebug.cl.cam.ac.uk a6de1aea05 bitkeeper revision 1.1705.1.10 (42a95ea6cCTdfA7-Kmu3_gnUMEq0gw)
user -> kernel syscall path must enable interrupts after all, since
it calls create_bounce_frame which can potentially fault. Thus we must
also test_all_events.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-10 09:34:30 +00:00
kaf24@firebug.cl.cam.ac.uk 66489862c5 bitkeeper revision 1.1705.1.9 (42a958fa_rGV-3MvG5pqfsVcnP31ag)
Fixup SYSCALL path correctly in xenlinux when calling into C code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-10 09:10:18 +00:00
kaf24@firebug.cl.cam.ac.uk 684d27a678 bitkeeper revision 1.1705.1.8 (42a95272T6JE4ReAkgMVg0Rte2ppxA)
Install/uninstall xenstore headers.
2005-06-10 08:42:26 +00:00
kaf24@firebug.cl.cam.ac.uk e006314ac5 bitkeeper revision 1.1705.1.7 (42a94e88EO8US-LmAPxu7rbUmKFdUg)
Move saved_upcall_mask in cpu_user_regs to CS+4 rather than CS+2 on
x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-10 08:25:44 +00:00
kaf24@firebug.cl.cam.ac.uk 8b13b1d610 bitkeeper revision 1.1705.1.6 (42a94be9biM7y73pQvdqqpsIyNCu6Q)
x86/64 linux needs rtc driver so that it can set correct kernel time.
todo: emulate (or pass-through) read accesses to rtc ports within xen,
so that domu can access rtc too.
Signed-off-by: Li B Xin <li.b.xin@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-06-10 08:14:33 +00:00
kaf24@firebug.cl.cam.ac.uk a7b5369e75 bitkeeper revision 1.1705.1.5 (42a93db3F6-7PVzPrv8GU77FFEN-VQ)
Fix ia64 build.
Signed-off-by: Fred Yang <fred.yang@intel.com>
2005-06-10 07:13:55 +00:00
kaf24@firebug.cl.cam.ac.uk 453e69e753 bitkeeper revision 1.1705.1.4 (42a93b72dCp-0yWsUC34zD8h-L-QLg)
Adding the VMCS encodings as per "Intel Virtualization Technology
Specification for the IA-32 Intel Architecture", and removing hard
coded values. Code cleanup & preparation for 64bit VMX guest support.

Signed-Off-By: Chengyuan Li <chengyuan.li@intel.com>
Signed-Off-By: Yunhong Jiang <hunhong.jiang@intel.com>
Signed-Off-By: Jun Nakajima <jun.nakajima@intel.com>
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
2005-06-10 07:04:18 +00:00
kaf24@firebug.cl.cam.ac.uk ed7f7379ec bitkeeper revision 1.1705.1.3 (42a939a4PcnfLTkKVDZMeUSheRKsng)
'make uninstal' cleanups.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-06-10 06:56:36 +00:00
kaf24@firebug.cl.cam.ac.uk 4d8752e9ee bitkeeper revision 1.1705.1.2 (42a9372fTpt-bOGdIcKsOLb8_xlJ4Q)
Remove tools/ioemu/pc-bios. We have replacements in tools/firmware
now.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-10 06:46:07 +00:00
mwilli2@equilibrium.research 3a431a224c bitkeeper revision 1.1705.1.1 (42a8f3c2-cPCJhjiT7sAAqBGBwdd6w)
Tiny tweak to fix ballooning via Xend.
2005-06-10 01:58:26 +00:00
kaf24@firebug.cl.cam.ac.uk bd031b9bbc bitkeeper revision 1.1705 (42a8a185wutSw6hue95Thw_5_jDPZw)
Xenstore build fixes for x86/64.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
2005-06-09 20:07:33 +00:00
kaf24@firebug.cl.cam.ac.uk 996fe4998a bitkeeper revision 1.1704 (42a885cb3_kkMMOYtYN_PaWP3tupbA)
Merge Scotts's pte_mfn patch with some extra merging between xen/i386
and xen/x86_64. An obvious further step is to fix xen/x86_64's
pci-dma.c and pci-nommu.c to be closer to native x86_64 versions.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-09 18:09:15 +00:00
vh249@airwolf.cl.cam.ac.uk 857be0b87b bitkeeper revision 1.1703 (42a881c8OTeDO-DPkTSLEnBspOFEIA)
missing include that is need when compiling with debug

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-09 17:52:08 +00:00
kaf24@firebug.cl.cam.ac.uk bc774b4f6c bitkeeper revision 1.1702 (42a86f65gBB_DT3imKRA_tkGBTiKQA)
Fix io_apic -> i8259 irq handling transition.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-09 16:33:41 +00:00
cl349@firebug.cl.cam.ac.uk f714dce0e5 bitkeeper revision 1.1701 (42a86974YOr10ovEkVsFyCaBsXe73A)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-06-09 16:08:20 +00:00
kaf24@firebug.cl.cam.ac.uk 7607ba2da7 bitkeeper revision 1.1699.1.1 (42a85f6955KSFCuD5KSRtCwU-dzakQ)
Clean up the page allocator interface a little. In particular
physical addresses are now passed as physaddr_t rather than unsigned
long (required for 32-bit pae mode).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-09 15:25:29 +00:00
cl349@firebug.cl.cam.ac.uk 06940d306a bitkeeper revision 1.1700 (42a854e79oBFuqa_DSY4Lr9IhenUQw)
Merge xenstore changes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-09 14:40:39 +00:00
cl349@firebug.cl.cam.ac.uk 8b624164ab bitkeeper revision 1.1662.1.22 (42a852969xilS9HOsAWARXW2hEx3FQ)
XendDomain.py:
  Fix commants and remove debugging output.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-09 14:30:46 +00:00
akw27@arcadians.cl.cam.ac.uk 34446ff07c bitkeeper revision 1.1699 (42a84d06sZDrQ46g-Bcc7JqWMygr2Q)
Fix a bug with snapshots that was introduced with the crc code.
2005-06-09 14:07:02 +00:00
akw27@arcadians.cl.cam.ac.uk 1321049c95 bitkeeper revision 1.1698 (42a84631sHlAKgVzdlR-RsCeAqkv_Q)
Clean up blktaplib headers.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: andrew.warfield@cl.cam.ac.uk
2005-06-09 13:37:53 +00:00
kaf24@firebug.cl.cam.ac.uk 3813ce0c7a bitkeeper revision 1.1697 (42a843b5ZTFdEDRffbieMVV4Kl42cQ)
Multicall macro should mark all caller-saved registers as clobbered
across the function call.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
2005-06-09 13:27:17 +00:00
sos22@douglas.cl.cam.ac.uk 71acbce63a bitkeeper revision 1.1696 (42a81fe89VPLawDxu2WTiKLZH-Br3Q)
Make sure the grant table stuff uses locked cmpxchg instructions even when compiled
!CONFIG_SMP.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2005-06-09 10:54:32 +00:00
akw27@arcadians.cl.cam.ac.uk 7556663ceb bitkeeper revision 1.1695 (42a80eb0iCQq47kS2MSpOLTFyng5Cg)
Parallax fixes/updates:
- all data access now through the async lookup code.
- added synchronous wrappers for tools to use.
- added end-to-end crc32 on all image blocks
- various other fixes/cleanups/test stubs.

Signed-off-by: andrew.warfield@cl.cam.ac.uk
2005-06-09 09:41:04 +00:00
akw27@arcadians.cl.cam.ac.uk 7995fce763 bitkeeper revision 1.1694 (42a809c2ifgYRhvnYmx3rxzVbUxHaQ)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
2005-06-09 09:20:02 +00:00
cl349@firebug.cl.cam.ac.uk 42d8ee3480 bitkeeper revision 1.1662.1.21 (42a80585xAt7ZrRcqmCRm3HvTrL7Mg)
Many files:
  Switch to xenstore for storing persistent information.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-09 09:01:57 +00:00
cl349@firebug.cl.cam.ac.uk 57c8cb2125 bitkeeper revision 1.1662.1.20 (42a8054awYd-HJnwjnXqXtWmKbE1Yw)
SrvDaemon.py:
  Disable kill of xenstored on xend exit.
xu.c:
  Set error reason in failure case.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-09 09:00:58 +00:00
cl349@firebug.cl.cam.ac.uk 4950ce2094 bitkeeper revision 1.1662.1.19 (42a7fc77l8eaADfKlC54hXF6Q28YRQ)
control.c:
  Add debug print to message receive.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-09 08:23:19 +00:00
kaf24@firebug.cl.cam.ac.uk 3b5379e592 bitkeeper revision 1.1691.1.17 (42a7f4a8YIvSwDOLo91rE5lR-L4Nbw)
Move vmxloader to /usr/lib/xen/boot/.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-09 07:50:00 +00:00
kaf24@firebug.cl.cam.ac.uk 910bf81124 bitkeeper revision 1.1691.1.16 (42a7f3f3e6lVJ85_T1bXVdbucWiu9g)
This patch removes -noht option (both code and doc).
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-06-09 07:46:59 +00:00
arun.sharma@intel.com[kaf24] a12d72746b bitkeeper revision 1.1691.1.15 (42a7f2c1I-jntucQIjoRZz_dLuAOpw)
[PATCH] vmx-doirq-vector.patch

do_IRQ() expects a vector instead of an irq now due to a recent change.
With this patch, VMX domains can boot again.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-09 07:41:53 +00:00
arun.sharma@intel.com[kaf24] fcdccb56da bitkeeper revision 1.1691.1.14 (42a7f2b43iPqu7TV41Z28IeI0Wj1Vg)
[PATCH] vmresume-vmx-bug.patch

If vmresume/launch fails, only the affected domain should crash.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-09 07:41:40 +00:00
kaf24@firebug.cl.cam.ac.uk 4e52d0fcb3 bitkeeper revision 1.1691.1.13 (42a767bfQ0_UVkV0FEMxkQeSluJPmA)
More irq changes: moving towards addressing irqs by vector rather than
'irq index'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-08 21:48:47 +00:00
vh249@arcadians.cl.cam.ac.uk fa8ef4c886 bitkeeper revision 1.1691.1.12 (42a72cff38eaDHEmZxzsbqSZgxARAA)
.del-bugs.h~d4d01078e5137b63:
  Delete: linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/bugs.h
2005-06-08 17:38:07 +00:00
vh249@arcadians.cl.cam.ac.uk b56d04ec4b bitkeeper revision 1.1691.1.11 (42a72af5QNdnBWsIc8m-lsGSZo47vQ)
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/vh249/fpu/xen-unstable.bk
2005-06-08 17:29:25 +00:00
vh249@arcadians.cl.cam.ac.uk 3dbc2b49f3 bitkeeper revision 1.1159.258.164 (42a7277bdZm8DZjc_UHJ0TWuobiRXw)
reenable TS flag after testing for fdiv bug. fix the fpu corruption that some config have

Signed-off: Vincent Hanquez <vincent@xensource.com>
2005-06-08 17:14:35 +00:00
kaf24@firebug.cl.cam.ac.uk 004746f41c bitkeeper revision 1.1691.1.10 (42a70b27-Oq9klHVoCm0PlmeoehF8g)
Config option is CONFIG_X86_PAE, not CONFIG_PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-08 15:13:43 +00:00
kaf24@firebug.cl.cam.ac.uk e03c42d530 bitkeeper revision 1.1691.1.9 (42a70b03wo-ZAstvnpad9RB8VIHDAA)
Fix gcc4 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-08 15:13:07 +00:00
kaf24@firebug.cl.cam.ac.uk 2c4cc07fe7 bitkeeper revision 1.1691.1.8 (42a6fb21d3oJwpLmOxa2jKHRJ-8fJg)
First phase of removing IRQ numbers from Xen (transitioning to
IRQ addressing by 'legacy ISA IRQ', 'interrupt vector', and 
'I/O APIC address + pin' as appropriate). Overall plan is to move
I/O APIC parsing and setup out of Xen (so we start DOM0 in virtual wire
mode).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-08 14:05:21 +00:00
akw27@arcadians.cl.cam.ac.uk 793fa3572d bitkeeper revision 1.1693 (42a6e907gUWgpcjzXD2dFMNiFLL5Rw)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
2005-06-08 12:48:07 +00:00
kaf24@firebug.cl.cam.ac.uk 44eab34cc4 bitkeeper revision 1.1691.1.7 (42a6d8e19C3UPsmlA3u--9L4iY559Q)
Integrate virtual firmware into the tools build system.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-08 11:39:13 +00:00
kaf24@firebug.cl.cam.ac.uk bf3d595a7c bitkeeper revision 1.1691.1.6 (42a6b81aGnsCnSz81D0LDCSasR3Jyw)
Export xen_section info from generic Elf parser. Use this to detect
PAE mismatch between Xen and dom0 image.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-08 09:19:22 +00:00
kaf24@firebug.cl.cam.ac.uk 13e63314c4 bitkeeper revision 1.1691.1.5 (42a6b4baIjkVZx9lVWvoA9RqgAGLMQ)
The following allows you to run unmodified guest operating systems
under Xen on VMX (VT) enabled processors. The tree lives under
<ROOT>/tools/dfw. Instead of booting a guest kernel, boot vmxloader and
specify the disk image in qemurc.

        Leendert

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-06-08 09:04:58 +00:00
arun.sharma@intel.com[kaf24] 40eafaacb1 bitkeeper revision 1.1691.1.4 (42a6af07Q4gVBgwNowk1mRBYhuAX_A)
[PATCH] vmx-io-events.patch

- Handle the case where the VMX domains get events from ports other than
  IOPACKET_PORT (because of paravirtualized drivers)

- Use clear_bit() to operate on evtchn_upcall_pending

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-08 08:40:39 +00:00
kaf24@firebug.cl.cam.ac.uk 5d16f9bb6f bitkeeper revision 1.1691.1.3 (42a6aecafCIqSXqRF1ueb8i0jgar3w)
Fix 'no value returned in non-void function' warnings on x86/64 gcc.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-08 08:39:38 +00:00
kaf24@firebug.cl.cam.ac.uk 45b46bfacb bitkeeper revision 1.1691.1.2 (42a6ae59pOLKl7oBFyH6Ukzy7yg3EA)
read/write control-reg macros are now same in xenlinux as native linux.
Signed-oiff-by: Keir Fraser <keir@xensource.com>
2005-06-08 08:37:45 +00:00
kaf24@firebug.cl.cam.ac.uk 988e686160 bitkeeper revision 1.1691.1.1 (42a6ada344SrT9VotpxjpMFmC9Wsng)
Increase max cmdline to 1024 characters.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-08 08:34:43 +00:00
akw27@arcadians.cl.cam.ac.uk 7cb16b36cb bitkeeper revision 1.1692 (42a6a969MoQ9te2DJVndEsbImXvW7g)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
2005-06-08 08:16:41 +00:00
kaf24@firebug.cl.cam.ac.uk b9ed424f28 bitkeeper revision 1.1691 (42a5bd892a-21ifB8kNwgNvEid-K_Q)
Reove IRQ balancer from Xen. It is unused, and balancing will be done
by the guests themselves.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-07 15:30:17 +00:00