Commit Graph
1571 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 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 6c6af98325 Manual merge 2005-07-01 12:45:24 +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
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
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] 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
cl349@firebug.cl.cam.ac.uk a575a4a3a8 bitkeeper revision 1.1766 (42c17071SPDLo7qPlXAiQzrKjMu6Mw)
Add xenbus driver.
XendDomainInfo.py:
  Connect/Disconnect domains to/from store.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au> (authored)
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-28 15:44:49 +00:00
ach61@arcadians.cl.cam.ac.uk da657a9c3a bitkeeper revision 1.1764 (42c12471iroiktRDv2QDqEDoIQVDNg)
comments
2005-06-28 10:20:33 +00:00
ach61@arcadians.cl.cam.ac.uk 05c95036a5 bitkeeper revision 1.1763 (42c11c79p9Z_K0YwZk_N5zJU0rjzDg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/ach61/bk
2005-06-28 09:46:33 +00:00
leendert@watson.ibm.com[kaf24] c81d4fc893 bitkeeper revision 1.1760.1.3 (42c10175tVLAVy7ULar9xcSazDReXw)
[PATCH] [PATCH] VMXassist print e820 table

This patch integrates some of my debug environment back into the main
stream and it prints the e820 map as it is seen by a VMX domain.

        Leendert

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-06-28 07:51:17 +00:00
ach61@arcadians.cl.cam.ac.uk 6d2562c9f0 bitkeeper revision 1.1761 (42c0704c_K5N6pcA--cz5L-FX_z0zw)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/ach61/bk
2005-06-27 21:31:56 +00:00
ach61@arcadians.cl.cam.ac.uk 2136a8f965 bitkeeper revision 1.1726.3.1 (42c07007i9Bkz3ggP_PXIksWaGD1Eg)
add framework for debugging processes
2005-06-27 21:30:47 +00:00
kaf24@firebug.cl.cam.ac.uk 8cc2fa8544 bitkeeper revision 1.1759 (42c035d96-RzgfZ63O07ihY0xpew2g)
This patch adapts the Java Policy Processor to the default ssid change of
0xfffffff... to 0.

Signed-off by Ray Valdez <rvaldez@us.ibm.com>
2005-06-27 17:22:33 +00:00
kaf24@firebug.cl.cam.ac.uk 19b63a9f44 bitkeeper revision 1.1757 (42be9ad5TTWQjsCBju5noyzBrTMyjA)
Attached is the patch that changes the default ssid from 0xffffffff to 0 
as discussed in previous emails. 

Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2005-06-26 12:08:53 +00:00
kaf24@firebug.cl.cam.ac.uk 6fd6101576 bitkeeper revision 1.1755 (42bd1fcfzi0ZazGyTao_Ff-m4vjOqQ)
.del-plan9a.out.h~cdc6aa24ef3ba635:
  Delete: tools/libxc/plan9a.out.h
2005-06-25 09:11:43 +00:00
kaf24@firebug.cl.cam.ac.uk 8d629caa27 bitkeeper revision 1.1754 (42bc7207le_rYvV9kj8p-Dztt3T_eA)
Fix signedness issues, found by Jerone Young.
2005-06-24 20:50:15 +00:00
kaf24@firebug.cl.cam.ac.uk dc0838d499 bitkeeper revision 1.1753 (42bbe67ePvjh9K0djYf6xRw2rGNreQ)
Properly remove old plan9 builder from xc header fiel and from xend.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-24 10:54:54 +00:00
kaf24@firebug.cl.cam.ac.uk 06420e5d04 bitkeeper revision 1.1752 (42bbe5ba5hLPfcw1f77_F22fq6v6Yw)
The set of patches below add support for loading plan9's a.out
format using the linux builder.  This is considerably simpler
than having a seperate builder, shares more code and should
be easier to maintain.  Hopefully the original plan9 builder
can go away in the future.

I've been able to test this manually with vm-tools but am
still having some problems (unrelated I think) with xm.

Signed-off-by: Tim Newsham <newsham@lava.net>
2005-06-24 10:51:38 +00:00
kaf24@firebug.cl.cam.ac.uk ed30037e48 bitkeeper revision 1.1751 (42bbe480z9Fp_L5Tc500W8c8CL3g9A)
Rationalise x86 CRn guest state into a ctrlreg array in the per-vcpu
context structure. Most noticeably this means the pt_base field has
gone away -- replaced by ctrlreg[3] (CR3). VCPU_guest_stts is also
gone -- it was never arch-independent anyway.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-24 10:46:24 +00:00
kaf24@firebug.cl.cam.ac.uk c2533bd68d bitkeeper revision 1.1748.1.2 (42bbd22bGsDJd8zBp_EBCg97pPrPqA)
With the patch attached, we can bring up x86_64 domU to the point where
it tries to mount the root fs (see the log below). We are looking at
problems around blkif_connect at this point.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xin B Li <xin.b.li@intel.com>
2005-06-24 09:28:11 +00:00
cl349@firebug.cl.cam.ac.uk c8cf49e882 bitkeeper revision 1.1748 (42bbc14djIjScNrLp20eDhlxUjQl4g)
xenstored_transaction.c, xenstored_core.h, xenstored_core.c, TODO:
  Update TODO list
  Wrap opendir in talloc so it gets cleaned up on OOM.
  Remove last call to system by open-coding "cp -al" to create
  transaction.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-24 08:16:13 +00:00
cl349@firebug.cl.cam.ac.uk 8e6ffdae8e bitkeeper revision 1.1747 (42bbc01fY31MfvOqdz4Mq_h_2D4Usg)
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-24 08:11:11 +00:00
cl349@firebug.cl.cam.ac.uk bc3c530470 bitkeeper revision 1.1742.1.1 (42bbc016sc__D7n9oSLMG75cKXdixQ)
XendDomainInfo.py: Fix imports.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-24 08:11:02 +00:00
kaf24@firebug.cl.cam.ac.uk b1fe63ce24 bitkeeper revision 1.1746 (42badf41asjaKoYentyODb8CdFEydg)
Cset exclude: arun.sharma@intel.com[kaf24]|ChangeSet|20050623091344|24134
2005-06-23 16:11:45 +00:00
arun.sharma@intel.com[kaf24] 5ce68b82c6 bitkeeper revision 1.1741 (42ba8952xTiiA50azru9j4tKvXIVDA)
[PATCH] vmx-gdbserver-paging.patch

gdbserver should not try to convert guest physical to machine physical if
paging is not enabled.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-23 10:05:06 +00:00
kaf24@firebug.cl.cam.ac.uk e24b80a505 bitkeeper revision 1.1737 (42ba86724fSOFpp6L107qJDWXNKxug)
Attached is the patch with
        1. Cleanup of code & correct error handling for MMIO
instructions.
        2. Decoding of 64bit instructions for MMIO.


  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-23 09:52:50 +00:00
kaf24@firebug.cl.cam.ac.uk 18dc46379c bitkeeper revision 1.1735 (42ba857eIL9j0maam3-Dv-gI3hOJUw)
Don't zero the vcpu flags in domain builder.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
2005-06-23 09:48:46 +00:00
kaf24@firebug.cl.cam.ac.uk 61724bdcde bitkeeper revision 1.1730 (42ba7dbdkTADQfBqHaC_Ynqo3i1ZVw)
The xc_domain_getinfo does not clear the info structure before filling 
it in, and in some circumstances it doesn't completely fill in the 
structure for each domain.  In particular, it sets the crashed flag if 
the domain has crashed, but does not clear it if the domain has not 
crashed, so the crashed flag may be random stack garbage from the 
calling program.  With the attached patch (against the latest nightly), 
xc_domain_getinfo zeroes the array of info structures before filling 
them in.

Signed-off-by: Josh Triplett <josht@us.ibm.com>
2005-06-23 09:15:41 +00:00
arun.sharma@intel.com[kaf24] dee0a637a4 bitkeeper revision 1.1729 (42ba7d48EFeRBiv6YMxK_aR9binchA)
[PATCH] novnc-dryrun.patch

Don't start VNC on a dry run.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-23 09:13:44 +00:00
smh22@firebug.cl.cam.ac.uk 063a38978a bitkeeper revision 1.1726.2.5 (42ba7c68cP1Z3SmHyVl4grEnN-Yf8g)
minor xense tool updates

Signed-off-by: Steven Hand <steven@xensource.com>
2005-06-23 09:10:00 +00:00
kaf24@firebug.cl.cam.ac.uk 8a6c33ded1 bitkeeper revision 1.1726.2.3 (42ba7587nwhnhQJ_hDkHTk8kTKtAFw)
Make sure we save errno across error-path printfs and munlocks. Based
on a patch from Anthony Liguori.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-23 08:40:39 +00:00
kaf24@firebug.cl.cam.ac.uk 8d0dbee96a bitkeeper revision 1.1726.2.1 (42ba6dcaSODxvHIftq9c1t2jDb4htA)
Include ACM header file in libxc header file.
2005-06-23 08:07:38 +00:00
cl349@firebug.cl.cam.ac.uk be51472d62 bitkeeper revision 1.1726 (42b7f1bfzMUFLRiUR9wWkzc2mh-Ing)
Add new control messages for vcpu hotplug events.  Via the
xm vcpu-hotplug sub-program, vcpus in domains can be enabled/disabled
when CONFIG_HOTPLUG_CPU is enabled in the target domain's kernel.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-21 10:53:51 +00:00
cl349@firebug.cl.cam.ac.uk 1e6b0c78d8 bitkeeper revision 1.1724 (42b7d6f60v0z2ZEkw36W_1joFfySfw)
Make xs_read/read_reply allocate an extra byte and put a nul character
at the end of objects to allow easy use as a string.
From: Rusty Russell <rusty@rustcorp.com.au>                                     
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-21 08:59:34 +00:00
smh22@firebug.cl.cam.ac.uk 26922e5f08 bitkeeper revision 1.1723 (42b7c4f7lKvZiHctN9YxRzuWreG0iQ)
quiet xm ssid-ref output for now - use policy tool or -l for details
2005-06-21 07:42:47 +00:00
leendert@watson.ibm.com[iap10] 65227c4552 bitkeeper revision 1.1722 (42b7bcc4JmG_ITQ35E28L1mWc_g_ZQ)
[PATCH] ioemu-monitor.patch

The following patch adds back qemu monitor commands to qemu-dm which
make sense. That is, eject and change devices, and show some device
state.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>

===== tools/ioemu/monitor.c 1.1 vs edited =====
2005-06-21 07:07:48 +00:00
leendert@watson.ibm.com[iap10] ddacfe870c bitkeeper revision 1.1721 (42b7bc5cSB_7vlyUCCpWT0qq4GN_xg)
[PATCH] vmxassist-cleanup.patch
Some minor fixups and improved debug output.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-06-21 07:06:04 +00:00
iap10@freefall.cl.cam.ac.uk 22e32f8c3c bitkeeper revision 1.1720 (42b7bb86ag6KD5OEx2v6YdSnS1BhGQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-06-21 07:02:30 +00:00
smh22@firebug.cl.cam.ac.uk f21629e0cc bitkeeper revision 1.1718.1.9 (42b7443fk-ybxUDza1p_kN1D8hzjRw)
Many files:
  new file
2005-06-20 22:33:35 +00:00
smh22@firebug.cl.cam.ac.uk 80070b4a6c bitkeeper revision 1.1718.1.7 (42b742f8NxTuN2pqCHFAWI78dbEYKw)
Initial MAC (sHype) support from IBM. 
Defaults to NULL policy for now. 

Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Steven Hand <steven@xensource.com>
2005-06-20 22:28:08 +00:00