Commit Graph
7671 Commits
Author SHA1 Message Date
djm@kirby.fc.hp.com 0add1f8a92 Adapt to new evtchn interfaces.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2005-11-10 08:18:25 -06:00
djm@kirby.fc.hp.com 69c6d67950 Back out partial fix in ia64-unstable 7665/7/8, breaks Debian boot 2005-11-10 08:10:18 -06:00
djm@kirby.fc.hp.com 77f2cfe583 Don't panic for other region physaddr handling in vcpu_translate 2005-11-09 15:31:01 -06:00
djm@kirby.fc.hp.com 8eb71472c8 Don't panic for (rare) dom0 physaddr with uncacheable attribute 2005-11-09 14:11:31 -06:00
djm@kirby.fc.hp.com 930b8bf98f Fix ia64 tools build (new parameter in xc_vmx_build) 2005-11-09 12:59:28 -06:00
djm@kirby.fc.hp.com 9725166a3d Enable region0 virtual addresss in vcpu_translate (but still broken elsewhere)
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-11-09 12:26:17 -06:00
djm@kirby.fc.hp.com 64123904fb Fix domU (by Kevin Tian) 2005-11-08 12:15:55 -06:00
djm@kirby.fc.hp.com 9b55020172 Merge xen-unstable into xen-ia64-unstable again (to get ioapic changes) 2005-11-07 20:40:31 -06:00
djm@kirby.fc.hp.com a2a2124025 Enable ar.unat handling for fast paths (by Anthony Xu) 2005-11-07 16:53:25 -06:00
djm@kirby.fc.hp.com 7d9cb9cf9b Missed ia64 changes to one drivers/xen file 2005-11-07 11:25:59 -06:00
kaf24@firebug.cl.cam.ac.uk c60a806bc2 Fix pagetable pinning logic for xen/i386 kernels. The pin
flag is now associated with the pgd rather than the mm -- this
avoids a race where a pgd is allocated from the pgd_cache but,
before it gets associated with an mm, the kernel suspends itself.
At this point the kernel mappings will not get rewritten when the
kernel is resumed, and the system will fail.

A further advantage is that the code is slightly simpler and less
invasive (no changes to mm_context for example).

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-07 18:14:45 +01:00
djm@kirby.fc.hp.com c179fd9015 Merge latest xen-unstable into xen-ia64-unstable 2005-11-07 11:13:38 -06:00
djm@kirby.fc.hp.com 06aee5fcb9 Fast tlb miss reflection (mostly working, missing robustness, default off)
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
I've been maintaining this out-of-tree partially finished for some time
so am now checking it in but default off.  The current version needs
some additional error checking and only works (fast) for domain0, but
it makes a significant performance differenece.
2005-11-07 10:40:42 -06: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
djm@kirby.fc.hp.com 15e7453af8 Minor driver code changes/rearrangement to reduce ia64-specific patches
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-11-04 10:40:29 -06: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
djm@kirby.fc.hp.com c358323739 Enable test for running_on_xen from modules
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-11-03 21:37:29 -06:00
djm@kirby.fc.hp.com aeeb4d2854 Fix gcc-3.4 compiler errors (submitted by Takebe Akio) 2005-11-03 18:06:15 -06:00