summary refs log tree commit diff stats
path: root/scripts/qemu.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2018-10-05 11:20:10 +0200
committerEduardo Habkost <ehabkost@redhat.com>2018-10-24 06:44:59 -0300
commitac1b3375880d8ddc9d8d1b648dd83f80f4338e8e (patch)
tree680d2a27f42676db55f77af16527aa9145363df2 /scripts/qemu.py
parent7c63ba2055a0a27cdd6ae835f5964f7895d18edc (diff)
downloadfocaccia-qemu-ac1b3375880d8ddc9d8d1b648dd83f80f4338e8e.tar.gz
focaccia-qemu-ac1b3375880d8ddc9d8d1b648dd83f80f4338e8e.zip
memory-device: fix error message when hinted address is too small
The "at" should actually be a "before".
    if (new_addr < address_space_start)
     -> "can't add memory ... before... $address_space_start"

So it looks similar to the other check
    } else if ((new_addr + size) > address_space_end)
     -> "can't add memory ... beyond..."

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20181005092024.14344-3-david@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'scripts/qemu.py')
0 files changed, 0 insertions, 0 deletions