OpenCloudOS-Kernel/arch/x86/lguest
Rusty Russell a489f0b555 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 <rusty@rustcorp.com.au>
Cc: lguest@ozlabs.org
2009-04-19 23:14:01 +09:30
..
Kconfig x86: remove the Voyager 32-bit subarch 2009-02-23 00:54:01 +01:00
Makefile Move lguest guest support to arch/x86. 2007-10-23 15:49:50 +10:00
boot.c lguest: fix guest crash on non-linear addresses in gdt pvops 2009-04-19 23:14:01 +09:30
i386_head.S lguest: use KVM hypercalls 2009-03-30 21:55:24 +10:30