|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Remove buggy GDT zeroing code from domain restore.
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 645388eff73a3583cac4d1ed5a79847fb5f68879
# Parent 0d3eaf70dedfdde3acea9f8c0cf7ee7416f04922
Remove buggy GDT zeroing code from domain restore.
It was broken for Linux 2.4 domains.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
diff -r 0d3eaf70dedf -r 645388eff73a tools/libxc/xc_linux_restore.c
--- a/tools/libxc/xc_linux_restore.c Thu Jul 14 10:34:57 2005
+++ b/tools/libxc/xc_linux_restore.c Thu Jul 14 16:21:21 2005
@@ -565,13 +565,6 @@
ctxt.gdt_frames[i] = pfn_to_mfn_table[pfn];
}
- /* Zero hypervisor GDT entries (supresses ugly warning) */
- p_gdt = xc_map_foreign_range(
- xc_handle, dom, PAGE_SIZE, PROT_WRITE, ctxt.gdt_frames[0]);
- memset( p_gdt + FIRST_RESERVED_GDT_ENTRY*8, 0,
- NR_RESERVED_GDT_ENTRIES*8 );
- munmap( p_gdt, PAGE_SIZE );
-
/* Uncanonicalise the page table base pointer. */
pfn = ctxt.pt_base >> PAGE_SHIFT;
if ( (pfn >= nr_pfns) || ((pfn_type[pfn]<ABTYPE_MASK) != L2TAB) )
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Remove buggy GDT zeroing code from domain restore.,
Xen patchbot -2 . 0-testing <=
|
|
|
|
|