[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080407085134.GD24204%yamahata@valinux.co.jp>
Date: Mon, 7 Apr 2008 17:51:34 +0900
From: Isaku Yamahata <yamahata@...inux.co.jp>
To: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: Ingo Molnar <mingo@...e.hu>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 24 of 24] xen: add balloon driver
The following modification to include/xen/interface/memory.h
removes handles related definitions.
It breaks ia64/xen compilation because ia64/xen uses memory interface
not only for balloon, but also for xen_alloc_vm_area/xen_free_vm_area().
Can it be added again?
thanks,
On Wed, Apr 02, 2008 at 10:54:13AM -0700, Jeremy Fitzhardinge wrote:
> diff --git a/include/xen/interface/memory.h b/include/xen/interface/memory.h
> --- a/include/xen/interface/memory.h
> +++ b/include/xen/interface/memory.h
> @@ -29,7 +29,7 @@
> * OUT: GMFN bases of extents that were allocated
> * (NB. This command also updates the mach_to_phys translation table)
> */
> - GUEST_HANDLE(ulong) extent_start;
> + ulong extent_start;
>
> /* Number of extents, and size/alignment of each (2^extent_order pages). */
> unsigned long nr_extents;
> @@ -50,7 +50,6 @@
> domid_t domid;
>
> };
> -DEFINE_GUEST_HANDLE_STRUCT(xen_memory_reservation);
>
> /*
> * Returns the maximum machine frame number of mapped RAM in this system.
> @@ -86,7 +85,7 @@
> * any large discontiguities in the machine address space, 2MB gaps in
> * the machphys table will be represented by an MFN base of zero.
> */
> - GUEST_HANDLE(ulong) extent_start;
> + ulong extent_start;
>
> /*
> * Number of extents written to the above array. This will be smaller
> @@ -94,7 +93,6 @@
> */
> unsigned int nr_extents;
> };
> -DEFINE_GUEST_HANDLE_STRUCT(xen_machphys_mfn_list);
>
> /*
> * Sets the GPFN at which a particular page appears in the specified guest's
> @@ -117,7 +115,6 @@
> /* GPFN where the source mapping page should appear. */
> unsigned long gpfn;
> };
> -DEFINE_GUEST_HANDLE_STRUCT(xen_add_to_physmap);
>
> /*
> * Translates a list of domain-specific GPFNs into MFNs. Returns a -ve error
> @@ -132,14 +129,13 @@
> unsigned long nr_gpfns;
>
> /* List of GPFNs to translate. */
> - GUEST_HANDLE(ulong) gpfn_list;
> + ulong gpfn_list;
>
> /*
> * Output list to contain MFN translations. May be the same as the input
> * list (in which case each input GPFN is overwritten with the output MFN).
> */
> - GUEST_HANDLE(ulong) mfn_list;
> + ulong mfn_list;
> };
> -DEFINE_GUEST_HANDLE_STRUCT(xen_translate_gpfn_list);
>
> #endif /* __XEN_PUBLIC_MEMORY_H__ */
>
>
>
--
yamahata
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists