Commit Graph
6083 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk cfd6b38dc8 Update xenstore python bindings for "Implement watching of nodes which don't exist."
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 19:19:16 +00:00
cl349@firebug.cl.cam.ac.uk ba5fb52dda Fix SMP save/restore for 1 vcpu by adding suspend/resume functions for SMP.
We have to free_irq the irq vectors for the SMP ipi vectors.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 19:08:28 +00:00
cl349@firebug.cl.cam.ac.uk fd3721aea3 Fix unbind_ipi_from_irq - evtchn_to_irq[evtchn] not irq_to_evtchn[evtchn].
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 19:06:10 +00:00
cl349@firebug.cl.cam.ac.uk 43d67dd5b9 Add prototype for bind_ipi_on_cpu_to_irq.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 19:05:00 +00:00
cl349@firebug.cl.cam.ac.uk 872149a29c Add prototype for balloon_init_watcher.
Also cleanup balloon_init_watcher whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 19:04:13 +00:00
cl349@firebug.cl.cam.ac.uk b7f49181c9 Implement watching of nodes which don't exist.
Requires permission check every time event is generated.
Requires generalization of permissions: ask arbitrary number of
parents whether it's OK to tell about node (eg. watching
/dir/subdir/x when /dir is deleted: root permissions will now
determine whether we fire event).
Add test that we don't leak information on whether a file exists
or not.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 18:04:28 +00:00
cl349@firebug.cl.cam.ac.uk 0603c5d12a Fix typo.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 18:04:00 +00:00
cl349@firebug.cl.cam.ac.uk 879b63b37c Fix up non-valgrind case to send stderr to file like valgrind case does.
(Having trouble with signal delivery and valgrind, causing spurious test
timeouts)
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 17:59:59 +00:00
cl349@firebug.cl.cam.ac.uk c5a8d2c78b Don't abort on untranslatable errors: EINVAL and print warning
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 17:59:20 +00:00
djm@kirby.fc.hp.com 31dfa31bc0 Merging with xen-unstable 2005-08-02 10:20:46 -07:00
cl349@firebug.cl.cam.ac.uk d16ff05a08 merge? 2005-08-02 17:13:11 +00:00
cl349@firebug.cl.cam.ac.uk 59f1e250c2 Fix checkpointing - add save/restore support to the xenbus driver.
- Add xenbus driver suspend/resume functions
- Change xenbus irq to not be shared
- Translate store mfn in suspend record to pfn and back
- Make tools re-introduce the domain to the store
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 17:12:36 +00:00
kaf24@firebug.cl.cam.ac.uk 91071e38fe Better XenLinux page fault debug output for PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-02 16:11:31 +00:00
smh22@firebug.cl.cam.ac.uk bf4410c5bc Fixes. 2005-08-02 15:42:06 +00:00
kaf24@firebug.cl.cam.ac.uk 7dd5c4ef07 A few consoled tweaks. It's not worth building by default
right now as it isn;t actually used.
2005-08-02 14:51:06 +00:00
kaf24@firebug.cl.cam.ac.uk 81efc4a27f Remove some binary files. 2005-08-02 12:37:37 +00:00
kaf24@firebug.cl.cam.ac.uk ecf4de1162 This is the first patch to move the console code out of Xend and into a
separate daemon.  In this patch I've included the daemon and a 
front-end.  I've also have the console code removed from Xend locally 
but I wanted to clarify a few things first before submitting that.

Here's how it works:

1) Daemon sits on control channel (via xcs) waiting for console messages
2) Buffers all console data received
3) Publishes the location of a tty that can be used for reading in 
/console/<domid>/tty
4) Reads a value from the store to determine what the limit of console 
data should be (/console/<domid>/limit) to prevent DoS attacks

Using it is quite simple, just run consoled and use the xc_console 
program to connect to the console.  It uses syslog for logging.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-08-02 12:18:47 +00:00
kaf24@firebug.cl.cam.ac.uk 0e535dd1ce This is the first patch to move the console code out of Xend and into a
separate daemon.  In this patch I've included the daemon and a 
front-end.  I've also have the console code removed from Xend locally 
but I wanted to clarify a few things first before submitting that.

Here's how it works:

1) Daemon sits on control channel (via xcs) waiting for console messages
2) Buffers all console data received
3) Publishes the location of a tty that can be used for reading in 
/console/<domid>/tty
4) Reads a value from the store to determine what the limit of console 
data should be (/console/<domid>/limit) to prevent DoS attacks

Using it is quite simple, just run consoled and use the xc_console 
program to connect to the console.  It uses syslog for logging.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-08-02 12:18:15 +00:00
smh22@firebug.cl.cam.ac.uk a621fb860f Manual merge. 2005-08-02 11:35:45 +00:00
smh22@firebug.cl.cam.ac.uk b9ca214b2d Disable build of pygrub for now - does not build with e2fsprogs-1.35
Signed-off-by: Steven Hand <steven@xensource.com>
2005-08-02 11:34:38 +00:00
smh22@firebug.cl.cam.ac.uk 024fb8a600 Fix typo in pygrub code 2005-08-02 11:27:58 +00:00
kaf24@firebug.cl.cam.ac.uk 794c430127 The attached patch converts the balloon driver and xend to use
xenstore instead of control messages.

Note: Because there is no way to set a watch on a non-existent key,
this patch includes a workaround to account for the fact that dom0's
store keys are not initialized by the tools before it boots.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-08-02 11:21:11 +00:00
kaf24@firebug.cl.cam.ac.uk 9948ce5259 > to "CONFIG_PAGING_LEVELS >= 3", maybe I forgot to include some
> into the patch ...

Yep, I did, shadow_public.c bits are missing, sorry for trouble.

  Gerd
2005-08-02 11:20:12 +00:00
kaf24@firebug.cl.cam.ac.uk 5f5202f471 Missing ia64_stubs file for libxc. 2005-08-02 11:08:47 +00:00
fred@xuni-t01.sc.intel.com 33cde6585b Fix calling point for do_softirq, which should only be checked
at the very point back to guest domain. Or else unexpected domain
switch may happen in nested interrupt in Xen.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
2005-08-02 02:47:41 -08:00
smh22@firebug.cl.cam.ac.uk 6b3b33d853 Remainder of ACM patch (hgrrrr).
Signed-off-by: Reiner Sailer <sailer@watson.ibm.com>
Signed-off-by: Steven Hand <steven@xensource.com>
2005-08-02 10:15:17 +00:00
fred@xuni-t01.sc.intel.com c1959ca71a Fix compilation issue, and then VTI dom0 is up again.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2005-08-02 02:13:02 -08:00
fred@xuni-t01.sc.intel.com 1f1bc7e9b1 Final set of HV change to support multiple domains on VTI.
Signed-off-by Anthony Xu <anthony.xu@intel.com>
Signed-off-by Eddie Dong <eddie.dong@intel.com>
Signed-off-by Fred Yang <fred.yang@intel.com>
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2005-08-02 02:11:41 -08:00
fred@xuni-t01.sc.intel.com d1b0028c88 Add hypercall continuation support, or else dom_mem_op may fail.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2005-08-02 02:09:24 -08:00
fred@xuni-t01.sc.intel.com 31620a22a4 Disallow reprogram_ac_timer to change itm, since there's only one
hardware timer source on IA64.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
2005-08-02 02:08:00 -08:00
fred@xuni-t01.sc.intel.com 97e55e6e4e Add copyright info.
Signed-off-by Ke Yu <ke.yu@intel.com>
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2005-08-02 02:05:50 -08:00
smh22@firebug.cl.cam.ac.uk bd471dc416 The patches below clean-up sHype-related file names in the tools subtree
and security policy-versioning and data structures in the xen subtree 
(ACM):

 *  the very generic tools directory name "policy"  is changed to 
    "security" and the included "policy_tool" to "secpol_tool"

 * the single constant POLICY_INTERFACE_VERSION is replaced 
   by ACM_INTERFACE_VERSION; the security policy headers are
   versioned independently since the policy can be supplied
   at boot time instead of through the  hypervisor interface

Signed-off-by: Reiner Sailer <sailer@watson.ibm.com>
Signed-off-by: Steven Hand <steven@xensource.com>
2005-08-02 09:37:00 +00:00
smh22@firebug.cl.cam.ac.uk a89e4d770c The attached patch adds the support that was only stubbed in to be able
to support having reading the boot loader config when you're using a
whole disk (eg, file:/root/disk.img,xvda,w) as opposed to just a
partition.

This reads the partition table in the MBR to find the active partition
and then passes that offset down into the filesystem reading code.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-08-02 09:31:47 +00:00
smh22@firebug.cl.cam.ac.uk 8dbafbfdcc * support proper scsi disk name
* xvd now has an official lanana assigned major, use it

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-08-02 09:29:56 +00:00
smh22@firebug.cl.cam.ac.uk 375d3c927f Revert unintended enabling of grant tables for netback/netfront 2005-08-02 09:26:30 +00:00
djm@kirby.fc.hp.com 468dea3b5a Merge with latest xen-unstable 2005-08-01 12:19:36 -07:00
djm@kirby.fc.hp.com bcbd935859 Fix the build on gcc-3.4.x (ia64 files)
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-01 12:11:00 -07:00
djm@kirby.fc.hp.com 0f244f372a Workaround new call to do_softirq in scrub_heap_pages in common code 2005-08-01 11:00:10 -07:00
vh249@arcadians.cl.cam.ac.uk d1f000ef84 correct wrong variables pass to the set_pte_at macro.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-01 16:00:17 +00:00
smh22@firebug.cl.cam.ac.uk d4abe259d4 Manual merge. 2005-08-01 10:48:24 +00:00
smh22@firebug.cl.cam.ac.uk 7b63edab8e Minor clean ups of time.c and partial build fixes for 2.4 2005-08-01 10:45:07 +00:00
ach61@arcadians.cl.cam.ac.uk df47943bc5 PDB: convert ptrace.c and traps.c changes to local patches 2005-08-01 10:43:16 +00:00
kaf24@firebug.cl.cam.ac.uk 7edf4b7901 This patch adds two macros for construction of the
frame_and_sectors field in blkif messages, to eliminate the
"magic shifts" in the blkif code.

It also increases the number of bits representing the sector
number within a page, from 3 to 5, to allow page sizes up to
16K (needed for IA64).

Tested to still work on x86.

Signed-off-by: Matthew Chapman <matthewc@hp.com>
2005-08-01 09:26:51 +00:00
kaf24@firebug.cl.cam.ac.uk 74e414904a While merging my development tree with the latest hg tree I noticed that
VMX support was broken. When you boot an unmodified Linux kernel it gets
stuck in the "Calibrating delay" loop.  The reason for this is that the
vmx code is repeatedly delivering timer interrupts.

Correcting the MILLISECS() and friends macros to return s_time_t instead
of ULL fixes this problem. The other changes are just to get rid of
redundant code and variables.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-08-01 09:16:25 +00:00
ach61@arcadians.cl.cam.ac.uk b640da2bc5 PDB: roll out changes to ptrace.c and traps.c 2005-07-31 21:45:52 +00:00
djm@kirby.fc.hp.com 581879b5ae Accomodate change to common alloc_domheap_page 2005-07-29 13:33:04 -07:00
djm@kirby.fc.hp.com 0db0723986 Merge in minor ia64 Makefile change from xen-unstable 2005-07-29 13:25:03 -07:00
djm@kirby.fc.hp.com 5faaf408fb Updates to conform to latest xen-unstable
Fix ns16550 to again handle rx2600 console defaults
Signed-off-by Kevin Tian <Kevin.tian@intel.com>
2005-07-29 11:52:33 -07:00
kaf24@firebug.cl.cam.ac.uk 51b37eff69 dom_mem_ops address_bitsd fix. 2005-07-29 11:21:39 +00:00
kaf24@firebug.cl.cam.ac.uk 1dd337eba2 x86_32 build fix. 2005-07-29 10:40:39 +00:00