<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/lguest/core.c, branch linux-3.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-06-03T09:33:07Z</updated>
<entry>
<title>lguest: fix out-by-one error in address checking.</title>
<updated>2015-06-03T09:33:07Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2015-05-27T01:29:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cbcba3e43dc6f8b2643c4a098e55e75e4df413b8'/>
<id>urn:sha1:cbcba3e43dc6f8b2643c4a098e55e75e4df413b8</id>
<content type='text'>
commit 83a35114d0e4583e6b0ca39502e68b6a92e2910c upstream.

This bug has been there since day 1; addresses in the top guest physical
page weren't considered valid.  You could map that page (the check in
check_gpte() is correct), but if a guest tried to put a pagetable there
we'd check that address manually when walking it, and kill the guest.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;

</content>
</entry>
<entry>
<title>lguest: map Switcher below fixmap.</title>
<updated>2013-04-22T06:15:03Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2013-04-22T04:40:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6b39271746de131366a14bcf04f5740cdc4abdef'/>
<id>urn:sha1:6b39271746de131366a14bcf04f5740cdc4abdef</id>
<content type='text'>
Now we've adjusted all the code, we can simply set switcher_addr to
wherever it needs to go below the fixmaps, rather than asserting that
it should be so.

With large NR_CPUS and PAE, people were hitting the "mapping switcher
would thwack fixmap" message.

Reported-by: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: don't share Switcher PTE pages between guests.</title>
<updated>2013-04-22T06:15:01Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2013-04-22T04:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3412b6ae2924e068f9932f841bdea0f2d8424502'/>
<id>urn:sha1:3412b6ae2924e068f9932f841bdea0f2d8424502</id>
<content type='text'>
We currently use the whole top PGD entry for the switcher, so we
simply share a fixed page of PTEs between all guests (actually, it's
one per Host CPU, to ensure isolation between guests).

Changes to a scheme where every guest has its own mappings.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: expost switcher_pages array (as lg_switcher_pages).</title>
<updated>2013-04-22T06:15:00Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2013-04-22T04:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f1f394b1c33d93416c90f97e201d4d386c04af55'/>
<id>urn:sha1:f1f394b1c33d93416c90f97e201d4d386c04af55</id>
<content type='text'>
We will need this in page_table.c soon.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: assume Switcher text is a single page.</title>
<updated>2013-04-22T06:01:36Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2013-04-22T04:40:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93a2cdff98243df06bafd3c4f3b31b38f0d0fe3e'/>
<id>urn:sha1:93a2cdff98243df06bafd3c4f3b31b38f0d0fe3e</id>
<content type='text'>
ie. SHARED_SWITCHER_PAGES == 1.  It is well under a page, and it's a
minor simplification: it's nice to have *one* simplification in a
patch series!

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: rename switcher_page to switcher_pages.</title>
<updated>2013-04-22T06:01:35Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2013-04-22T04:40:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=856c608827928d29f80605e85fc3f8f0ab3af4fb'/>
<id>urn:sha1:856c608827928d29f80605e85fc3f8f0ab3af4fb</id>
<content type='text'>
There is a single page with the Switcher in it, but it's followed by 2
pages per Host CPU.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: prepare to make SWITCHER_ADDR a variable.</title>
<updated>2013-04-22T06:01:33Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2013-04-22T04:40:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=406a590ba105bfb7b67952f0a5f948e0d374e03e'/>
<id>urn:sha1:406a590ba105bfb7b67952f0a5f948e0d374e03e</id>
<content type='text'>
We currently use the whole top PGD entry for the switcher, but that's
hitting the fixmap in some configurations (mainly, large NR_CPUS).
Introduce a variable, currently set to the constant.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: fix typo</title>
<updated>2012-12-18T04:49:06Z</updated>
<author>
<name>Alex Russell</name>
</author>
<published>2012-10-16T13:26:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=681f206611aaec4fc8be93d609148e02c704b91d'/>
<id>urn:sha1:681f206611aaec4fc8be93d609148e02c704b91d</id>
<content type='text'>
Signed-off-by: Alex Russell &lt;giles.alex@hotmail.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: move process freezing before pending signals check</title>
<updated>2011-10-27T00:26:18Z</updated>
<author>
<name>Michal Hocko</name>
</author>
<published>2011-09-27T06:56:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0acf00014bcfd71090c3b0d43c98e970108064e4'/>
<id>urn:sha1:0acf00014bcfd71090c3b0d43c98e970108064e4</id>
<content type='text'>
run_guest tries to freeze the current process after it has handled
pending interrupts and before it calls lguest_arch_run_guest.
This doesn't work nicely if the task has been killed while being frozen
and when we want to handle that signal as soon as possible.
Let's move try_to_freeze before we check for pending signal so that we
can get out of the loop as soon as possible.

Signed-off-by: Michal Hocko &lt;mhocko@suse.cz&gt;
Acked-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: Allow running under paravirt-enabled KVM.</title>
<updated>2011-10-27T00:26:17Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2011-10-27T00:26:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b56e3215d4331bff9b6d5e5f68bc1ec5cb01e650'/>
<id>urn:sha1:b56e3215d4331bff9b6d5e5f68bc1ec5cb01e650</id>
<content type='text'>
We actually can run under KVM, as it doesn't paravirtualize anything we
need to use; reduce the check to checking we are the normal ringlevel.

Reported-by: Stefanos Geraggelos &lt;sgerag@cslab.ece.ntua.gr&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;# HG changeset patch
</content>
</entry>
</feed>
