<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/lguest, branch v3.2.78</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.78</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.78'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2015-08-06T23:32:13Z</updated>
<entry>
<title>lguest: fix out-by-one error in address checking.</title>
<updated>2015-08-06T23:32:13Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2015-05-27T01:29:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a8f5259269671acb4f0bdb6e0a53974aa5b351ff'/>
<id>urn:sha1:a8f5259269671acb4f0bdb6e0a53974aa5b351ff</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: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>lguest: add export.h to lguest files for THIS_MODULE/EXPORT_SYMBOL</title>
<updated>2011-10-31T23:32:13Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-07-21T17:03:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=39a0e33da0189c99ed3cea6945cda1bc9f4b7b83'/>
<id>urn:sha1:39a0e33da0189c99ed3cea6945cda1bc9f4b7b83</id>
<content type='text'>
We need this in advance of the module.h cleanup, or we'll
get compile errors like this:

  CC      drivers/lguest/lguest_device.o
drivers/lguest/lguest_device.c: In function ‘lguest_devices_init’:
drivers/lguest/lguest_device.c:490: error: ‘THIS_MODULE’ undeclared (first use in this function)

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&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>
<email>mhocko@suse.cz</email>
</author>
<published>2011-09-27T06:56:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.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>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2011-10-27T00:26:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.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>
<entry>
<title>lguest: Fix in/out emulation</title>
<updated>2011-07-22T05:09:51Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2011-07-22T05:09:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=996ba96a97f7406052486682846d68935a60e986'/>
<id>urn:sha1:996ba96a97f7406052486682846d68935a60e986</id>
<content type='text'>
We were blatting too much of the register.  Linux didn't care, but in
theory it might.

Reported-by: Jonas Maebe &lt;jonas.maebe@elis.ugent.be&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: update comments</title>
<updated>2011-07-22T05:09:50Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2011-07-22T05:09:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9f54288def3f92b7805eb6d4b1ddcd73ecf6e889'/>
<id>urn:sha1:9f54288def3f92b7805eb6d4b1ddcd73ecf6e889</id>
<content type='text'>
Also removes a long-unused #define and an extraneous semicolon.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: Simplify device initialization.</title>
<updated>2011-07-22T05:09:49Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2011-07-22T05:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3c3ed482dc077a67903a58c9e1aedba1bb18c18a'/>
<id>urn:sha1:3c3ed482dc077a67903a58c9e1aedba1bb18c18a</id>
<content type='text'>
We used to notify the Host every time we updated a device's status.  However,
it only really needs to know when we're resetting the device, or failed to
initialize it, or when we've finished our feature negotiation.

In particular, we used to wait for VIRTIO_CONFIG_S_DRIVER_OK in the
status byte before starting the device service threads.  But this
corresponds to the successful finish of device initialization, which
might (like virtio_blk's partition scanning) use the device.  So we
had a hack, if they used the device before we expected we started the
threads anyway.

Now we hook into the finalize_features hook in the Guest: at that
point we tell the Launcher that it can rely on the features we have
acked.  On the Launcher side, we look at the status at that point, and
start servicing the device.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: don't rewrite vmcall instructions</title>
<updated>2011-07-22T05:09:49Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2011-07-22T05:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6d7a5d1ea34495ecb1d608f0e40afba7776ee408'/>
<id>urn:sha1:6d7a5d1ea34495ecb1d608f0e40afba7776ee408</id>
<content type='text'>
Now we no longer use vmcall, we don't need to rewrite it in the Guest.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>lguest: use a special 1:1 linear pagetable mode until first switch.</title>
<updated>2011-07-22T05:09:48Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2011-07-22T05:09:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5dea1c88ed11a1221581c4b202f053c4fc138704'/>
<id>urn:sha1:5dea1c88ed11a1221581c4b202f053c4fc138704</id>
<content type='text'>
The Host used to create some page tables for the Guest to use at the
top of Guest memory; it would then tell the Guest where this was.  In
particular, it created linear mappings for 0 and 0xC0000000 addresses
because lguest used to switch to its real page tables quite late in
boot.

However, since d50d8fe19 Linux initialized boot page tables in
head_32.S even before the "are we lguest?" boot jump.  So, now we can
simplify things: the Host pagetable code assumes 1:1 linear mapping
until it first calls the LHCALL_NEW_PGTABLE hypercall, which we now do
before we reach C code.

This also means that the Host doesn't need to know anything about the
Guest's PAGE_OFFSET.  (Non-Linux guests might not even have such a
thing).

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>Correct occurrences of</title>
<updated>2011-05-06T16:27:55Z</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2011-05-06T16:27:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=61516587513c84ac26e68e3ab008dc6e965d0378'/>
<id>urn:sha1:61516587513c84ac26e68e3ab008dc6e965d0378</id>
<content type='text'>
- Documentation/kvm/ to Documentation/virtual/kvm
- Documentation/uml/ to Documentation/virtual/uml
- Documentation/lguest/ to Documentation/virtual/lguest
throughout the kernel source tree.

Signed-off-by: Rob Landley &lt;rob@landley.net&gt;
Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
</content>
</entry>
</feed>
