[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [IA64] xen: fix vmx_build_physmap_table()



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 8b2295822e0d005c616e00cf5004103dd542681c
# Parent  d86236cb824add297127444ab69ef5ed00b71506
[IA64] xen: fix vmx_build_physmap_table()

fix vmx_build_physmap_table(). avoid map pages to the area
[VGA_IO_START, VGA_IO_START + VGA_IO_SIZE].

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_init.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r d86236cb824a -r 8b2295822e0d xen/arch/ia64/vmx/vmx_init.c
--- a/xen/arch/ia64/vmx/vmx_init.c      Fri May 12 08:53:49 2006 -0600
+++ b/xen/arch/ia64/vmx/vmx_init.c      Fri May 12 08:55:50 2006 -0600
@@ -353,6 +353,9 @@ int vmx_build_physmap_table(struct domai
        end = VMX_CONFIG_PAGES(d) << PAGE_SHIFT;
        tmp = end < MMIO_START ? end : MMIO_START;
        for (i = 0; (i < tmp) && (list_ent != &d->page_list); i += PAGE_SIZE) {
+        if (VGA_IO_START <= i && i < VGA_IO_START + VGA_IO_SIZE)
+            continue;
+
            mfn = page_to_mfn(list_entry(
                list_ent, struct page_info, list));
            assign_domain_page(d, i, mfn << PAGE_SHIFT);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.