An error occurred fetching the project authors.
- 30 Jul, 2009 1 commit
-
-
Rusty Russell authored
I don't really notice it (except to begrudge the extra vertical space), but Ingo does. And he pointed out that one excuse of lguest is as a teaching tool, it should set a good example. Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au> Cc: Ingo Molnar <mingo@redhat.com>
-
- 12 Jun, 2009 1 commit
-
-
Roel Kluin authored
Do not go beyond ARRAY_SIZE of cpu->arch.gdt Signed-off-by:
Roel Kluin <roel.kluin@gmail.com> Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
-
- 19 Apr, 2009 1 commit
-
-
Rusty Russell authored
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
-
- 30 Mar, 2009 1 commit
-
-
Matias Zabaljauregui authored
Impact: clean up Rusty told me, some time ago, that he had become a fan of "bool". So, here are some replacements. Signed-off-by: Matias Zabaljauregui <zabaljauregui at gmail.com> Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
-
- 30 Jan, 2008 3 commits
-
-
Glauber de Oliveira Costa authored
We can save some lines of code by getting rid of *lg = cpu... lines of code spread everywhere by now. Signed-off-by:
Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
-
Glauber de Oliveira Costa authored
events represented in the 'changed' bitmap are per-cpu, not per-guest. move it to the lg_cpu structure Signed-off-by:
Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
-
Glauber de Oliveira Costa authored
The fields found in lguest_arch are not really per-guest, but per-cpu (gdt, idt, etc). So this patch turns lguest_arch into lg_cpu_arch. It makes sense to have a per-guest per-arch struct, but this can be addressed later, when the need arrives. Signed-off-by:
Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
-
- 25 Oct, 2007 1 commit
-
-
Rusty Russell authored
Went through the documentation doing typo and content fixes. This patch contains only comment and whitespace changes. Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
-
- 23 Oct, 2007 2 commits
-
-
Rusty Russell authored
Jes complains that page table code still uses lgread_u32 even though it now uses general kernel pte types. The best thing to do is to generalize lgread_u32 and lgwrite_u32. This means we lose the efficiency of getuser(). We could potentially regain it if we used __copy_from_user instead of copy_from_user, but I'm not certain that our range check is equivalent to access_ok() on all platforms. Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au> Acked-by:
Jes Sorensen <jes@sgi.com>
-
Jes Sorensen authored
Separate i386 architecture specific from core.c and move it to x86/core.c and add x86/lguest.h header file to match. Signed-off-by:
Jes Sorensen <jes@sgi.com> Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
-
- 09 Aug, 2007 1 commit
-
-
Rusty Russell authored
If a Guest makes hypercall which sets a GDT entry to not present, we currently set any segment registers using that GDT entry to 0. Unfortunately, this is not sufficient: there are other ways of altering GDT entries which will cause a fault. The correct solution to do what Linux does: let them set any GDT value they want and handle the #GP when popping causes a fault. This has the added benefit of making our Switcher slightly more robust in the case of any other bugs which cause it to fault. We kill the Guest if it causes a fault in the Switcher: it's the Guest's responsibility to make sure it's not using segments when it changes them. Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 26 Jul, 2007 3 commits
-
-
Rusty Russell authored
Documentation: The FIXMEs Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Rusty Russell authored
Documentation: The Host Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Rusty Russell authored
The netfilter code had very good documentation: the Netfilter Hacking HOWTO. Noone ever read it. So this time I'm trying something different, using a bit of Knuthiness. Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 19 Jul, 2007 1 commit
-
-
Rusty Russell authored
This is the code for the "lg.ko" module, which allows lguest guests to be launched. [akpm@linux-foundation.org: update for futex-new-private-futexes] [akpm@linux-foundation.org: build fix] [jmorris@namei.org: lguest: use hrtimers] [akpm@linux-foundation.org: x86_64 build fix] Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au> Cc: Andi Kleen <ak@suse.de> Cc: Eric Dumazet <dada1@cosmosbay.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-