ia64/xen-unstable

changeset 14763:cd3cfddcb055

[IA64] Fix PV-on-HVM VNIF to work without using balloon on IPF

Temporary patch until we support the the balloon driver on HVM domains.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
author Alex Williamson <alex.williamson@hp.com>
date Mon Apr 09 13:39:35 2007 -0600 (2007-04-09)
parents eb3e430242ac
children 1bde28f762a6
files unmodified_drivers/linux-2.6/platform-pci/xen_support.c
line diff
     1.1 --- a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c	Fri Apr 06 10:08:30 2007 -0600
     1.2 +++ b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c	Mon Apr 09 13:39:35 2007 -0600
     1.3 @@ -51,6 +51,19 @@ int HYPERVISOR_grant_table_op(unsigned i
     1.4  	return xencomm_mini_hypercall_grant_table_op(cmd, uop, count);
     1.5  }
     1.6  EXPORT_SYMBOL(HYPERVISOR_grant_table_op);
     1.7 +
     1.8 +/* without using balloon driver on PV-on-HVM for ia64 */
     1.9 +void balloon_update_driver_allowance(long delta)
    1.10 +{
    1.11 +	/* nothing */
    1.12 +}
    1.13 +EXPORT_SYMBOL_GPL(balloon_update_driver_allowance);
    1.14 +
    1.15 +void balloon_release_driver_page(struct page *page)
    1.16 +{
    1.17 +	/* nothing */
    1.18 +}
    1.19 +EXPORT_SYMBOL_GPL(balloon_release_driver_page);
    1.20  #endif /* __ia64__ */
    1.21  
    1.22  void xen_machphys_update(unsigned long mfn, unsigned long pfn)