aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix VBD recovery logic on SMP guests (+ a minor error reporting fix for save)smh22@firebug.cl.cam.ac.uk2005-12-011-1/+1
| | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* Define explicit evtchn_port_t type (32 bits) and plumb upkaf24@firebug.cl.cam.ac.uk2005-12-012-2/+2
| | | | | | | | to user space thru /dev/xen/evtchn. Signed-off-by: Keir Fraser <keir@xensource.com>
* Merged.emellor@leeni.uk.xensource.com2005-11-303-12/+16
|\
| * GNTTABOP_map_grant_ref returns error status and handle askaf24@firebug.cl.cam.ac.uk2005-11-303-12/+16
| | | | | | | | | | | | | | | | | | | | separate fields. Update callers for new interface. Also use int16_t as standard error code type on all public interfaces. Signed-off-by: Keir Fraser <keir@xensource.com>
* | Added the errno to the messages printed with the ERR macro. Tidy the use ofemellor@leeni.uk.xensource.com2005-11-303-7/+7
|/ | | | | | | | this macro where newlines have been appended -- the macro does this itself so there is no need to add another one. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Bundle vcpu_time and vcpu_info structures together into a singlekaf24@firebug.cl.cam.ac.uk2005-11-283-3/+3
| | | | | | | | | | | | structure that is 64 bytes on x86. This ensures that indexing into the array is fast (power-of-two size) and that accesses are cache friendly (cache line size is usually 32 or 64 bytes). Rename vcpu_data to vcpu_info, vcpu_time to vcpu_info.time. Signed-off-by: Keir Fraser <keir@xensource.com>
* Move mk-symlinks target into tools/Rules.mk.cl349@firebug.cl.cam.ac.uk2005-11-281-11/+0
| | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Fix formatting. smh22@firebug.cl.cam.ac.uk2005-11-261-6/+6
| | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* Fix save/restore and migrate on x86_64. smh22@firebug.cl.cam.ac.uk2005-11-261-7/+10
| | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* Implement new memory_op() XENMEM_machphys_mfn_list. Replaces oldkaf24@firebug.cl.cam.ac.uk2005-11-252-18/+33
| | | | | | | | privcmd Linux ioctl and includes an implementation for x86/64. Signed-off-by: Keir Fraser <keir@xensource.com>
* Tolerate temporary inconsistency between type info and page contents on smh22@firebug.cl.cam.ac.uk2005-11-251-3/+12
| | | | | | | | (live) restore. This should now enable live migrate of fork-intensive (or other page-table-intensive) workloads. Signed-off-by: Steven Hand <steven@xensource.com>
* Re-enable tools support for live migration on PAE. smh22@firebug.cl.cam.ac.uk2005-11-241-2/+2
| | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* Reverse accidental commits for changesets 8001 and 7996-7999.emellor@leeni.uk.xensource.com2005-11-232-3/+1
| | | | | | | | The Mercurial Queues extensions suddenly looks a lot less useful than it first seemed. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* imported patch quiet_linux_build.patchemellor@leeni.uk.xensource.com2005-11-231-0/+2
|
* imported patch my-configemellor@leeni.uk.xensource.com2005-11-231-1/+1
|
* Make sure that accesses to the machine_to_phys table all go throughsos22@douglas.cl.cam.ac.uk2005-11-231-11/+12
| | | | | | | | | suitable macros. Signed-off-by: Steven Smith, sos22@cam.ac.uk
* Add -Wdeclaration-after-statement to Xen and tools build.kaf24@firebug.cl.cam.ac.uk2005-11-222-4/+3
| | | | | | | | Fix the compile errors that result from this. Signed-off-by: Keir Fraser <keir@xensource.com>
* Tidy up debugging output.smh22@firebug.cl.cam.ac.uk2005-11-221-8/+3
| | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* Better handle page type info becoming incoherent during live migrate. smh22@firebug.cl.cam.ac.uk2005-11-221-5/+7
| | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* Merged.emellor@leeni.uk.xensource.com2005-11-221-1/+1
|\
| * Ignore live flag on PAE/64-bit migrations, rather thankaf24@firebug.cl.cam.ac.uk2005-11-221-1/+1
| | | | | | | | | | | | | | | | failing the migration entirely. Signed-off-by: Keir Fraser <keir@xensource.com>
* | Make it possible to run valgrind on code linked with the libxc libraries.emellor@leeni.uk.xensource.com2005-11-2214-52/+92
|/ | | | | | | | | | | | | | Valgrind cannot see when a hypercall has initialised entries in a data structure, so appropriate memsets have been placed before using dom0_op_t, privcmd_hypercall_t, and a couple of miscellaneous blocks passed into this layer. This initialises the block so that valgrind considers it to be valid, but the data therein will be immediately overwritten by the hypercall, all being well. These changes are semantically neutral if -DVALGRIND is not set. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Update the memory_op() hypercall. Add two new subcommands, tokaf24@firebug.cl.cam.ac.uk2005-11-212-13/+1
| | | | | | | | | | | | | query a domain's current and maximum memory reservation. Also, XENMEM_maximum_ram_page now returns the max_page directly, rather than writing through a passed-in pointer. Also, disable PAE in the default config (accidentally checked in two changesets ago). Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix 'belt + braces' check in xc_linux_save and improve error handling smh22@firebug.cl.cam.ac.uk2005-11-212-2/+16
| | | | | | | for live migrate (this includes making shadow enable idempotent). Signed-off-by: Steven Hand <steven@xensource.com>
* Recode usage of FPSR_DEFAULT due to strange double declarationdjm@kirby.fc.hp.com2005-11-192-2/+18
|
* Disable live relocation for PAE and x86/64. Currently it cankaf24@firebug.cl.cam.ac.uk2005-11-181-0/+5
| | | | | | | | | seriously harm Xen's health. Better to just disable it in the tools until the outstanding issues are resolved. Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix pinning logic on restore. smh22@firebug.cl.cam.ac.uk2005-11-171-10/+11
| | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* One more try...smh22@firebug.cl.cam.ac.uk2005-11-161-1/+1
| | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* Fix annoying error introduced during cleanup. Oops. smh22@firebug.cl.cam.ac.uk2005-11-161-1/+1
| | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* Trivial fixes for 64bit and xend. smh22@tempest.cl.cam.ac.uk2005-11-161-1/+1
| | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* Many fixes for save/restore and related areas for PAE in particular. Nowsmh22@firebug.cl.cam.ac.uk2005-11-165-133/+237
| | | | | | | | should be able to save/restore successfully on machines with up to 16GB and any size of guest. Signed-off-by: Steven Hand <steven@xensource.com>
* Rename XENVER_parameters to slightly more informativekaf24@firebug.cl.cam.ac.uk2005-11-162-8/+18
| | | | | | | | XENVER_platform_parameters. Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix up start_info_t magic string to match the format ofkaf24@firebug.cl.cam.ac.uk2005-11-161-2/+4
| | | | | | | | XENVER_capabilities strings. Signed-off-by: Keir Fraser <keir@xensource.com>
* Clean up xenstore/console shared page initialisation, which iskaf24@firebug.cl.cam.ac.uk2005-11-145-3/+22
| | | | | | | | now handled solely by the domain builder. Signed-off-by: Keir Fraser <keir@xensource.com>
* Revert accidentally applied changes from changesetkaf24@firebug.cl.cam.ac.uk2005-11-145-22/+3
| | | | | | | | 7783:5aad7e145e501fbfb346954950a33b042a963633. Signed-off-by: Keir Fraser <keir@xensource.com>
* If /sbin/ isn't in the path, udev rules will erroneously not getkaf24@firebug.cl.cam.ac.uk2005-11-145-3/+22
| | | | | | | | installed. Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
* Remove unnecessary NULL checks before freeing memory blocks.kaf24@firebug.cl.cam.ac.uk2005-11-113-26/+12
| | | | | | | | | The following functions check for NULL internally: free, kfree, xfree, free_xenheap_page[s] Signed-off-by: Keir Fraser <keir@xensource.com>
* Merge with xen-unstable-ia64.hgkaf24@firebug.cl.cam.ac.uk2005-11-112-5/+10
|\
| * Remove unnecessary ifdef in defn of xprintk. Installkaf24@firebug.cl.cam.ac.uk2005-11-111-0/+1
| | | | | | | | | | | | xenguest.h. Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
| * Add some minor defensive coding/error handling in xc_vmx_build.c likekaf24@firebug.cl.cam.ac.uk2005-11-101-5/+9
| | | | | | | | | | | | | | | | | | C/S 7687 Signed-off-by: Haifeng Xue <haifeng.xue@intel.com> Signed-off-by: Xin Li <xin.b.li@intel.com>
* | Merge latest xen-unstable into xen-ia64-unstabledjm@kirby.fc.hp.com2005-11-107-842/+1033
|\|
| * Support recent change moving virtual IOAPIC model into Xen forkaf24@firebug.cl.cam.ac.uk2005-11-092-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ia64/VTI. Now ia64/vti will create links to arch/x86/dm/vmx_vioapic.c and include/x86/vmx_vlapic.h. Firstly, a small change to common virtual IOAPIC model to be used by both sides. Also some compilation fix to tools is included in first one. Secondly, there are ia64-specific changes to hook to common IOAPIC model. Based on this patch upon latest xen-ia64-unstable tip, we can see multiple domains working again on XEN/IA64, including both domU and VTI domain simultaneously in run-time. Signed-off-by Kevin Tian <kevin.tian@intel.com> Signed-off-by Anthony Xu <Anthony.xu@intel.com> Signed-off-by Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by Eddie Dong <eddie.dong@intel.com>
| * More fixes for save/restore; use configured memory for generating sxp.smh22@firebug.cl.cam.ac.uk2005-11-092-2/+3
| | | | | | | | | | Signed-off-by: Steven Hand <steven@xensource.com>
| * Fix 64-bit build. smh22@firebug.cl.cam.ac.uk2005-11-091-4/+5
| | | | | | | | | | Signed-off-by: Steven Hand <steven@xensource.com>
| * Enable save/restore for PAE domains.smh22@firebug.cl.cam.ac.uk2005-11-085-821/+1006
| | | | | | | | | | | | | | | | This includes quite a few cleanups / refactoring of the old code, some of which is intended to prepare for 64-bit save/restore. Signed-off-by: Steven Hand <steven@xensource.com>
| * Use '-' instead of '_' in xen version strings.smh22@firebug.cl.cam.ac.uk2005-11-081-2/+2
| | | | | | | | | | Signed-off-by: Steven Hand <steven@xensource.com>
| * Added some minor defensive coding/error handling in xc_linux_build.cmafetter@seana.research.intel-research.net2005-11-081-7/+10
| |
| * Minor Makefile cleanup in tools/libxc/Makefileunknown@aosda.research.intel-research.net2005-11-071-8/+9
| |
* | Fix ia64 tools build (new parameter in xc_vmx_build)djm@kirby.fc.hp.com2005-11-091-0/+1
|/
* Added xc_domain_ioport_permission to libxc, which wraps the dom0 opkaf24@firebug.cl.cam.ac.uk2005-11-062-0/+23
| | | | | | Signed-off-by: Jody Belka <knew (at) pimb (dot) org>