Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
[PATCH] RE: [Xen-devel] DOM0_GETDOMAININFO intended behavior
Ok... now that I (unintentionally) went overboard on this, why not just
document how it works and leave it as is?
signed-off-by: dsteklof@us.ibm.com
signed-off-by: ian@xensource.com
Many files:
- watch now takes a token, returned when reading watch
- More tests
- Fix domain shared page communication (flush output)
- Add "home" path for domains
- More permissions checks in various functions
- Simplify watch acknowledgement code and fix occasional bug
xs_watch_stress.c, 12readonly.sh, 11domain-watch.sh, 10domain-homedir.sh:
new file
xs_stress.c, xs_lib.h, xs_lib.c:
Cleanup whitespace.
ignore:
Add tools/xenstore/xs_watch_stress
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Add xenstore daemon and library.
Makefile:
Add xenstore subdirectory.
Remove xs_stress on clean.
Many files:
new file
ignore:
Update ignore list for xenstore.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Implement the parts of vm save which need interaction with xend
as part of xend, instead of using xfrd.
Execute xc_linux_save in a seperate process so that it can't
crash xend. Also handle errors passed from xc_linux_save.
xen_domain.c:
Disable save in xfrd.
xc_save.c:
new file
Makefile:
Add xc_save.
XendDomainInfo.py:
Add suspended state and threading Condition with notification, allowing
easy waiting for state changes.
XendDomain.py:
Implement the parts of vm save which need interaction with xend
as part of xend, instead of using xfrd. Set state to "suspended"
when detecting a suspended domain.
Fix reading output from subprocesses.
Fix ValueError in xen_domain().
xc.c:
Remove python binding for xc_linux_save.
xc_linux_save.c:
Implement the parts of vm save which need interaction with xend
as part of xend, instead of using xfrd. Also run xc_linux_save
in a seperate process.
xc_linux_restore.c:
Flush output so that xend picks it up timely.
Also disable debug output again.
xc.h:
Update xc_linux_save prototype and fix comments for xc_linux_{save,restore}.
ignore:
Add tools/xcutils/xc_save.
xpopen.py:
Exit with 127 if exec fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Execute xc_linux_restore in a seperate process so that it can't
crash xend. Also handle errors passed from xc_linux_restore and
log info messages from xc_linux_restore.
XendDomain.py:
Popen xc_restore instead of calling xc_linux_restore directly.
xc.c:
Add pyxc_handle exporting the file descriptor to the control interface.
Remove xc_linux_restore -- replaced by popen of xc_restore directly
from python.
xc_linux_restore.c:
Enable debug output.
xpopen.py:
Add xpopen functionality:
Optionally exclude a list of file descriptors from being closed, allowing
access to those file descriptors from the command.
Remove unused parts.
xpopen.py, Makefile, xc_restore.c:
new file
Makefile:
Add xcutils subdir.
ignore:
Add tools/xcutils/xc_restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
better support for vnc in qemu device model:
- different ports for different VMs
- allow reverse connect to a running viewer
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@intel.com>
[PATCH] Re: PAE
> We're taking quite a chunk out of lowmem, though....
Uhm, well, no, we don't. We should though, fix is below.
Current code in unstable takes the address space away from the
vmalloc area, not the lowmem area. vmalloc space is 128 MB by
default, so the non-PAE hypervisor hole fits in and it works
nevertheless. The larger PAE mode hypervisor hole doesn't fit
in, so it breaks when you use enougth memory (somewhere around
800-900 MB). I think that is the bug Scott Parish trapped into.
Gerd
Many files:
Use marker files instead of depending on the change times of directories.
ignore:
Add patches/*/.makedep.
Cleanup ignore list.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Many files:
Add additional intermediate tree (e.g. ref-linux-2.6.11) which is a pristine
tree with the patches from patches/$(OS)-$(OS_VER) applied. The pristine tree
is really pristine now. Also add dependency of ref-$(OS)-$(OS_VER) tree on
patches in patches/$(OS)-$(OS_VER).
ignore:
Add ref-*
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
[PATCH] [PATCH] libxc: mmap doesn't return NULL on error...
Hi, was reading libxc code, and noticed this. Patch is bigger than
strictly necessary due to indent adjust.
Against latest bk.
Rusty.
[PATCH] [PATCH] Increase size of sxpr parser input buffer
Increase the size of the sxpr parser input buffer from 1024 characters, which
isn't long enough to hold larger domain configurations (xfrd transmits the
entire domain config sxpr as a single atom inside of another sxpr).
Signed-off-by: Jody Belka <knew (dash) xen (at) pimb (dot) org>
[PATCH] Mkbuildtree little fix
Hi, here is a really small fix for mkbuildtree.
With my 'find' version [1], I get many of these warning when using mkbuildtree:
find: warning: you have specified the -maxdepth option after a
non-option argument -type, but options are not positional (-maxdepth
affects tests specified before it as well as those specified after it).
Please specify options before other arguments.
My patch just correct the ordering of the options, it should be
harmless, but I didn't test with other versions of find.
Regards
[1] find --version
GNU find version 4.2.20
Features enabled: D_TYPE O_NOFOLLOW(enabled)
xen-unstable-mkbuildtree-find-maxpath.patch:
[PATCH] [patch] pgtable.c cleanups
Hi guys,
The new mm_(un)pin stuff is certainly a nice optimization.
But can we take care a bit more about coding style issues
and write code not *that* hackish please? Casts, code
duplication, "unsigned long" for page table entries *again*.
And a few more variables also make the code more readable
(and gcc should be clever enougth that this isn't a
performance hit). We want to have that merged some day in
mainline, don't we?
The patch below cleans up the pin/unpin code in pgtable.c
I've created two helper functions to factor out common code,
the page table walk is basically the same for both pin and
unpin, it's just different page flags. Also fixed up the
walk code to correcly walk through all 4 levels linux has,
so it works correctly for the PAE case. For x86_64 it
should work fine as well (untested though).
please apply,
Gerd
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
[PATCH] [PATCH] xen: is_idle_task cleanup
The macro is_idle_task references d_flags which is only in struct
domain. When WAKE_HISTO or BLOCKTIME_HISTO are defined (in schedule.c)
xen fails to compile with out the attached patch.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
[PATCH] IO-APIC in drivers/pci/quirks.c
This patch moves the IO-APIC include inside #ifdef CONFIG_X86_IO_APIC , which
is how Linux 2.6 has it. This is needed for architectures without
asm/io_apic.h. I've verified that x86 still builds; please apply.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
===== xen/drivers/pci/quirks.c 1.9 vs edited =====
[PATCH] Install libraries into libdir
Attached makes it so that libxc and libxutil get installed
into /usr/lib64 instead of /usr/lib on x86_64.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
===== Config.mk 1.3 vs edited =====
[PATCH] add cscope support to xen Makefile
Add cscope support to xen Makefile. While at it, refactor a bit so
etags, ctags, and cscope use same method to generate file list.
Signed-off-by: Chris Wright <chrisw@osdl.org>
[PATCH] [PATCH] Man page path
The FHS has said that manpages go in /usr/share/man instead of /usr/man
since FHS 2.0 which dates back to 1997 or so, if I remember correctly.
Having the makefiles drop things in the right place makes the packages a
little cleaner.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
===== tools/xentrace/Makefile 1.24 vs edited =====
[PATCH] stream fixes for migration
I've attached a patch for libxutil/libxc. This fixes one of the hangs =
I've seen during migrations. It applies against 2.0 and 2.0-testing.
Changes:
* Encountering EOF or error when xfrd reads from stream could cause an =
infinite loop.
* Cleaned up the closing of streams.
* Fixed several memory leaks.
Signed-off-by: Charles Coffing <ccoffing@novell.com>
[PATCH] [PATCH] tools/libxc/xc_vmx_build.c broken
xc_vmx_build pins the level 2 page table too early so that subsequent maps
(like those in zap_mmio_ranges) fail and consequently xc_vmx_build fails.
To solve this, this patch pins the l2pt at the end of the function when
all memory initializations are finalized.
Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com>
Added the mbootpack tool, which packages multiboot boot files and
disguises them as a linux bzImage. Useful for booting Xen using
pxelinux, or another linux-only bootloader.
Signed-off-by: Tim Deegan <Tim.Deegan@cl.cam.ac.uk>