diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-05 14:29:18 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-05 14:29:18 +0100 |
commit | aeb2e1298b7f7e3bddc3f34a53928e3a445019a1 (patch) | |
tree | 92d5e995a6737ba5802cdde1647c9818e7682b8e /unmodified_drivers/linux-2.6/platform-pci | |
parent | d222ec47c364c03cee474967d9977fea5571d2a8 (diff) | |
download | xen-aeb2e1298b7f7e3bddc3f34a53928e3a445019a1.tar.gz xen-aeb2e1298b7f7e3bddc3f34a53928e3a445019a1.tar.bz2 xen-aeb2e1298b7f7e3bddc3f34a53928e3a445019a1.zip |
PV-on-HVM: Add new ioreq 'invalidate' for zapping ioemu-dm mapccahe
after balloon operations in an HVM guest.
This removes the I/O port hack from the guest OS, and from ioemu.
Also we flush on reservation *increases* as well as decreases. This is
necessary until qemu-dm can demand-fault page mappings into existing
valid buckets.
Signed-off-by: Steven Hand <steven@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'unmodified_drivers/linux-2.6/platform-pci')
-rw-r--r-- | unmodified_drivers/linux-2.6/platform-pci/platform-pci.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c index c9f6d73109..8e69557ac8 100644 --- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c +++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c @@ -208,14 +208,6 @@ static uint64_t get_callback_via(struct pci_dev *pdev) ((uint64_t)(pin - 1) & 3)); } -/* Invalidate foreign mappings (e.g., in qemu-based device model). */ -static uint16_t invlmap_port; -void xen_invalidate_foreign_mappings(void) -{ - outb(0, invlmap_port); -} -EXPORT_SYMBOL(xen_invalidate_foreign_mappings); - static int __devinit platform_pci_init(struct pci_dev *pdev, const struct pci_device_id *ent) { @@ -240,8 +232,6 @@ static int __devinit platform_pci_init(struct pci_dev *pdev, return -ENOENT; } - invlmap_port = ioaddr; - if (request_mem_region(mmio_addr, mmio_len, DRV_NAME) == NULL) { printk(KERN_ERR ":MEM I/O resource 0x%lx @ 0x%lx busy\n", |