diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-04-20 07:14:00 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-04-19 15:44:01 +0200 |
commit | a489f0b555b753f9df8ddc24c7e74f657ef7ee7b (patch) | |
tree | 560bd8c56524b658eb0b46e03ef42e262eb5f9b7 /drivers/virtio | |
parent | lguest: fix crash on vmlinux images (diff) | |
download | linux-a489f0b555b753f9df8ddc24c7e74f657ef7ee7b.tar.xz linux-a489f0b555b753f9df8ddc24c7e74f657ef7ee7b.zip |
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
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions