aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc
Commit message (Collapse)AuthorAgeFilesLines
...
| * | merge with xen-unstable.hgawilliam@xenbuild.aw2006-08-2723-775/+956
| |\ \
| * | | [IA64] Modify xc_ia64_hvm_build for using the new Xen event channelsawilliam@xenbuild.aw2006-08-231-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
| * | | [IA64] update xc_shadow_control call with new parametersawilliam@xenbuild.aw2006-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | | | [POWERPC] fix bad mergeJimi Xenidis2006-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* | | | [POWERPC][TOOLS] sync with start_info_t changesHollis Blanchard2006-08-291-2/+2
| |_|/ |/| | | | | | | | | | | Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* | | [XEN] Rename shadow2 to shadow and move the various sourcekaf24@localhost.localdomain2006-08-281-1/+1
| |/ |/| | | | | | | files into a sensible directory hierarchy. Signed-off-by: Keir Fraser <keir@xensource.com>
* | [PATCH] fix null pointer dereference in xen_guest_lookup()Alex Williamson2006-08-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | The latest ELF changes have a null pointer dereference bug when you have neither an elf notes section nor a __xen_guest_string. This patch checks for the existence of the __xen_guest_string prior to using it. Please apply. Thanks, Alex Signed-off-by: Alex Williamson <alex.williamson@hp.com> ---
* | Replace dom0_ops hypercall with three new hypercalls:kfraser@localhost.localdomain2006-08-2519-521/+644
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. platform_op -- used by dom0 kernel to perform actions on the hardware platform (e.g., MTRR access, microcode update, platform quirks, ...) 2. domctl -- used by management tools to control a specified domain 3. sysctl -- used by management tools for system-wide actions Benefits include more sensible factoring of actions to hypercalls. Also allows tool compatibility to be tracked separately from the dom0 kernel. The assumption is that it will be easier to replace libxenctrl, libxenguest and Xen as a matched set if the dom0 kernel does not need to be replaced too (e.g., because that would require vendor revalidation). From here on we hope to maintain dom0 kernel compatibility. This promise is not extended to tool compatibility beyond the existing guarantee that compatibility will not be broken within a three-level stable release [3.0.2, 3.0.3, etc.]. Signed-off-by: Keir Fraser <keir@xensource.com>
* | [TOOLS] Cleanups to domU ELF loader.Ian Campbell2006-08-233-18/+12
| | | | | | | | | | | | | | | | - Remove debugging statements. - Cope better with archtectures where neither ELF notes or __xen_guest are needed or required. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* | Remove all traces of the obsolete BVT scheduler.kfraser@localhost.localdomain2006-08-234-145/+2
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* | [TOOLS] Remove the 'cpuperf' misc tool. Xenoprof is thekfraser@localhost.localdomain2006-08-232-39/+0
| | | | | | | | | | | | correct tool to use for hardware perfctr monitoring now. Also remove unused xc_msr MSR accessor functions from libxenctrl. Signed-off-by: Keir Fraser <keir@xensource.com>
* | [TOOLS] Allow tools to load kernels which use an ELF notes segment.Ian Campbell2006-08-234-69/+312
|/ | | | | | Compatability with kernels using the __xen_guest section is retained. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* [SHADOW] Clean up the DOM0_SHADOW_OP interface.kfraser@localhost.localdomain2006-08-222-10/+7
| | | | | | Also bump the dom0 interface version for tools (but not for dom0 kernel!). Signed-off-by: Keir Fraser <keir@xensource.com>
* [x86_64] Guests no longer set _PAGE_USER on kernel mappings.kfraser@localhost.localdomain2006-08-221-6/+2
| | | | | | | | | This may allow guest kernels to be run outside ring 3 in future, and also provides scope for optimisations today (e.g., using global bit on user mappings). Signed-off-by: Jun Nakajima <jun.nakajima@intel.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* [hvm] Export gpfn of store page to guest - not mfn.Christian Limpach2006-08-221-1/+1
| | | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Support HVM guests with more than 3.75G memory.Christian Limpach2006-08-171-56/+101
| | | | | | | | | | | | | | | | | | | Changes are: 1) M2P table and e820 table are changed to skip address space from HVM_RAM_LIMIT_BELOW_4G to 4G. 2) shared io page location, when less than HVM_RAM_LIMIT_BELOW_4G memory, it's the last page of RAM as today, or it's the last page of HVM_RAM_LIMIT_BELOW_4G RAM. 3) in qemu-dm address space from HVM_RAM_LIMIT_BELOW_4G to 4G are stuffed with mfns starting from 4G, so the 1:1 mapping can still works. This is ugly, but another limit check patch as changeset 10757 will prevent qemu-dm to access this range. This ugly stuffing will be removed when the patch to remove 1:1 mapping from qemu-dm gets accepted in the future. Signed-off-by: Xin Li <xin.b.li@intel.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* Replace shadow pagetable code with shadow2.tdeegan@york.uk.xensource.com2006-08-165-12/+36
|
* [LIBXC] Set close-on-exec on the privcmd fd in libxc.kfraser@localhost.localdomain2006-08-151-0/+30
| | | | | Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Clean up console fields in start_info structure. Add compat code forkfraser@localhost.localdomain2006-08-154-10/+11
| | | | | | | older kernels so they can use the old start_info API. Signed-off-by: Keir Fraser <keir@xensource.com>
* Make room in e820map for SMBIOS tables.kfraser@localhost.localdomain2006-08-141-3/+3
| | | | | Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
* [LIBXC] Remove unused xc_evtchn_status().kfraser@localhost.localdomain2006-08-142-18/+0
| | | | | Signed-off-by: John Levon <john.levon@sun.com>
* [XEN] Clean up e820 definitions. Define shared set in hvm public dir.kaf24@localhost.localdomain2006-08-131-21/+1
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [XEN] Add a warning about changeable size of shared_info structure.kaf24@localhost.localdomain2006-08-123-4/+4
| | | | | | | | | | | sizeof(shared_info_t) can change even in compatible hypervisor versions. Add a clear warning about this, and fix the few places relying on it. In addition, add some padding to arch_shared_info, to allow future additions to the structure without breaking known offsets of members following it in the shared info. Signed-off-by: John Levon <john.levon@sun.com>
* [HVM] Remove unused apic_enabled field from hvm_info_table.kfraser@localhost.localdomain2006-08-101-1/+0
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [LIBXC] clean specified files instead of wildcardingkfraser@localhost.localdomain2006-08-101-2/+3
| | | | | Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* [HVM] Rmove unused field pae_enabled from hvm_info_table.kfraser@localhost.localdomain2006-08-101-4/+4
| | | | | Signed-off-by: Xin Li <xin.b.li@intel.com>
* Merge with xen-ia64-unstable.kfraser@localhost.localdomain2006-08-093-24/+19
|\
| * Merge with xenppc-unstable.kfraser@localhost.localdomain2006-08-092-16/+32
| |\
| * | [LIBXC] put PowerPC loader in libxenguest, not libxenctrlHollis Blanchard2006-08-081-1/+1
| | | | | | | | | | | | Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
| * | [LIBXC] remove relocated file from MakefileHollis Blanchard2006-08-081-1/+1
| | | | | | | | | | | | Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
| * | [LIBXC] move xc_ppc_linux_build.c into a powerpc64 directoryHollis Blanchard2006-08-082-0/+1
| | | | | | | | | | | | Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
| * | [POWERPC] fixed bad swap of console and store event channelsJimi Xenidis2006-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | Nothing to say except "Sorry!" :( Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
| * | [TOOLS] use standard DPRINTF macro in PPC builderHollis Blanchard2006-08-021-22/+16
| | | | | | | | | | | | Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* | | [IA64] catch up new hypercall HYPERVISR_hvm_op for IPF (libxc)awilliam@xenbuild.aw2006-08-091-0/+30
| |/ |/| | | | | | | | | | | | | | | append xc_set_hvm_param for IPF Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
* | [hvm/qemu] Add HVM buffered IO writes framework to accelerate stdvga speed.chris@kneesaa.uk.xensource.com2006-08-091-1/+30
| | | | | | | | | | | | | | | | | | | | With this patch, win2k VMX guest boots fine on xen. Signed-off-by: Zhu Han <zhu.han@intel.com> Signed-off-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Xin Li <xin.b.li@intel.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* | [hvm/qemu] Flip the device model over to using the new Xen event channelssos22@douglas.cl.cam.ac.uk2006-08-081-14/+1
| | | | | | | | | | | | | | | | support. Signed-off-by: Steven Smith <ssmith@xensource.com>
* | [LIBXC] Do not gzclose() after close() on a gzdopen()'ed fd.kaf24@firebug.cl.cam.ac.uk2006-08-081-3/+3
|/ | | | | Signed-off-by: Steven Rostedt <srostedt@redhat.com>
* Change DOM0_PERFCCONTROL: remove array limit.kaf24@firebug.cl.cam.ac.uk2006-08-072-4/+18
| | | | | | | Descriptors and values are passed by two distinct buffers. Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
* [HVM] Add a concept of HVM parameters to the hypervisor.kfraser@localhost.localdomain2006-08-031-0/+32
| | | | | | | | | | | Each HVM domain has a space of HVM parameters associated with it, and these can be manipulated via a new hvm_op hypercall. This means that the hypervisor no longer needs to parse the hvm_info table, so remove that code. Signed-off-by: Steven Smith <ssmith@xensource.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* [LIBXC] Generic include of arch-specific sub-makefile.kfraser@localhost.localdomain2006-07-282-6/+5
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* MErge with xenppc-unstable-merge.hgkfraser@localhost.localdomain2006-07-2810-307/+1165
|\
| * merge with xen-unstable.hgawilliam@xenbuild.aw2006-07-271-29/+3
| |\
| | * Remove unused definitions in xc_hvm_build.c.kfraser@localhost.localdomain2006-07-271-29/+3
| | | | | | | | | | | | | | | Signed-off-by: Xin Li <xin.b.li@intel.com>
| * | [IA64] live migrationawilliam@xenbuild.aw2006-07-262-42/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shadow mode and live migration. Virtualize Dirty bit. Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
| * | [IA64] fix merge error with xen-unstable.hgawilliam@xenbuild.aw2006-07-251-0/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
| * | merge with xen-unstable.hgawilliam@xenbuild.aw2006-07-254-1/+419
| |\|
| * | [IA64] Save & restore.awilliam@xenbuild.aw2006-07-115-18/+618
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xc_ia64_linux_save.c and xc_ia64_linux_restore.c added. vcpu context has more registers and states (eg: tr registers). Per cpu irqs are deallocated when cpu is switched off. #if/#endif added in reboot.c for ia64. Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
| * | [IA64] Creates tools/libxc/ia64 directory.awilliam@xenbuild.aw2006-07-116-249/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split and move xc_ia64_stubs.c into ia64/xc_ia64_hvm_build.c and ia64/xc_ia64_stubs.c Creates ia64/Makefile. Clean up (static in const) in xc_ia64_hvm_build.c Signed-off-by: Tristan Gingold <tristan.gingold@bull.net> [whitespace cleanups in new files] Signed-off-by: Alex Williamson <alex.williamson@hp.com>
| * | merge with xen-unstable.hgawilliam@xenbuild.aw2006-07-056-39/+52
| |\ \
| * | | [IA64] Implement and use DOM0_DOMAIN_STEUP.awilliam@xenbuild.aw2006-07-052-34/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOM0_GETMEMLIST now reads ptes and use gpfn. Domain builder reworked: calls DOMAIN_SETUP, setup start_info page. SAL data are now in domain memory. is_vti field added in domain.arch. Many cleanups (indentation, static, warnings). Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>