Alexander Graf f2a64032a1 kvm: Fix memory slot page alignment logic
Memory slots have to be page aligned to get entered into KVM. There
is existing logic that tries to ensure that we pad memory slots that
are not page aligned to the biggest region that would still fit in the
alignment requirements.

Unfortunately, that logic is broken. It tries to calculate the start
offset based on the region size.

Fix up the logic to do the thing it was intended to do and document it
properly in the comment above it.

With this patch applied, I can successfully run an e500 guest with more
than 3GB RAM (at which point RAM starts overlapping subpage memory regions).

Cc: qemu-stable@nongnu.org
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-11-20 14:52:01 +01:00
2014-09-18 20:02:01 +01:00
2013-04-18 13:50:53 +02:00
2014-11-14 12:15:40 +01:00
2014-11-15 13:01:44 +00:00
2014-11-07 17:38:18 +01:00
2014-11-15 13:01:44 +00:00
2014-11-02 13:30:00 +01:00
2014-11-10 20:50:37 +00:00
2014-11-17 11:48:56 +01:00
2012-09-07 09:02:44 +03:00
2014-06-16 13:24:35 +02:00
2013-09-05 09:40:31 -05:00
2014-08-29 10:46:58 +01:00
2014-06-23 11:12:28 -04:00
2013-10-11 09:34:56 -07:00
2014-09-16 11:04:09 +02:00
2013-07-23 02:41:31 +02:00
2014-10-24 12:19:11 +01:00
2014-09-26 13:37:06 -04:00
2014-09-26 13:37:06 -04:00
2013-08-12 09:15:12 -05:00
2014-11-11 09:46:46 +01:00
2014-09-26 09:34:39 +01:00
2014-11-11 14:50:10 +00:00
2014-11-17 11:49:05 +01:00
2014-05-24 00:07:29 +04:00
2013-10-11 09:34:56 -07:00
2014-02-17 11:57:23 -05:00
2014-10-31 11:29:01 +01:00
2014-06-05 16:10:33 +02:00
2014-11-18 18:00:58 +00:00
2013-10-11 09:34:56 -07:00
2014-07-07 10:37:40 +00:00

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

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 528 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%