aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc
Commit message (Collapse)AuthorAgeFilesLines
...
* | | [IA64] memmap: save/restore: support save/restore with domain memmapAlex Williamson2007-05-242-32/+40
| | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | | [IA64] Trivial whitespace cleanupsAlex Williamson2007-05-233-32/+35
| | | | | | | | | | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | | [IA64] memmap: dump-core: enable ia64 memory map codeAlex Williamson2007-05-211-6/+8
| | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | | [IA64] memmap: ia64 domVTi memmap info supportAlex Williamson2007-05-211-9/+156
| | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | | [IA64] memmap: make libxc domain builder set up firmware instead of xenAlex Williamson2007-05-214-11/+280
| | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | | [IA64] memmap: add necessary definitionsAlex Williamson2007-05-213-0/+259
| | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | | [IA64] memmap: introduce memmap_info_tAlex Williamson2007-05-211-2/+62
| | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | | [IA64] Fix xen/ia64 save/restore error recovery path.Alex Williamson2007-05-202-1/+10
| | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | | [IA64] Replace mlock()/munlock() in ia64 libxc with un/lock_pages()Alex Williamson2007-05-203-12/+18
|/ / | | | | | | | | | | For Consistency. Also add some missing unlock_pages(). Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | merge with xen-unstable.hgAlex Williamson2007-05-161-1/+82
|\|
| * [BUILDER] Ensure that the L3 page table page for a PAE guest which does notIan Campbell2007-05-091-1/+82
| | | | | | | | | | | | support the extended-cr3 format is below the 4G boundary. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* | merge with xen-unstable.hgAlex Williamson2007-05-081-31/+31
|\|
| * hvm: Domains must be at least 2MB in size.Keir Fraser2007-05-051-31/+31
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* | [IA64] Remove obsolete bug work around code in xc_ia64_stubs.c.Alex Williamson2007-05-071-41/+15
| | | | | | | | | | | | Now xencomm solved the issue. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | [IA64] Rewrite ia64 vcpu_guest_context_regs structureAlex Williamson2007-05-074-11/+9
|/ | | | | | | All registers and the rbs are now declared in the structure. Minimal updates to other parts. Signed-off-by: Tristan Gingold <tgingold@free.fr>
* save/restore: If ENABLE_LOGDIRTY fails, it may be because it iskfraser@localhost.localdomain2007-05-011-2/+11
| | | | | | | already active. To find out, attempt to disable and then reenable the mode. Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
* hvmloader: Place SMBIOS tables at 0xE9000. Previous location was lowerkfraser@localhost.localdomain2007-04-261-10/+5
| | | | | than nay native system would place them. Signed-off-by: Keir Fraser <keir@xensource.com>
* domain builder: Fix sanity check for gzip size.kfraser@localhost.localdomain2007-04-261-2/+2
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* xen: Fix maximum_gpfn() hypercall to always return max_gpfn not nr_gpfns.Keir Fraser2007-04-252-5/+5
| | | | | | Fix callers to convert this to nr_gpfns (aka p2m_size) if that's what they actually need. Signed-off-by: Keir Fraser <keir@xensource.com>
* libxc: Fix xc_translate_foreign_address() to parse non-pae pagetableskfraser@localhost.localdomain2007-04-251-3/+3
| | | | | | correctly. From: Chris Morrow <cmorrow@yottayotta.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* libxenguest: Remove bogus weak definitions of xc_{set,get}_hvm_param().kfraser@localhost.localdomain2007-04-131-12/+0
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [HVM] Save/restore: catch more error cases in the toolsTim Deegan2007-04-121-6/+15
| | | | Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* [HVM] Save/restore: save HVM GPRs and DRs with the rest of the CPU stateTim Deegan2007-04-122-63/+21
| | | | | | and remove the use of xc_vcpu_getcontext() from HVM save/restore. Also fixes loss of CR2, DR6 and DR7 contents across HVM save/restore. Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* HVM: First attempt at domain-resume on save-failure.kfraser@localhost.localdomain2007-04-125-50/+99
| | | | | | | Not working yet as we are a bit too keen to kill the qemu-dm process, before we know that the save has been successful. Signed-off-by: Keir Fraser <keir@xensource.com>
* [HVM] Save/restore: merge xc_linux_save and xc_hvm_saveTim Deegan2007-04-116-938/+362
| | | | | | | | into xc_domain_save, like we did for xc_domain_restore Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com> --HG-- rename : tools/libxc/xc_linux_save.c => tools/libxc/xc_domain_save.c
* Fix PV guest restore.kfraser@localhost.localdomain2007-04-101-3/+5
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* libxc: Fix save/restore code for style.Keir Fraser2007-04-093-430/+539
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* libxc: Clarify xc_mmu interface and make it private.kfraser@localhost.localdomain2007-04-064-26/+25
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* merge with xen-unstable.hgAlex Williamson2007-04-067-710/+438
|\
| * ia64: Fix libxenguest build after save/restore interface changes.Keir Fraser2007-04-061-2/+8
| | | | | | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
| * [HVM] Save/restore: merge xc_linux_restore and xc_hvm_restoreTim Deegan2007-04-056-490/+275
| | | | | | | | | | | | | | | | into one function (and one file) since they share a lot of code Signed-off-by: Tim Deegan <Tim.Deegan@øensource.com> --HG-- rename : tools/libxc/xc_linux_restore.c => tools/libxc/xc_domain_restore.c
| * Clean up save/restore state record handling. No need for Python tokfraser@localhost.localdomain2007-04-044-16/+11
| | | | | | | | | | | | read out the 'p2m size' field. Also that field is not needed at all for HVM guests. Signed-off-by: Keir Fraser <keir@xensource.com>
| * hvm: Lazy memory allocation during HVM restore. General cleanup andkfraser@localhost.localdomain2007-04-046-335/+301
| | | | | | | | | | reduce gross assumptions about memory-map layout. Signed-off-by: Keir Fraser <keir@xensource.com>
| * Remove hvm_drain_io() hypercall, simplify qemu main loop and do notkfraser@localhost.localdomain2007-04-043-24/+0
| | | | | | | | | | | | pause the domain on reboot (not necessary and defeats new deferred shutdown logic). Signed-off-by: Keir Fraser <keir@xensource.com>
* | [IA64] Fix xm dump-core with vti domainAlex Williamson2007-04-051-0/+1
|/ | | | | | | Share privregs with domain and assign it to pseudo physical address space as para virtualized domain. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* Fix the ia64 build after save/restore cleanups.kfraser@localhost.localdomain2007-04-031-18/+25
| | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* Some save/restore cleanups.Steven Hand2007-04-029-91/+109
| | | | Signed-off-by: Steven Hand <steven@xensource.com>
* libxc: Fix the build with some versions of gcc.Keir Fraser2007-03-312-4/+4
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* libxc: User-space grant table device.Keir Fraser2007-03-312-0/+215
| | | | | | Changes to libxc to enable easy access to the grant table device. Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
* [HVM] Save/restore: don't get guest size from "memory_static_min"Tim Deegan2007-03-291-17/+12
| | | | | | | since it doesn't mean that any more. This is a sticking-plaster to get HVM S/R working until the proper memory-map handling patch is ready. Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* [TOOLS] libxc: Fix x86 build.Ian Campbell2007-03-221-0/+1
| | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Merge with xen-unstable.hg.Hollis Blanchard2007-03-2115-170/+266
|\ | | | | | | Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
| * coredump: Allow mmap of shinfo to fail for any HVM guest (x86 or ia64).kfraser@localhost.localdomain2007-03-191-5/+1
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * hvm: Do not save/restore shared_info gpfn location.kfraser@localhost.localdomain2007-03-195-74/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of kludging a max_gpfn estimate in shared_info, add a new XENMEM command to discover the actual maximum gpfn value as known by the shadow code. This needs to be more robust when we support HVM ballooning in future anyway. One interesting point is that max_gpfn may be close to 4GB even for small-memory HVM guests since for example SVGA LFB is mapped into the I/O hole. We may need to special case the I/O hole somehow, or provide some finer-grained way to find out which parts of the GPFN space are actually used (e.g., get Xen to fill in a bitmap with 1 bit per 1024 pages, or similar). Signed-off-by: Keir Fraser <keir@xensource.com>
| * libxc: Explicitly reserve space for special pages in HVM memmap.kfraser@localhost.localdomain2007-03-161-0/+6
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [HVM][QEMU] Save/restore: enable HVM live migrationTim Deegan2007-03-164-9/+42
| | | | | | | | | | by getting page-dirtying bitmaps from qemu-dm as well as from xen. Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
| * x86: Add VGCF_onlien flag to vcpu_guest_context.kfraser@localhost.localdomain2007-03-123-3/+14
| | | | | | | | | | | | Change common Xen code to start all VCPUs (except idle ones) offline. Change arch code to deal with this. Signed-off-by: Keir Fraser <keir@xensource.com>
| * dump-core: store .xen_p2m or .xen_pfn section in pfn ascending order.kfraser@localhost.localdomain2007-03-092-1/+24
| | | | | | | | | | | | | | | | | | | | | | So far the order isn't specified and may be random in theory. But sorted array is requested by crash utility for efficient search. Fortunately it is the case except ia64 full virtualized domain. Update document such that those array must be sorted and fix the ia64 full virtualized domain case. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * xm: New command 'debug-keys' to inject debug-key events into Xen.kfraser@localhost.localdomain2007-03-092-0/+21
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * Fix duplicate consts around xc_error declarations.Ewan Mellor2007-03-082-4/+4
| | | | | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>