direct-io.hg

diff tools/libxc/xenctrl.h @ 14101:3dac99b6034e

Xen coredump format: ELF formatified with note section.
added PFN-GMFN table for non-auto translated physmap
added PFN table for auto translated physmap.
HVM domain support.
IA64 support

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>

Use the guest's own p2m table instead of xc_get_pfn_list(), which
cannot handle PFNs with no MFN.
Dump a zeroed page for PFNs with no MFN.
Clearly deprecate xc_get_pfn_list().
Do not include a P2M table with HVM domains.
Refuse to dump HVM until we can map its pages with PFNs.

Signed-off-by: John Levon <john.levon@sun.com>
author Keir Fraser <keir@xensource.com>
date Sat Feb 24 14:31:42 2007 +0000 (2007-02-24)
parents 6c938630de54
children 270a5e2ead43
line diff
     1.1 --- a/tools/libxc/xenctrl.h	Sat Feb 24 14:19:42 2007 +0000
     1.2 +++ b/tools/libxc/xenctrl.h	Sat Feb 24 14:31:42 2007 +0000
     1.3 @@ -570,6 +570,11 @@ void *xc_map_foreign_batch(int xc_handle
     1.4  unsigned long xc_translate_foreign_address(int xc_handle, uint32_t dom,
     1.5                                             int vcpu, unsigned long long virt);
     1.6  
     1.7 +
     1.8 +/**
     1.9 + * DEPRECATED.  Avoid using this, as it does not correctly account for PFNs
    1.10 + * without a backing MFN.
    1.11 + */
    1.12  int xc_get_pfn_list(int xc_handle, uint32_t domid, uint64_t *pfn_buf,
    1.13                      unsigned long max_pfns);
    1.14