Commit Graph
6738 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 0cbc2f5eb4 Re-indent xc_linux_restore, and add code to force PAE
root pgdirs below 4GB on restore.

Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-12 12:48:33 +00:00
cl349@firebug.cl.cam.ac.uk b694a06279 merge? 2005-09-12 12:32:20 +00:00
cl349@firebug.cl.cam.ac.uk d9d954e187 Always fire watches, even on the connection which caused the watch to fire.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-12 12:31:41 +00:00
kaf24@firebug.cl.cam.ac.uk 15a40c9975 Xen_version hypercalls takes two args, not one.
Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-12 12:29:40 +00:00
kaf24@firebug.cl.cam.ac.uk fbfaadacd8 mlock argument to version hypercall in libxc.
Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-12 12:17:31 +00:00
kaf24@firebug.cl.cam.ac.uk 47717fb60b Improve debug tracing from HYPERVISOR_memory_op().
Signed-off-by: Ian Pratt <ian@xensource.com>
2005-09-12 12:10:43 +00:00
vh249@arcadians.cl.cam.ac.uk bf4e85d392 removing XEN_LOCALVERSION for a smaller alternative
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-09-12 10:54:30 +00:00
kaf24@firebug.cl.cam.ac.uk ec564e53d5 Re-indent vmx code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-11 16:44:23 +00:00
kaf24@firebug.cl.cam.ac.uk 9c56a98430 Yes, that fixes the problem, our patches crossed. I saw Keir already
integrated my patch and while it is harmless, it is redundant and
here is the diff to take it out.

The patch also addresses some indent problems and aligns instructions
up with the rest of the block.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-09-11 16:36:24 +00:00
vh249@arcadians.cl.cam.ac.uk da6356e5ae add XEN_LOCALVERSION to the dist building process
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-09-11 16:34:38 +00:00
kaf24@firebug.cl.cam.ac.uk 795972d0a4 An FC4/i386 install inside VMX on an x86_64 system fails because byte
size is not handled by __set_reg_value. This patch adds that support.

This patch also reindents Chengyuan Li cmpb patch so that is aligns
with the rest of the code in that block.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-09-11 09:28:21 +00:00
cl349@firebug.cl.cam.ac.uk 658616e334 Restore NULL checks before calling kfree().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-10 20:14:50 +00:00
vh249@arcadians.cl.cam.ac.uk 98806d61af add a simple usage string to xenconsoled
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-09-10 14:44:31 +00:00
vh249@arcadians.cl.cam.ac.uk e3683d26f5 fix ballooning out logic to handle dying domain freeing memory.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-09-10 14:43:46 +00:00
vh249@arcadians.cl.cam.ac.uk 8871e563d4 use XEN_FULLVERSION variable where possible
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-09-10 14:42:39 +00:00
vh249@arcadians.cl.cam.ac.uk 911029bbef remove pointless NULL check before calling kfree
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-09-10 14:41:16 +00:00
vh249@arcadians.cl.cam.ac.uk 6fb79305d3 convert initializers to C99 initializers
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-09-10 14:38:01 +00:00
kaf24@firebug.cl.cam.ac.uk 8574ea5619 With this patch, 32-bit binary can work on 64-bit VMX guest.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
2005-09-10 14:24:39 +00:00
kaf24@firebug.cl.cam.ac.uk 068dccf437 This patch fixes xenlinux timer interrupt.
In xenlinux timer interrupt variable cpu is sometimes uesd in a for
loop, but later it is used to access per cpu data i.e.
per_cpu(processed_system_time, cpu), which causes an invalid pointer.

Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-09-10 14:22:12 +00:00
kaf24@firebug.cl.cam.ac.uk 6c78d04f75 This patch fix a bug in set_reg_value() for x86_64 VMX guest.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
2005-09-10 14:20:29 +00:00
kaf24@firebug.cl.cam.ac.uk 642c5961d3 One more instruction for the VMX MMIO decoder.
This patch is to handle the instruction with opcode 0x80.
Without this patch, the 64-bit VMX guest can't boot.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
2005-09-10 14:19:09 +00:00
kaf24@firebug.cl.cam.ac.uk c834c5e778 Fix bug that service os & vmx guest can't communicate with
each other. The bug was physical packets smaller than
minimal packet size of 60 bytes were gettign thrown away.
Hence ARP traffic for example was dropped.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
2005-09-10 14:17:02 +00:00
shand@ubuntu.eng.hq.xensource.com b1f3138ed7 Fix xm info handling of empty strings (fix bugzilla bug #216)
Signed-off-by: Steven Hand <steven@xensource.com>
2005-09-09 15:11:18 -08:00
shand@ubuntu.eng.hq.xensource.com cd75a1b28f Fix 'xm info' (sizeof(param) doesn't do that one might hope).
Signed-off-by: Steven Hand <steven@xensource.com>
2005-09-09 10:36:48 -08:00
cl349@firebug.cl.cam.ac.uk 288f60bb0b merge? 2005-09-09 17:40:39 +00:00
cl349@firebug.cl.cam.ac.uk c51551e9e9 Make vif cleanup use xstransact and use classmethods for setup.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 17:36:39 +00:00
cl349@firebug.cl.cam.ac.uk f27cc5f7c7 Add remove and list support. Also make all class methods "safe".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 17:34:40 +00:00
cl349@firebug.cl.cam.ac.uk 765866597e Only retry transactions which fail from timeout.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 17:03:34 +00:00
kaf24@firebug.cl.cam.ac.uk 4db5855832 common/kernel.o contains changeset/compiler info.
Blow away on every build.
2005-09-09 16:26:20 +00:00
kaf24@firebug.cl.cam.ac.uk 4e7e00649a cleanups 2005-09-09 16:17:17 +00:00
cl349@firebug.cl.cam.ac.uk 31f9bdd799 Setup network devices in xenstore using xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 16:08:17 +00:00
cl349@firebug.cl.cam.ac.uk 64f36ac6d0 Remove dependency between domain db and path/uuid.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 16:07:26 +00:00
cl349@firebug.cl.cam.ac.uk 9763103317 Always start transactions on an existing path.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 16:06:04 +00:00
kaf24@firebug.cl.cam.ac.uk cd38feb29c The patch allows the shadow mode code to support >4GB physical memory. I
tested VMX domains on an x86_64 machine with >4GB; it fails without this
change. This should be applicable to PAE as well.

This patch is good for up to 32GB RAM.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-09-09 15:52:52 +00:00
iap10@freefall.cl.cam.ac.uk 45c67ab505 Add more version and capability reporting to Xen. Print the results with 'xm info'.
Signed-off-by: ian@xensource.com
2005-09-09 15:33:32 +00:00
kaf24@firebug.cl.cam.ac.uk 73eac1082d pagefault handler fixes. 2005-09-09 13:28:23 +00:00
cl349@firebug.cl.cam.ac.uk e295af6f75 Add simple transactional read/write python xenstore interface.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 13:20:51 +00:00
cl349@firebug.cl.cam.ac.uk 040768faf3 Make error reporting consistent.
Also note addition of Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS
which slipped in in previous merge changeset:  allow other threads
to run during communication with xenstored.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 13:08:25 +00:00
cl349@firebug.cl.cam.ac.uk 4ebbde31e7 merge? 2005-09-09 10:20:25 +00:00
kaf24@firebug.cl.cam.ac.uk cdb8b09f6b Xenbus implementation ported from Linux to Mini-os, simple thread support introduced
to simplify the porting. 64 bit version of Mini-os now compiles, but does not work
because of the pagetables and some bits of scheduler not being written.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2005-09-09 09:24:25 +00:00
kaf24@firebug.cl.cam.ac.uk c125eb9c04 Fix blkfront request completion. 2005-09-09 09:13:45 +00:00
kaf24@firebug.cl.cam.ac.uk 60ea7f88bd It was suggested on the xen-users list that it would be useful if the
loopback driver could instantiate an arbitrary number of interfaces, so 
the attached patch does that.

[Also retab at the same time]
2005-09-09 09:07:59 +00:00
cl349@firebug.cl.cam.ac.uk 2ac5409308 merge? 2005-09-09 08:56:38 +00:00
cl349@firebug.cl.cam.ac.uk 20ce1c2a9e tpmback compilation fix.
A small patch to fix some compilation problems and debugging output. 
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 08:56:14 +00:00
iap10@firebug.cl.cam.ac.uk 9ead829c58 Bug fix on x86_64 increase_reservation
Signed-off-by: ian@xensource.com
2005-09-08 20:39:58 +00:00
iap10@firebug.cl.cam.ac.uk 7901c856f1 Test CD needs devfs
Signed-off-by: ian@xensource.com
2005-09-08 19:14:51 +00:00
kaf24@firebug.cl.cam.ac.uk 9c3c47ec6e No need to qsort the pfn array in domu builder. 2005-09-08 17:47:48 +00:00
iap10@freefall.cl.cam.ac.uk 34f7c3290a merge 2005-09-08 17:42:49 +00:00
iap10@freefall.cl.cam.ac.uk 2e604677ba manual merge 2005-09-08 17:40:37 +00:00
kaf24@firebug.cl.cam.ac.uk 94a7d0b79c Build fix. 2005-09-08 17:36:37 +00:00