qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 5734d0: pc: fix qemu exiting with error when


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 5734d0: pc: fix qemu exiting with error when -m X < 128 wi...
Date: Fri, 18 Jul 2014 02:00:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5734d031aa2fdb442410ca958ca5382d54fd71ff
      
https://github.com/qemu/qemu/commit/5734d031aa2fdb442410ca958ca5382d54fd71ff
  Author: Igor Mammedov <address@hidden>
  Date:   2014-07-17 (Thu, 17 Jul 2014)

  Changed paths:
    M vl.c

  Log Message:
  -----------
  pc: fix qemu exiting with error when -m X < 128 with old machine types

If machine doesn't support memory hotplug then starting QEMU
with initial memory less than default will make QEMU exit with
following error message:

$QEMU -m 16  -M isapc
qemu-system-i386: "-memory 'slots|maxmem'" is not supported by: isapc

Set maxram_size to initial memory value before parsing
'maxmem' option allows to keep maxmem in sync with initial
memory size if no maxmem option was specified.

Signed-off-by: Igor Mammedov <address@hidden>
CC: Bruce Rogers <address@hidden>
Reviewed-By: Bruce Rogers <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]