diff options
| author | Markus Armbruster | 2012-08-15 13:12:19 +0200 |
|---|---|---|
| committer | Blue Swirl | 2012-08-18 18:53:21 +0200 |
| commit | ff961015529437f4b83fca0a92069aebcf533c9c (patch) | |
| tree | 58aeed0b2560f36269e775ce9c7807322635da59 /coroutine-ucontext.c | |
| parent | scsi: fix warning (diff) | |
| download | qemu-ff961015529437f4b83fca0a92069aebcf533c9c.tar.gz qemu-ff961015529437f4b83fca0a92069aebcf533c9c.tar.xz qemu-ff961015529437f4b83fca0a92069aebcf533c9c.zip | |
vl: Round argument of -m up to multiple of 8KiB
Partial pages make little sense and don't work. Ensure the RAM size
is a multiple of any possible target's page size.
Fixes
$ qemu-system-x86_64 -nodefaults -S -vnc :0 -m 0.8
qemu-system-x86_64: /work/armbru/qemu/exec.c:2255: register_subpage: Assertion `existing->mr->subpage || existing->mr == &io_mem_unassigned' failed.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'coroutine-ucontext.c')
0 files changed, 0 insertions, 0 deletions
