Commit Graph
5649 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk e27fcf3739 Remove non-ISO attributes from public headers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-02 08:41:48 +00:00
kaf24@firebug.cl.cam.ac.uk 14f7caf775 Register the portio handler only once.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-01 21:25:45 +00:00
kaf24@firebug.cl.cam.ac.uk 2f7020fc57 Refactor guest exception injection code.
- Exceptions get reflected to the guest by default, instead of crashing
  the domain.
- Reduce code duplication and improve maintainability.

Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-01 21:25:19 +00:00
kaf24@firebug.cl.cam.ac.uk 7545be423c Improve the IDE HD geometry auto detection algorithm.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Asit K Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-01 21:24:09 +00:00
kaf24@firebug.cl.cam.ac.uk a2fe25371c Get rid of references to qemu-dm.debug. 2005-07-01 17:26:37 +00:00
kaf24@firebug.cl.cam.ac.uk 2261d4ae64 Another issue found with building the guest outside the source tree.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 16:07:53 +00:00
kaf24@firebug.cl.cam.ac.uk f28df64de9 I found several build issues, mostly related to building outside of the
source tree. Below/attached adjustments for these.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 15:49:43 +00:00
kaf24@firebug.cl.cam.ac.uk 02b3ea00b3 Other than the native kernels, the xen guests install without attempting
to use distribution provided mechanisms, thus e.g. preventing the
auto-generation of an initrd. Below/attached a suggestion to adjust that.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 15:48:47 +00:00
kaf24@firebug.cl.cam.ac.uk b42a1fafc6 Other than native x86-64 code, the XEN guest *does* use 4k mappings for
the contiguous kernel mapping of (physical) memory. Thus the code in
change_page_attr needs to work like on i386 (where large pages are used
only conditionally) rather than like native x86-64. Patch below/attached.
Not doing so triggered the BUG_ON during load of intel-agp on machines
with i915 chipset.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 15:47:46 +00:00
kaf24@firebug.cl.cam.ac.uk 1c626b55a6 Some exports were misssing/mis-qualified. Adjustment below/attached.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 15:46:41 +00:00
kaf24@firebug.cl.cam.ac.uk eac337aae7 Other than native i386 code, the page fault handler in the guest for
whatever reason ran a stack_trace even though another one is run from
die(). Since screen space is limited, duplicating (perhaps long) stack
traces seems quite wasteful. Patch removing this duplication below/attached.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 15:45:39 +00:00
kaf24@firebug.cl.cam.ac.uk 580220fea2 This patch fixes few typos in hg-cheatsheet.txt
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-07-01 15:43:44 +00:00
cl349@firebug.cl.cam.ac.uk f989852d7f Manual merge. 2005-07-01 14:32:22 +00:00
cl349@firebug.cl.cam.ac.uk d95ccfd64f Rewrite xenbus_path and cleanup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-01 14:31:22 +00:00
kaf24@firebug.cl.cam.ac.uk 1f1b0c92ed Fix Xen 'make install' not to rebuild console.o if called
from sudo environemnt, for example.
2005-07-01 14:30:46 +00:00
kaf24@firebug.cl.cam.ac.uk fe2ee19268 Manual merge. 2005-07-01 13:35:03 +00:00
cl349@firebug.cl.cam.ac.uk d07778ac00 Remove incorrect check for terminating nul character.
The terminating nul character is not stored in the store but
added by read_reply.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-01 13:30:45 +00:00
kaf24@firebug.cl.cam.ac.uk 8fb19ae4b1 . 2005-07-01 13:17:53 +00:00
kaf24@firebug.cl.cam.ac.uk e8be5b7354 Remove BitKeeper files from the repository.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-01 12:48:40 +00:00
kaf24@firebug.cl.cam.ac.uk 6c6af98325 Manual merge 2005-07-01 12:45:24 +00:00
jrb44@plym.cl.cam.ac.uk e9d8803672 Removed "bk root" call from fbsdxensetup script
The script assumes the current directory to be the top of the xen tree.
It makes a rudimentary check to this effect.

Signed-off-by: James Bulpin <james@xensource.com>
2005-07-01 12:35:58 +00:00
kaf24@firebug.cl.cam.ac.uk d6cc31ba52 mkelf32 explicit-size types are based on defs in inttypes.h.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-01 12:30:19 +00:00
iap10@freefall.cl.cam.ac.uk fb29a3c75e manual merge 2005-07-01 10:55:46 +00:00
iap10@freefall.cl.cam.ac.uk 1b456a3fee Fix to xen-clone, minor top-level Makefile tidy
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-07-01 10:52:07 +00:00
kaf24@firebug.cl.cam.ac.uk 93a4a4449f Device model path cleanup. Remove bochsrc which is no longer needed.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-01 10:34:47 +00:00
kaf24@firebug.cl.cam.ac.uk c037245f09 manual merge 2005-07-01 10:28:14 +00:00
iap10@freefall.cl.cam.ac.uk dbf7e82d46 Add the Mercurial for Xen cheatsheet into the repo.
Signed-off-by: ian@xensource.com
2005-07-01 10:21:30 +00:00
kaf24@firebug.cl.cam.ac.uk 7e0250ca12 use hg changeset info for xen banner
Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-07-01 10:15:25 +00:00
iap10@freefall.cl.cam.ac.uk a640c9b437 Formally remove support for linux 2.4 dom0. domU should still work.
Signed-off-by: ian@xensource.com
2005-07-01 03:16:53 +00:00
iap10@freefall.cl.cam.ac.uk 33692e0cb0 Update xen-clone script for hg. Still missing revision selection functionality.
Signed-off-by: ian@xensource.com
2005-07-01 02:12:36 +00:00
iap10@freefall.cl.cam.ac.uk c7726f2ed0 Add a .hgignore file to the repository. NB: hg takes regexps not wildcards
Signed-off-by: ian@xensource.com
2005-07-01 01:28:45 +00:00
arun.sharma@intel.com[kaf24] ef92a9e2c6 bitkeeper revision 1.1782 (42c3a8e76Lioy1FVEJFTaTkbYVBy7Q)
[PATCH] Use copy_from_user when accessing guest_pt[]

Use copy_from_user when accessing guest_pt[]

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-30 08:10:15 +00:00
arun.sharma@intel.com[kaf24] bcfc20f4bc bitkeeper revision 1.1781 (42c3a8d63EmXV0wA3jHItrRQ0fKLsg)
[PATCH] Support VMX guests with 512M/1G memory.

Support VMX guests with 512M/1G memory.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>

diff -r f6e5bd774f51 -r 13e02f197018 tools/ioemu/configure
2005-06-30 08:09:58 +00:00
arun.sharma@intel.com[kaf24] 382ed0e218 bitkeeper revision 1.1780 (42c3a8c4tqEOpGy663gWO35k5QwZTw)
[PATCH] Infrastructure for interrupt handling.

Infrastructure for interrupt handling.

- support interruptibility
- handle interrupt window exiting control appropriately
- Add ioapic device models imported from Bochs under LGPL
- generalize the interrupt architecture to support both PIC/APIC

This patch is necessary to fix several bugs on 32 bit VMX and prepares the
ground for adding a local APIC device model in the hypervisor.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-30 08:09:40 +00:00
arun.sharma@intel.com[kaf24] a920220cef bitkeeper revision 1.1779 (42c3a8b3kGpPBNwXb3dn_b8FcmVPgQ)
[PATCH] ACPI support for guest firmware.

ACPI support for guest firmware.

Signed-off-by: Ke Yu <ke.yu@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-30 08:09:23 +00:00
arun.sharma@intel.com[kaf24] b6e9ebda97 bitkeeper revision 1.1778 (42c3a89fKOC3ZLo9T-f0b9tyflqDzg)
[PATCH] Enable vmxassist for 64 bit.

Enable vmxassist for 64 bit.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-30 08:09:03 +00:00
arun.sharma@intel.com[kaf24] 5ac71a4238 bitkeeper revision 1.1777 (42c3a88aPiHvcATujFTezqA1w1FMCg)
[PATCH] 64 bit xend cleanups.

64 bit xend cleanups.

Signed-off-by: Xin Li <xin.bi.li@intel.com>
Signed-off-by: Xiofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-30 08:08:42 +00:00
arun.sharma@intel.com[kaf24] 11d2304e18 bitkeeper revision 1.1776 (42c3a877bezcV9uHoSXuU-GWoyVOKw)
[PATCH] Enable qcow in the device models.

Enable qcow in the device models.

This saves disk space when dealing with large guest images.

Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>

diff -r 5d58883fc7b8 -r 499ac8e8df00 tools/ioemu/block.c
2005-06-30 08:08:23 +00:00
arun.sharma@intel.com[kaf24] be02424994 bitkeeper revision 1.1775 (42c3a866BfZr3l3NiVNwr6Z_1Uin_A)
[PATCH] Fix PCI BIOS double initialization.

Fix PCI BIOS double initialization.

Because the qemu device models are already doing the PCI BIOS initialization,
don't do it in rombios. With this change, the PCI network card becomes
functional.

Signed-off-by: Winston Wang <winston.l.wang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>

diff -r e71f644f492e -r 5d58883fc7b8 tools/firmware/rombios/rombios.c
2005-06-30 08:08:06 +00:00
arun.sharma@intel.com[kaf24] 8f4943102b bitkeeper revision 1.1774 (42c3a855yAuKBfmJfftjhiVDml26pg)
[PATCH] Extend the VMX intercept mechanism to include mmio as well as portio.

Extend the VMX intercept mechanism to include mmio as well as portio.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-30 08:07:49 +00:00
arun.sharma@intel.com[kaf24] 03d545ffcd bitkeeper revision 1.1773 (42c3a841nLib9kdSmthr05jouqiNeg)
[PATCH] Device model cleanup.

Device model cleanup.

- Single config file for xen and device models
  (Shell script doesn't source xmdefconfig anymore)
- No more device-model shell script by default. You can
  have one if needed (qemu-dm.debug)
- All logic in the script device-model is moved to python
- $DISPLAY is passed from xm to xend
- Don't fork vncviewer on dryruns
- Add support for killing device models on domain destroy
- info vmxiopage command added to the monitor
- Refactor shared io page into global and per vcpu state
- Remove the hard coding of IOPACKET_PORT
- move the virtual_platform_def up to domain struct from vcpu
- xm create -n:

(vm
    (name ExampleVMXDomain)
    (memory 128)
    (ssidref -1)
    (image
        (vmx
            (kernel /usr/lib/xen/boot/vmxloader)
            (root '/dev/hda1 ro')
            (vcpus 1)
        )
    )
    (memmap )
    (device_model /tmp/foo)
    (hda /var/images/min-el3-i386.img)
    (hdb )
    (hdc )
    (hdd )
    (cdrom )
    (boot c)
    (fda )
    (fdb )
    (localtime 0)
    (serial )
    (macaddr )
    (stdvga 0)
    (isa 0)
    (nographic 0)
    (vnc 0)
    (sdl 0)
    (display localhost:10.0)
)

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-30 08:07:29 +00:00
kaf24@firebug.cl.cam.ac.uk e6ecaec2c6 bitkeeper revision 1.1772 (42c31843CEATPivypr5LYbRYU08TtQ)
added tag ia64-stable
2005-06-29 21:53:07 +00:00
djm@sportsman.spdomain 1ee9282b7e bitkeeper revision 1.1772 (42c31571ulukoJpvEOsK4akggVt37Q)
null change
ia64-stable
2005-06-29 21:41:05 +00:00
xen-ia64.adm@bkbits.net 1daf04f834 bitkeeper revision 1.1771 (42c314a41N8GOY476cnW9IejbgNDJw)
Merge bk://xen.bkbits.net/xeno-unstable.bk
into  bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
2005-06-29 21:37:40 +00:00
kaf24@firebug.cl.cam.ac.uk 79e1decf57 bitkeeper revision 1.1770 (42c2d66cG6YTU0WhG1b97E-InSNWWA)
Ensure global variables required by get_s_time() are initialised before
first use. Rejuggle bootstrap code slightly.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-29 17:12:12 +00:00
kaf24@firebug.cl.cam.ac.uk 3cd648a5b1 bitkeeper revision 1.1769 (42c2cac1Ua7yeT9FnpvjJNvdSrd3BA)
Remove ticks_per_usec global variable. cpu_khz suffices.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-29 16:22:25 +00:00
djm@kirby.fc.hp.com cbd0cf0989 bitkeeper revision 1.1726.1.8 (42c1acafTSObuXeDW7_GDxYN5dosRA)
Grant table support changes and fix cmpxchg_user
Signed-off-by: Matt Chapman <matthewc@hp.com>
2005-06-28 20:01:51 +00:00
djm@kirby.fc.hp.com f76a149879 bitkeeper revision 1.1726.1.7 (42c194ee68Qy_Egi118UCoJdFnkGPQ)
Add bank switch for hyper_rfi hyperprivop
Signed-off-by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-06-28 18:20:30 +00:00
kaf24@firebug.cl.cam.ac.uk 8b5918674e bitkeeper revision 1.1768 (42c18d2259NPELcGV7ohyZNh72ufSw)
Based on the Keir's suggestion yesterday, I fixed the bug in xenlinux.
Now the LTP test cases pass well in domU; I ran LTP in domU along with
an infinite loop of "make clean; make -j4" on dom0 for sanity tests.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-06-28 17:47:14 +00:00
kaf24@firebug.cl.cam.ac.uk 793aa523b8 bitkeeper revision 1.1767 (42c18c1dNRHfk7ZFajLHHtesQcrKlg)
At the time of debugging the fs segment problem, I noticed this bug (and
was able to test it).

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-06-28 17:42:53 +00:00