| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
sched.h, domain.c:
Make {exec_,}domain_{un,}pause and ..._by_systemcontroller variants
non-inline.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
mm debug cleanup.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
x86_capability[] array is 32-bit ints, not longs.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix get_pte_flags/put_pte_flags macros. Limit 32-bit PAE to 44-bit
physical addresses (maximum PFN that will fit in a 32-bit word).
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ioemu fixes: do not install into /usr/share/qemu as it conflicts with
real qemu installations. Also, do not link x86/64 with a special linker
script -- breaks on SLES9 and ought to be unnecessary.
The linker scripts and configuration/Makefile environment all need
stripping out at some point.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Subject: PAE support
This patch adds initial support for PAE paging to xen.
This patch does:
* boot Xen itself with PAE paging enabled.
* add PAE support to the dom0 domain builder.
Some notes on the design and the changes:
* There are two new config options: CONFIG_X86_PAE (boolean,
same name Linux uses to simply things) and
CONFIG_PAGING_LEVELS (int, possible values are 2,3,4). I've
used #if CONFIG_PAGING_LEVELS for stuff which simply depends
on the number of paging levels in the code common for
x86-32/64, and CONFIG_X86_PAE for special PAE quirks or
i386-only stuff. I've tried to avoid ifdefs if possible
though, often I rearranged code to make it work in both
PAE and non-PAE case instead.
* idle_pg_table: 3rd level is statically initialized, 2nd
level is contignous in physical and virtual memory, so it can
be addressed linear (the dom0 builder uses the same trick to
simplify things a bit btw.). There are two new symbols:
idle_pg_table_l3 and idle_pg_table_l2 for the two tables.
idle_pg_table is aliased to the toplevel page table, i.e.
idle_pg_table_l3 in PAE mode and idle_pg_table_l2 in non-pae
mode. The idle l3 table is actually never ever touched after
boot, the l2 table is accessed via idle_pg_table_l2 and
addressed linear in both PAE and non-PAE mode.
* I've added a "intpte_t" type and a PRIpte define, modeled
after the C99 inttypes.h header, for page table entries.
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
XendDomain.py:
Allow migration to localhost.
g/c XendDomain.domain_exists().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
XendDomainInfo.py, XendDomain.py:
tmp_restore_create_domain is vm_restore now.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
XendDomainInfo.py:
g/c ipaddrs: no longer needed.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
XendDomainInfo.py:
g/c vm_restore: no longer used.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
XendDomainInfo.py:
g/c vif_up: it's the guest's responsibility to take appropriate
actions to get its network working again, i.e. send ARP packets when
it's resumed.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
XendDomainInfo.py:
Should use int(cpu) here to test if it's valid.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
XendDomainInfo.py:
cpu == 0 is the 1st cpu, allow pinning a domain to it.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fix gcc4 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
XendRoot.py:
Fix get_xend_relocation_port comment.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
|\ \ \ \ \
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | | |
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
XendRoot.py:
Document loglevel_default and change default interface address for
listening at for console connections.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Makefile:
Install xen-syms-${version-number} not xen-${version-number}-syms.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
vnet-xend.txt, user.tex, README:
Update the Linux kernel version number from 2.6.9 to 2.6 or 2.6.11
in several places in documentation.
Original patch provided by Andrew Thompson <andrewkt@aktzero.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
XendConsole.py:
Remove unused code.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
XendProtocol.py:
Make XendProtocol.py use XendRoot to get the path to xend
domain-socket.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SrvDaemon.py:
Remove unused code.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
XendRoot.py:
XendRoot::logDebug wrongly set the message format to 'info', instead
of 'debug'.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
xc_ptrace_core.c, xc_ptrace.c:
SLES9 has a problem with it's <asm/elf.h> and other headers associated
with it. Since we are only using one thing from this (that we really
don't need) we can just stop including it.
http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=34
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Updated process.c for x86-64.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix CPU detection and initialisation. We now do early detection very
early, but pushed full initialisation to somewhat later when other
infrastructure is properly ready.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
|\| |
| | |
| | |
| | |
| | |
| | | |
Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Solve badness problem when udp_poll() receives fragmented skbuff w/ CONFIG_HIGHMEM
Upstream patch (now in -net tree) from Herbert Xu.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Steven Hand <steven@xensource.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
By default do not enable local APIC if disabled by the BIOS. This
matches Linux behaviour and ought to improve stability on buggy
hardware/firmware (laptops in particular). As in Linux, you can
forcibly enable the APIC with 'lapic' command-line option, or
forcibly ignore it with 'nolapic'.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
|\| |
| | |
| | |
| | |
| | |
| | | |
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
|
| | |
| | |
| | |
| | |
| | |
| | | |
Upgrade to Linux patch 2.6.11.11
Signed-off-by: ian@xensource.com
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
fix xm vif-list and xm vbd-list (modulo error reporting for domain 0)
Signed-off-by: Steven Hand <steven@xensource.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
|
| | | |
| | | |
| | | |
| | | |
| | | | |
partial fix for vbd-list and vif-list
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Better locking strategy in serial rx interrupt handler and getc. Release
the spinlock after each loop iteration to prevent starvation of other
cpus and of interrupt handling. Also neatly folds byte_matches() into
serial_getc().
Signed-off-by: Keir Fraser <keir@xensource.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
console.c:
Bring back console_{getc,putc}.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Manual update for rcu changes in 2.0-testing.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
|\| |
| | |
| | |
| | |
| | | |
Manual merge.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix Xen idle loop to enter/exit tickless mode in same way as s390,
which interfaces properly with the RCU subsystem.
This includes a patch that fixes a race in the generic RCU code: it
was created by IBM for s390, and is being pushed upstream by them.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bit-scanning function take offset/size as an int, not a long, and
return an int. This allows some small optimisation in code produced
for x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fix default root Makefile target.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
More bitop cleanups and code improvements.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Tidy up and fix the bit-scanning operations. In particular,
find_{first,next}_[zero_]bit(addr, max) may return any value >= max
if no suitable bit is found. This is now also the case for first_cpu()
and next_cpu() (unlike Linux!). I don't believe that any callers
care -- they always check for >= NR_CPUS, and I fixed any_online_cpu()
separately. This reduces code size and will improve performance.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| | |
| | |
| | |
| | | |
VMX domains should not have SHM_write_all enabled.
|