aboutsummaryrefslogtreecommitdiff
path: root/hw/xen.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-06-21 22:59:09 +0200
committerAlexander Graf <agraf@suse.de>2011-07-17 01:54:24 +0200
commit868bb33faa643c7ee291bb308a829122b72d4845 (patch)
treee646309f8df4ff0666a8e872a87c30220ace1e55 /hw/xen.h
parente41d7c691ad7f4ad78573f72048eecb16f78974a (diff)
xen: Fold CONFIG_XEN_MAPCACHE into CONFIG_XEN
Xen won't be enabled if there is no backend support available for the host. And that also means the map cache will work. So drop the separate config switch and move the required stubs over to xen-stub.c. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/xen.h')
-rw-r--r--hw/xen.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/hw/xen.h b/hw/xen.h
index d435ca0ce5..95029bb164 100644
--- a/hw/xen.h
+++ b/hw/xen.h
@@ -31,15 +31,6 @@ static inline int xen_enabled(void)
#endif
}
-static inline int xen_mapcache_enabled(void)
-{
-#ifdef CONFIG_XEN_MAPCACHE
- return xen_enabled();
-#else
- return 0;
-#endif
-}
-
int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num);
void xen_piix3_set_irq(void *opaque, int irq_num, int level);
void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len);