Alexander Graf d02532f08e linux-user: Unlock mmap_lock when resuming guest from page_unprotect
The page_unprotect() function is running everything locked. Before every
potential exit path of the function mmap_unlock() gets called to make sure
we don't leak the lock.

However, the function calls tb_invalidate_phys_page() which again can
exit a signal through longjmp, leaving our mmap_unlock() attempts in vain.

Add a hint to tb_invalidate_phys_page() that we need to unlock before we
can leave back into guest context, so that we don't leak the lock.

This fixes 16-bit i386 wine programs running in linux-user for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2013-07-23 17:28:28 +03:00
2013-07-19 15:27:37 +08:00
2013-04-18 13:50:53 +02:00
2013-07-09 13:38:56 -05:00
2013-07-22 10:14:24 -05:00
2012-12-19 08:29:06 +01:00
2013-07-18 08:17:42 -07:00
2013-07-10 10:54:16 -05:00
2013-07-18 08:17:42 -07:00
2013-07-10 10:54:16 -05:00
2013-07-09 07:15:25 -07:00
2013-05-03 13:58:09 +02:00
2013-07-10 13:42:09 -04:00
2012-09-07 09:02:44 +03:00
2013-06-11 23:45:43 +04:00
2013-07-18 08:17:42 -07:00
2013-02-21 16:17:31 -06:00
2013-07-19 12:29:22 +08:00
2013-04-08 18:13:10 +02:00
2012-05-14 07:27:24 +02:00
2013-07-22 21:54:52 +03:00
2013-07-15 09:49:00 +02:00
2013-07-15 09:49:00 +02:00
2013-02-21 16:17:31 -06:00
2013-07-10 10:54:16 -05:00
2011-12-09 11:25:22 +00:00
2013-06-14 15:33:10 +01:00
2013-05-03 13:05:49 +02:00
2013-05-18 16:35:12 +04:00
2013-02-22 21:21:10 +01:00
2013-06-06 11:27:05 +02:00
2013-06-06 11:27:05 +02:00
2013-07-19 12:52:03 +04:00
2013-05-01 13:06:07 +02:00
2011-12-11 17:50:43 -06:00
2013-05-03 12:04:40 -05:00
2013-06-27 02:38:36 +02:00
2013-05-20 10:55:18 -05:00
2013-07-10 13:42:09 -04:00
2013-07-04 17:42:45 +02:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB
Languages
C 90.3%
Dylan 2.5%
Python 2.1%
C++ 2%
Shell 1.7%
Other 1.4%