<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/lguest, branch linux-2.6.30.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-05-26T19:13:11Z</updated>
<entry>
<title>lguest: fix on Intel when KVM loaded (unhandled trap 13)</title>
<updated>2009-05-26T19:13:11Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2009-05-26T11:24:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=564346224daaa8f7222d7a92cdbb7bafde59ae6e'/>
<id>urn:sha1:564346224daaa8f7222d7a92cdbb7bafde59ae6e</id>
<content type='text'>
When KVM is loaded, and hence VT set up, the vmcall instruction in an
lguest guest causes a #GP, not #UD.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>lguest: fix guest crash on non-linear addresses in gdt pvops</title>
<updated>2009-04-19T13:44:01Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2009-04-20T05:14:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a489f0b555b753f9df8ddc24c7e74f657ef7ee7b'/>
<id>urn:sha1:a489f0b555b753f9df8ddc24c7e74f657ef7ee7b</id>
<content type='text'>
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 &lt;rusty@rustcorp.com.au&gt;
Cc: lguest@ozlabs.org
</content>
</entry>
<entry>
<title>lguest: fix crash on vmlinux images</title>
<updated>2009-04-19T13:44:00Z</updated>
<author>
<name>Matias Zabaljauregui</name>
</author>
<published>2009-04-08T20:58:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=88df781afb788fa588dbf2e77f205214022a8893'/>
<id>urn:sha1:88df781afb788fa588dbf2e77f205214022a8893</id>
<content type='text'>
Typical message: 'lguest: unhandled trap 6 at 0x418726 (0x0)'

vmlinux guests were broken by 4cd8b5e2a159f18a1507f1187b44a1acbfa6341b
'lguest: use KVM hypercalls', which rewrites guest text from kvm hypercalls
to trap 31.

The Launcher mmaps the kernel image.  The Guest executes and
immediately faults in the first text page (read-only).  Then it hits a
hypercall, and we rewrite that hypercall, causing a copy-on-write.
But the Guest pagetables still refer to the old page: we fault again,
but as Host we see the hypercall already rewritten, and pass the fault
back to the Guest.  The Guest hasn't set up an IDT yet, so we kill it.

This doesn't happen with bzImages: they unpack themselves and so the
text pages are already read-write.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Tested-by: Patrick McHardy &lt;kaber@trash.net&gt;
</content>
</entry>
<entry>
<title>lguest: use bool instead of int</title>
<updated>2009-03-30T11:25:25Z</updated>
<author>
<name>Matias Zabaljauregui</name>
</author>
<published>2009-03-18T16:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df1693abc42e34bbc4351e179dbe66c28a94efb8'/>
<id>urn:sha1:df1693abc42e34bbc4351e179dbe66c28a94efb8</id>
<content type='text'>
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 &lt;zabaljauregui at gmail.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: use KVM hypercalls</title>
<updated>2009-03-30T11:25:24Z</updated>
<author>
<name>Matias Zabaljauregui</name>
</author>
<published>2009-03-14T15:37:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4cd8b5e2a159f18a1507f1187b44a1acbfa6341b'/>
<id>urn:sha1:4cd8b5e2a159f18a1507f1187b44a1acbfa6341b</id>
<content type='text'>
Impact: cleanup

This patch allow us to use KVM hypercalls

Signed-off-by: Matias Zabaljauregui &lt;zabaljauregui at gmail.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: fix spurious BUG_ON() on invalid guest stack.</title>
<updated>2009-03-30T11:25:23Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2009-03-31T03:55:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6afbdd059c27330eccbd85943354f94c2b83a7fe'/>
<id>urn:sha1:6afbdd059c27330eccbd85943354f94c2b83a7fe</id>
<content type='text'>
Impact: fix crash on misbehaving guest

gpte_addr() contains a BUG_ON(), insisting that the present flag is
set.  We need to return before we call it if that isn't the case.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Cc: stable@kernel.org
</content>
</entry>
<entry>
<title>Merge branch 'core/percpu' into percpu-cpumask-x86-for-linus-2</title>
<updated>2009-03-27T16:28:43Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2009-03-26T20:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e15cf04860074ad032e88c306bea656bbdd0f22'/>
<id>urn:sha1:6e15cf04860074ad032e88c306bea656bbdd0f22</id>
<content type='text'>
Conflicts:
	arch/parisc/kernel/irq.c
	arch/x86/include/asm/fixmap_64.h
	arch/x86/include/asm/setup.h
	kernel/irq/handle.c

Semantic merge:
        arch/x86/include/asm/fixmap.h

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>lguest: fix for CONFIG_SPARSE_IRQ=y</title>
<updated>2009-03-08T23:36:29Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2009-03-09T16:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6db6a5f3ae2ca6b874b0fd97ae16fdc9b5cdd6cc'/>
<id>urn:sha1:6db6a5f3ae2ca6b874b0fd97ae16fdc9b5cdd6cc</id>
<content type='text'>
Impact: remove lots of lguest boot WARN_ON() when CONFIG_SPARSE_IRQ=y

We now need to call irq_to_desc_alloc_cpu() before
set_irq_chip_and_handler_name(), but we can't do that from init_IRQ (no
kmalloc available).

So do it as we use interrupts instead.  Also means we only alloc for
irqs we use, which was the intent of CONFIG_SPARSE_IRQ anyway.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Cc: Ingo Molnar &lt;mingo@redhat.com&gt;
</content>
</entry>
<entry>
<title>x86: remove the Voyager 32-bit subarch</title>
<updated>2009-02-22T23:54:01Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2009-02-22T22:19:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=965c7ecaf2e2b083d711a01ab33735a4bdeee1a4'/>
<id>urn:sha1:965c7ecaf2e2b083d711a01ab33735a4bdeee1a4</id>
<content type='text'>
Impact: remove unused/broken code

The Voyager subarch last built successfully on the v2.6.26 kernel
and has been stale since then and does not build on the v2.6.27,
v2.6.28 and v2.6.29-rc5 kernels.

No actual users beyond the maintainer reported this breakage.
Patches were sent and most of the fixes were accepted but the
discussion around how to do a few remaining issues cleanly
fizzled out with no resolution and the code remained broken.

In the v2.6.30 x86 tree development cycle 32-bit subarch support
has been reworked and removed - and the Voyager code, beyond the
build problems already known, needs serious and significant
changes and probably a rewrite to support it.

CONFIG_X86_VOYAGER has been marked BROKEN then. The maintainer has
been notified but no patches have been sent so far to fix it.

While all other subarchs have been converted to the new scheme,
voyager is still broken. We'd prefer to receive patches which
clean up the current situation in a constructive way, but even in
case of removal there is no obstacle to add that support back
after the issues have been sorted out in a mutually acceptable
fashion.

So remove this inactive code for now.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>lguest: Fix a memory leak with the lg object during launcher close</title>
<updated>2009-01-30T01:04:11Z</updated>
<author>
<name>Mark Wallis</name>
</author>
<published>2009-01-26T06:32:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=05dfdbbd678ea2b642db73f48b75667a23d15484'/>
<id>urn:sha1:05dfdbbd678ea2b642db73f48b75667a23d15484</id>
<content type='text'>
Fix a memory leak identified by Rusty Russell during LCA09 by
kfree'ing the lg object instead of just clearing it when the
launcher closes.

Signed-off-by: Mark Wallis &lt;mwallis@serialmonkey.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
</feed>
