Commit Graph
7651 Commits
Author SHA1 Message Date
mafetter@seana.research.intel-research.net 2fc4655033 Fix vncviewer spawning so it actually works.
How did this ever work for other people?
2005-11-08 11:31:16 +01:00
mafetter@seana.research.intel-research.net 873985d3e4 Added some minor defensive coding/error handling in xc_linux_build.c 2005-11-08 11:29:07 +01:00
unknown@aosda.research.intel-research.net 2bedd29af9 Minor Makefile cleanup in tools/libxc/Makefile 2005-11-07 18:35:55 +01:00
unknown@aosda.research.intel-research.net e2e46ad25b Make xen0's default config match itself after a "make oldconfig" 2005-11-07 18:25:09 +01:00
unknown@aosda.research.intel-research.net a7684600fd Minor updates to .hgignore
Added "tools/.*/TAGS" entry.
Sorted all entries.
2005-11-07 17:54:55 +01:00
kaf24@firebug.cl.cam.ac.uk d5f66cab6a This patch remove the obsolete ioapic code on qemu device model side.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
2005-11-07 16:37:58 +01:00
kaf24@firebug.cl.cam.ac.uk 4fe21ad371 This patch add virtual IOAPIC support for VMX guest.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-11-07 16:36:27 +01:00
kaf24@firebug.cl.cam.ac.uk 27ec4c403f This patch change the vmx mmio handler to static.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-11-07 16:35:46 +01:00
emellor@leeni.uk.xensource.com c49bf239ba Merged. 2005-11-07 15:06:27 +01:00
emellor@leeni.uk.xensource.com 1455bb4870 Added description of the behaviour of rename-restart.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 15:06:00 +01:00
jbulpin@wicket.uk.xensource.com 0e2ea3b8b4 Fixed syntax error in iopif patch.
Signed-off-by: James Bulpin <james@xensource.com>
2005-11-07 13:04:27 +01:00
kaf24@firebug.cl.cam.ac.uk 5cfdd9c126 merge 2005-11-07 12:53:38 +01:00
kaf24@firebug.cl.cam.ac.uk 676ad5da47 fast_flush_area() should index the unmap request array using
invcount, not i. Also, fix initialisation of pending_grant_handles:
it was happening too late, and the use of memset() was bogus.

Signed-off-by: Harry Butterworth <butterwo@uk.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-07 12:52:49 +01:00
emellor@leeni.uk.xensource.com ed9f6cba75 Move the randomMAC method from xm.create into server.netif. This way, it can
be shared with other command line tools, and the xm network-attach command.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:36:53 +01:00
emellor@leeni.uk.xensource.com ab6494f226 Fix misnamed call to legacy_mask_to_prefix. Thanks to Tim Moreton for finding
this.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:36:44 +01:00
emellor@leeni.uk.xensource.com 3d511563c0 Diagnostic for hitting the nloopbacks limit. This is presumably the cause of
all the "two bridges don't work" bugs that have been reported (bug #381).

Consideration will be given to raising the default limit -- this is just a
diagnostic of the problem.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:36:35 +01:00
emellor@leeni.uk.xensource.com 3ec891fe7b Wholesale import of xm-test 0.4.0.
This is not yet integrated with the rest of the Xen build system.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:36:16 +01:00
emellor@leeni.uk.xensource.com 27be16e320 Hack around problem whereby VMX domains (using the ioemu device) now fail
because the new hotplug script error checking kicks in.

ioemu really ought to move out of blkif.py.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:35:06 +01:00
emellor@leeni.uk.xensource.com 3dd98c5e02 Added assertion, to stop it blowing up more obscurely a little later.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:30:35 +01:00
emellor@leeni.uk.xensource.com 34c75893fb Tidy exception handling on IntroduceDomain, quieten down one debug message, add
another.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:30:16 +01:00
emellor@leeni.uk.xensource.com 0fad7c8152 Make xenstored reopen its trace file on SIGHUP. This allows one to rotate the
logs beneath the daemon.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:28:53 +01:00
kaf24@firebug.cl.cam.ac.uk 12f3d679c6 Add support for the ioport_permission dom0 op to xend and xm
xm now accepts a parameter 'ioports' that accepts a hex ioport
or ioport range, in the form 02f8[-02ff]

Signed-off-by: Jody Belka <knew (at) pimb (dot) org>
2005-11-07 12:05:15 +01:00
kaf24@firebug.cl.cam.ac.uk 4cf846fd30 Revert c/s 7626 -- it's missing a new file.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-06 19:50:33 +01:00
kaf24@firebug.cl.cam.ac.uk 93859a896b Fix error path in blkback driver where a grant mapping in the
middle of a batch fails. Spotted by Harry Butterworth (IBM).

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-06 17:50:24 +01:00
kaf24@firebug.cl.cam.ac.uk a8849f0aff Add support for the ioport_permission dom0 op to xend and xm
xm now accepts a parameter 'ioports' that accepts a hex ioport
or ioport range, in the form 02f8[-02ff]

Signed-off-by: Jody Belka <knew (at) pimb (dot) org>
2005-11-06 16:40:33 +01:00
kaf24@firebug.cl.cam.ac.uk bfd12bf9c5 Added domain_ioport_permission to the python module xen.lowlevel.xc,
wrapping the equivalent libxc call

Signed-off-by: Jody Belka <knew (at) pimb (dot) org>
2005-11-06 16:40:15 +01:00
kaf24@firebug.cl.cam.ac.uk 41df4047b1 Added xc_domain_ioport_permission to libxc, which wraps the dom0 op
Signed-off-by: Jody Belka <knew (at) pimb (dot) org>
2005-11-06 16:39:55 +01:00
kaf24@firebug.cl.cam.ac.uk b90e21314a This patch adds a new boot parameter, dom0_ioports_disable, which
accepts a comma seperated list of hex ioports and/or ioport ranges
(eg. dom0_ioports_disable=02f8-02ff,03f8-03ff), and applies them to dom0.

Signed-off-by: Jody Belka <knew (at) pimb (dot) org>
2005-11-06 16:39:02 +01:00
kaf24@firebug.cl.cam.ac.uk d24d3ad461 This patch is intended to make qemu support ia64/vti. We have validated
it against latest xen-unstable.hg, both ia32 and x86-64 are not
affected.

Signed-off-by Ke Yu <ke.yu@intel.com>
Signed-off-by Kevin Tian <kevin.tian@intel.com>
Signed-off-by Nakajima Jun <nakajima.jun@intel.com>
Signed-off-by Anthony Xu <anthony.xu@intel.com>
2005-11-05 11:30:01 +01:00
kaf24@firebug.cl.cam.ac.uk eb320ac262 This patch is to remove the pit_timer when the vmx domain is
inactive to save HV external IRQ caused by ac_time and some cleanup for
ioapic in HV.
Thx,eddie

Signed-off-by: Eddie Dong <eddie.dong@intel.com>
2005-11-05 11:26:29 +01:00
kaf24@firebug.cl.cam.ac.uk efb5f15669 vlapic_init alloc memory for struct vlapic, so it should do a memset on
it, not vlapic_reset.

Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-11-05 11:23:02 +01:00
smh22@firebug.cl.cam.ac.uk 6054f20239 Quiet down balloon driver.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-05 10:55:38 +01:00
smh22@firebug.cl.cam.ac.uk ef3a722f62 Check correct flag in grant transfer - this eliminates the most common
source of 'zombie-' domains. 

Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-05 10:54:12 +01:00
kaf24@firebug.cl.cam.ac.uk cba07083df Remove shadow audit debugging. Too noisy for
log-dirty mode.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-04 16:01:49 +01:00
kaf24@firebug.cl.cam.ac.uk 10abf5a06a Specifying 'mem=' as Linux boot parameter disables the default
8MB slack in the mem_map and the p2m table.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-04 11:46:10 +01:00
kaf24@firebug.cl.cam.ac.uk 215f35f5c1 This is a fix for some device model corner cases including:
1: mistake sequence of set/clr to virtual IRQ line.
 2: wrong sequence of IRQ request clear
 3: Add one more place to enable_irq_window.

Signed-off-by: Eddie Dong <eddie.dong@intel.com>
2005-11-04 11:08:45 +01:00
kaf24@firebug.cl.cam.ac.uk d0f9b588c0 This patch adds a check to make sure the config file passed to
vnet-create is correct.  This is better than throwing IOError, because
IOError's are currently reported as xend communication failures.
Also, fix the IOError handling at the end of the file so we don't get
a stack dump if that path is taken.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-04 11:06:41 +01:00
kaf24@firebug.cl.cam.ac.uk 06c12463fc This is another patch that adds an arg_check() to domid and domname so
that we don't dump stack if a user runs either without an argument.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-04 11:05:10 +01:00
kaf24@firebug.cl.cam.ac.uk 4fc33b9db4 This patch adds an arg_check into the set_vcpus code in xm, so that we
don't output a stack trace if <2 arguments are passed.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-04 11:03:20 +01:00
kaf24@firebug.cl.cam.ac.uk e5c7a2d299 Simplified vmx_platform.c by removing obsolete code and redundant vmread's.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-11-03 09:58:45 +01:00
emellor@leeni.uk.xensource.com 15e614f25d Merged. 2005-11-03 02:45:07 +01:00
emellor@leeni.uk.xensource.com a9fc2ae6bc Fix handling of child in forkHelper.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-03 02:44:41 +01:00
kaf24@firebug.cl.cam.ac.uk 13f2a6e868 Fix map_domain_page() by reverting a bogus simplification
that I committed in changeset 5303:d68bc64e2cfe38a85483a8c5d349b4ee45e91fb9
This fixes some very weird and nasty Xen crashes.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-02 19:12:30 +01:00
sos22@douglas.cl.cam.ac.uk 9ef84e4f94 Merge.
Signed-off-by: Steven Smith, sos22@cam.ac.uk
2005-11-02 17:29:32 +01:00
emellor@leeni.uk.xensource.com f50296a467 Merged. 2005-11-02 16:43:32 +01:00
emellor@leeni.uk.xensource.com fe1e7e447b Rewritten handling of child stderr to avoid deadlock.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-02 16:42:29 +01:00
kaf24@firebug.cl.cam.ac.uk ea894244ed Make the -V option of xenconsoled actually do something.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-11-02 11:25:21 +01:00
kaf24@firebug.cl.cam.ac.uk 0a2a26aa78 Make it clear that the result of xs_get_domain_path() must be free()'d. 2005-11-02 11:25:08 +01:00
kaf24@firebug.cl.cam.ac.uk 68917d1380 Fix memory leak in domain cleanup spotted by doremifa in #xen.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-11-02 11:24:49 +01:00
kaf24@firebug.cl.cam.ac.uk a108cd0052 The attached patch to 1) fix a 64-bit bug with some of the data packing,
and 2) adds a workaround for an Infineon TPM hardware bug.

Signed-off-by: Vinnie Scarlata, Joseph Cihula (@intel.com)
2005-11-02 11:21:46 +01:00