Commit Graph
1593 Commits
Author SHA1 Message Date
ach61@arcadians.cl.cam.ac.uk d850b8fed3 pdb: execution_domain -> vcpu 2005-07-12 17:00:33 +00:00
cl349@firebug.cl.cam.ac.uk 0f36f0e095 xenstored updates.
- add trace file support.
- update permissions code.
- trigger watches on children of nodes being removed.
- update test cases.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-12 10:16:33 +00:00
cl349@firebug.cl.cam.ac.uk 4e2b530c51 Add xc_init_store and run xenbus probe on INITDOMAIN_STORE privcmd ioctl.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-12 10:01:03 +00:00
kaf24@firebug.cl.cam.ac.uk 72098d9304 Device model SXP cleanup
- don't pollute the sxp with unused options
- use the same syntax as paravirtualized domains for disks

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-11 20:09:10 +00:00
kaf24@firebug.cl.cam.ac.uk 0fca1afde7 Tools build fixes. 2005-07-11 16:04:22 +00:00
kaf24@firebug.cl.cam.ac.uk 8ff31ab726 The 1:1 page table should be a 3 level PAE page table on x86-64
This is needed to support > 4GB machine physical addresses.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-11 14:39:10 +00:00
kaf24@firebug.cl.cam.ac.uk 8ab6a7f5a8 Don't build xenctx by default,a nd fix one error msg. 2005-07-11 09:03:24 +00:00
kaf24@firebug.cl.cam.ac.uk 1c86b5d22b Fix xenctx compilation and support 64 bit.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-11 08:59:01 +00:00
kaf24@firebug.cl.cam.ac.uk aab6fa579e The attached patch adds a new dom0_op, DOM0_GETDOMAININFOLIST. This
operation allows retrieval of the domain info structures for all domains
in one hypercall.

Using a small test program, on a system with 97 domains with
non-contiguous domain IDs, I found that with this hypercall I could
retrieve the full array of info structures 12840 times per second, an
improvement from 2380 times per second with the DOM0_GETDOMAININFO op.

The patch also adds a libxc wrapper for this new hypercall.

Signed-off-by: Josh Triplett <josht@us.ibm.com>
2005-07-08 09:06:04 +00:00
kaf24@firebug.cl.cam.ac.uk fb4f1fe815 python wrapper arg fix from aq. 2005-07-08 08:02:45 +00:00
kaf24@firebug.cl.cam.ac.uk 847e60294d Fix cross-compilation, and gcc4.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
2005-07-07 08:08:40 +00:00
iap10@freefall.cl.cam.ac.uk 8e1bda2932 I updated the vcpu_to_cpu string creation to include a field separator,
which gets rid of the -1 -> # hack and works for cpus > 9.

I ran into some issues with stale vcpu_to_cpu lists when running the
hotplug subprogram.  I would take a vcpu offline, and then issue the
command to bring it back and the vcpu_to_cpu list would not have changed
to indicate the the vcpu actually went down.  If I injected a xm list -v
(which always showed the correct mapping) then subsequent hotplug
commands would see the state change and fire off the hotplug request.  I
don't know that not sending the event when not changing state saves that
much work so I took the state check out and now just send the hotplug
event directly.

> Also the whole hotplug stuff is still missing interrupt re-routing
> when a vcpu is taken down.  To do this, we need an evtchn operation to
> change the vcpu affinity of a port by changing notify_vcpu_id.

I don't fully understand all of the mappings that are happening, so this
part of the patch might be way off.  In any case, I've added a new
evtchn op to set the notify_vcpu_id field of a channel.  I updated the
HOTPLUG_CPU code to use the new routines when bringing cpus up and down.
When taking down a cpu, I route the IPI irq channels to CPU 0, and when
the cpu comes up, it re-routes the channels back to the awakened CPU.

From: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: ian@xensource.com
2005-07-06 22:23:18 +00:00
smh22@firebug.cl.cam.ac.uk 1f123c33a5 Move xenstore page before page tables so that guest doesn't free it after boot
Signed-off-by: Steven Hand <steven@xensource.com>
2005-07-06 15:36:57 +00:00
kaf24@firebug.cl.cam.ac.uk 3f54e6d5ec Attached is a patch that fully 'grant-table-ifies' the block front and
backends.  It is necessary to do a make clean in the tools directory and 
then rebuild the tree.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2005-07-06 08:50:11 +00:00
kaf24@firebug.cl.cam.ac.uk 29395fa9ef Shell scripts aren't very strippable and some versions of install get
very unhappy if you try to.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-07-06 08:47:34 +00:00
cl349@firebug.cl.cam.ac.uk 834bb72330 Undo "Add -fPIC tools/xenstore/Makefile". 2005-07-05 08:44:29 +00:00
kaf24@firebug.cl.cam.ac.uk 763c04b318 Rename fields in physinfo_t structure and add sockets/nodes
fields.
2005-07-04 16:02:46 +00:00
kaf24@firebug.cl.cam.ac.uk 63ba48b807 Fix grant-table interface by removing the unnecessary union.
This fixes a domU crash introduced over the weekend.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-04 15:34:57 +00:00
akw27@arcadians.cl.cam.ac.uk 1f0eae20c9 Manual merge -- hg not so good at deleting right now.
Signed-off-by: akw27@cam.ac.uk
2005-07-03 18:49:55 +00:00
kaf24@firebug.cl.cam.ac.uk 75dab2dab2 Install qemu-dm.debug script. 2005-07-03 15:09:20 +00:00
akw27@arcadians.cl.cam.ac.uk 91788df76e Clean-up of blktap and parallax user space code.
Move parallax stuff to its own sub directory and tidy Makefiles a bit.
Signed-off-by: andrew.warfield@cl.cam.ac.uk
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>


--HG--
rename : tools/blktap/README-PARALLAX => tools/blktap/parallax/README
rename : tools/blktap/block-async.c => tools/blktap/parallax/block-async.c
rename : tools/blktap/block-async.h => tools/blktap/parallax/block-async.h
rename : tools/blktap/blockstore.c => tools/blktap/parallax/blockstore.c
rename : tools/blktap/blockstore.h => tools/blktap/parallax/blockstore.h
rename : tools/blktap/blockstored.c => tools/blktap/parallax/blockstored.c
rename : tools/blktap/bstest.c => tools/blktap/parallax/bstest.c
rename : tools/blktap/parallax.c => tools/blktap/parallax/parallax.c
rename : tools/blktap/radix.c => tools/blktap/parallax/radix.c
rename : tools/blktap/radix.h => tools/blktap/parallax/radix.h
rename : tools/blktap/requests-async.c => tools/blktap/parallax/requests-async.c
rename : tools/blktap/requests-async.h => tools/blktap/parallax/requests-async.h
rename : tools/blktap/snaplog.c => tools/blktap/parallax/snaplog.c
rename : tools/blktap/snaplog.h => tools/blktap/parallax/snaplog.h
rename : tools/blktap/vdi.c => tools/blktap/parallax/vdi.c
rename : tools/blktap/vdi.h => tools/blktap/parallax/vdi.h
rename : tools/blktap/vdi_create.c => tools/blktap/parallax/vdi_create.c
rename : tools/blktap/vdi_fill.c => tools/blktap/parallax/vdi_fill.c
rename : tools/blktap/vdi_list.c => tools/blktap/parallax/vdi_list.c
rename : tools/blktap/vdi_snap.c => tools/blktap/parallax/vdi_snap.c
rename : tools/blktap/vdi_snap_delete.c => tools/blktap/parallax/vdi_snap_delete.c
rename : tools/blktap/vdi_snap_list.c => tools/blktap/parallax/vdi_snap_list.c
rename : tools/blktap/vdi_tree.c => tools/blktap/parallax/vdi_tree.c
rename : tools/blktap/vdi_unittest.c => tools/blktap/parallax/vdi_unittest.c
rename : tools/blktap/vdi_validate.c => tools/blktap/parallax/vdi_validate.c
2005-07-03 14:14:09 +00:00
akw27@arcadians.cl.cam.ac.uk 2d984d10eb Fix some newline ugliness that BK wouldn't correct.
Signed-off-by: akw27@cl.cam.ac.uk
2005-07-03 12:02:01 +00:00
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