diff options
| author | Markus Armbruster | 2013-07-31 15:11:06 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-09-12 18:45:31 +0200 |
| commit | 0628c18267bbe8d44f0faf3e71acf0ae31bea7fd (patch) | |
| tree | ffbbcdc9034feb27d11ed645cadd965c80baaf5b /include | |
| parent | exec: Fix Xen RAM allocation with unusual options (diff) | |
| download | qemu-0628c18267bbe8d44f0faf3e71acf0ae31bea7fd.tar.gz qemu-0628c18267bbe8d44f0faf3e71acf0ae31bea7fd.tar.xz qemu-0628c18267bbe8d44f0faf3e71acf0ae31bea7fd.zip | |
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 <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Message-id: 1375276272-15988-3-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <anthony@codemonkey.ws>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
