]> Git Repo - qemu.git/commit
exec: Clean up fall back when -mem-path allocation fails
authorMarkus Armbruster <[email protected]>
Wed, 31 Jul 2013 13:11:06 +0000 (15:11 +0200)
committerAnthony Liguori <[email protected]>
Thu, 12 Sep 2013 16:45:31 +0000 (11:45 -0500)
commit0628c18267bbe8d44f0faf3e71acf0ae31bea7fd
treeffbbcdc9034feb27d11ed645cadd965c80baaf5b
parentdfeaf2abc73429171ecc5b0b26ac4e5a24c047fc
exec: Clean up fall back when -mem-path allocation fails

With -mem-path, qemu_ram_alloc_from_ptr() first tries to allocate
accordingly, but when it fails, it falls back to normal allocation.

The fall back allocation code used to be effectively identical to the
"-mem-path not given" code, until it started to diverge in commit
432d268.  I believe the code still works, but clean it up anyway: drop
the special fall back allocation code, and fall back to the ordinary
"-mem-path not given" code instead.

Reviewed-by: Paolo Bonzini <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Acked-by: Laszlo Ersek <[email protected]>
Acked-by: Stefano Stabellini <[email protected]>
Message-id: 1375276272[email protected]
Signed-off-by: Anthony Liguori <[email protected]>
exec.c
This page took 0.030794 seconds and 4 git commands to generate.