Revision a489f0b555b753f9df8ddc24c7e74f657ef7ee7b authored by Rusty Russell on 20 April 2009, 05:14:00 UTC, committed by Rusty Russell on 19 April 2009, 13:44:01 UTC
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
1 parent 88df781
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 102 bytes |
Kconfig | -rw-r--r-- | 4.4 KB |
Makefile | -rw-r--r-- | 2.1 KB |
gen_init_cpio.c | -rw-r--r-- | 12.2 KB |
initramfs_data.S | -rw-r--r-- | 1021 bytes |
initramfs_data.bz2.S | -rw-r--r-- | 1.0 KB |
initramfs_data.gz.S | -rw-r--r-- | 1023 bytes |
initramfs_data.lzma.S | -rw-r--r-- | 1.0 KB |
Computing file changes ...