Commit Graph
1606 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 643aa19009 Allow multiple disk images per guest.
Signed-off-by: Yunfeng Zhao <yunfeng.zhao@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:02:34 +00:00
kaf24@firebug.cl.cam.ac.uk 5b459bb5c8 Fix the path to qemu-dm 2005-07-25 21:02:24 +00:00
kaf24@firebug.cl.cam.ac.uk ae7da5d7f3 Don't leave behind zombie device model processes
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:01:57 +00:00
kaf24@firebug.cl.cam.ac.uk 7ba92c7b98 Xen full virtualization does not handle unaligned IO with page crossing.
Disable 32-bit PIO as a workaround.

Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:01:42 +00:00
kaf24@firebug.cl.cam.ac.uk 4fb5e20a8d Translate some control characters in the qemu monitor.
This removes odd control characters displayed in the qemu monitor with vnc

Signed-off-by: Edwin Zhain <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:00:30 +00:00
ach61@arcadians.cl.cam.ac.uk c5fe655bd2 pdb: read/write registers for process target 2005-07-17 14:16:21 +00:00
kaf24@firebug.cl.cam.ac.uk 8f7262f9a6 Recently some people complain that they cannot set the maxmem for
domU. The problem is that some code wrongly treat dom.max_memkb as in
byte unit, instead of KB unit. This patch fixs the problem.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-07-15 08:30:22 +00:00
iap10@freefall.cl.cam.ac.uk 3299c3f678 Incorporate lomount from QEMU into tools/misc. This tool makes it easy to mount
individual partitions held within whole disk images.
 
Original source from http://www.dad-answers.com/qemu/utilities/QEMU-HD-Mounter/l
omount/lomount.c
 
 * Copyright (c) 2004 Jim Brown 
 * Copyright (c) 2004 Brad Watson
 * Copyright (c) 2004 Mulyadi Santosa
 
Signed-off-by: ian@xensource.com
2005-07-14 21:02:05 +00:00
iap10@freefall.cl.cam.ac.uk dc2e874399 Misc fixes for new sparse tree names: xen-clone script; -xen kernel build (the one with all the modules); Backout changes to legacy targets.
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-07-14 10:12:51 +00:00
kaf24@firebug.cl.cam.ac.uk cb111972c4 Enable CR4.VME to improve the performance of vm86 emulation.
Setting this bit eliminates the calls to the vm86 monitor to handle
interrupts and exceptions that occur while executing programs in vm86
mode.

Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-14 08:00:23 +00:00
ach61@arcadians.cl.cam.ac.uk b65c26e65f pdb: reconcile register manipulation between processes and domains 2005-07-13 15:37:08 +00:00
kaf24@firebug.cl.cam.ac.uk 4b043a942c Initial tools support for 32-bit x86 pae.
Signed-off-by: Gerd Knorr <kraxel@suse.de>
2005-07-13 15:04:49 +00:00
ach61@arcadians.cl.cam.ac.uk ac49b9ae89 pdb: get rid of absolute path in module makefile 2005-07-12 17:31:16 +00:00
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