From: Rusty Russell Date: Mon, 20 Apr 2009 05:14:00 +0000 (-0600) Subject: lguest: fix guest crash on non-linear addresses in gdt pvops X-Git-Tag: v2.6.30-rc3~45^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a489f0b555b753f9df8ddc24c7e74f657ef7ee7b;p=pandora-kernel.git lguest: fix guest crash on non-linear addresses in gdt pvops Fixes guest crash 'lguest: bad read address 0x4800000 len 256' The new per-cpu allocator ends up handing a non-linear address to write_gdt_entry. We do __pa() on it, and hand it to the host, which kills us. I've long wanted to make the hypercall "LOAD_GDT_ENTRY" to match the IDT code, but had no pressing reason until now. Signed-off-by: Rusty Russell Cc: lguest@ozlabs.org --- Reading git-diff-tree failed