Commit Graph
1633 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk f2cbf339d4 Add xc_init_store python binding.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-27 17:06:02 +00:00
cl349@firebug.cl.cam.ac.uk 57103c6152 Fix read of integers from database on event channel restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-27 17:04:47 +00:00
cl349@firebug.cl.cam.ac.uk 55e1cda4c0 Make XENSTORED_DEBUG create a xenstored trace logfile.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-27 17:03:00 +00:00
cl349@firebug.cl.cam.ac.uk 0e358737de Move SIF_BLK_BE_DOMAIN and SIF_NET_BE_DOMAIN definitions to where they are used.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-27 17:00:24 +00:00
cl349@firebug.cl.cam.ac.uk 63c82e1bdd Don't auto-add domains we don't know about.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-27 16:57:01 +00:00
cl349@firebug.cl.cam.ac.uk 1693f2a523 Rename file with space in name.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>


--HG--
rename : tools/sv/images/internet copy.jpg => tools/sv/images/internet_copy.jpg
2005-07-27 09:56:31 +00:00
cl349@firebug.cl.cam.ac.uk 44ff21af8a merge? 2005-07-26 18:41:39 +00:00
kaf24@firebug.cl.cam.ac.uk 646239403d Manual merge. 2005-07-26 16:17:04 +00:00
kaf24@firebug.cl.cam.ac.uk bd16e616b6 Attached patch removes the empty domain if
xc.memory_increase_reservation fails.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-07-26 16:16:39 +00:00
cl349@firebug.cl.cam.ac.uk cec6ff4898 Update python bindings - xs_watch doesn't support a priority anymore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 15:57:18 +00:00
cl349@firebug.cl.cam.ac.uk a6b41d9b80 Don't enter sv subdirectory until its Makefile supports targets
like `clean' or actually does anything useful.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 15:37:40 +00:00
cl349@firebug.cl.cam.ac.uk eb825f79cb Remove ill-conceived concept of watches blocking reply on
connection which did write/mkdir/rm/setperm etc.
This causes deadlocks in real life, and I can't see a sane way
of avoiding them: it is reasonable for someone to ignore watch
notifications while doing other actions, and that means that
we can do other writes.  These writes can block pending other
watchers; if one of these is the process blocked awaiting our
ack, we deadlock.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 15:26:32 +00:00
cl349@firebug.cl.cam.ac.uk dfc7e02e7a Fix bug where transaction fires multiple events.
Add general trace() call to help future debugging.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 15:24:28 +00:00
cl349@firebug.cl.cam.ac.uk df569ddb1c Fix bug where watch messages doesn't go out. Also change xs_test
to more closely represent xenbus behaviour so we can see the bug.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 15:23:50 +00:00
cl349@firebug.cl.cam.ac.uk b4ff7e6103 Allow test.sh to take arg: name of test to start with
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 15:21:32 +00:00
cl349@firebug.cl.cam.ac.uk c86032d118 Make testing more reliable: wait for event after async so we know
child has done command
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 15:21:00 +00:00
cl349@firebug.cl.cam.ac.uk ef07173654 Change watches: operations block until everyone has acked.
Watch events are no longer sent to self
Watches no longer take a priority
async and asyncwait commands for xs_test, now we need to continue
despite blocking ops.
Print test name at end of verbose run on failure.
Use --trace-file arg to xenstored when testing
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 15:20:09 +00:00
kaf24@firebug.cl.cam.ac.uk 71ae53ce26 This patch prevents you from getting a screen full of stack trace when
trying to run commands like xm list as a normal user, and instead provides a
helpful error message.

Signed-off-by: Sean Dague <sean@dague.net>
2005-07-26 15:16:39 +00:00
cl349@firebug.cl.cam.ac.uk e04c630cb2 Change from bool indicating blocked to an enum: when watches go
synchronous this makes it easier (because then we have two reasons
to block)
Instead of using return value, use explicit state member inside
struct connection.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 15:13:56 +00:00
cl349@firebug.cl.cam.ac.uk e08ecc0000 Test and fix acknowedge_watch from returning EINVAL.
Also ensure that daemon re-xmits event if they ack wrong thing
(otherwise confused clients get stuck, as we will send no more
data while awaiting ack).
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 15:09:43 +00:00
cl349@firebug.cl.cam.ac.uk a9c1da21e1 Fix testsuite to ignore tool/ dir.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 15:08:22 +00:00
cl349@firebug.cl.cam.ac.uk d461f09e21 Start of code to persistent store connections when xenstored restarts
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-26 14:02:33 +00:00
twilkie@paploo.uk.xensource.com 2145204551 Add XenSV back into the repository.
Now uses Python Server Pages, not twisted.
2005-07-26 13:56:30 +00:00
kaf24@firebug.cl.cam.ac.uk e39ba51523 - allows to optionally boot the system with a policy already being
active at startup; this works by adding a module line into the grub
  configuration file and placing the binary policy generated by the
  policy tool into the boot directory; This assumes that a maximum of
  one module line is used for the initrd in the grub configuration
  file - Question: do users pass more than one module to the kernel?
- enables the policy hypervisor call on x86/64
- some function prototypes moved to include files
- moves the version number in the java tool up to the current
  version (a better way of doing this will be submitted soon)

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
2005-07-25 21:19:14 +00:00
kaf24@firebug.cl.cam.ac.uk 2988ab5bf3 Really enable gdbserver for real mode code.
Missed out one instance where we need to check if we're running on
1:1 page tables with guest paging disabled.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:03:25 +00:00
kaf24@firebug.cl.cam.ac.uk accf538cb2 Use hg root instead of bk root.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:03:05 +00:00
kaf24@firebug.cl.cam.ac.uk 969807247d Restore command line parsing code from qemu-0.6.1
This enables cdrom ejection (both file based and physical i.e. /dev/cdrom)

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:02:50 +00:00
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