summary refs log tree commit diff stats
path: root/python/qemu/utils/accel.py
diff options
context:
space:
mode:
authorJoao Martins <joao.m.martins@oracle.com>2022-07-19 18:00:07 +0100
committerMichael S. Tsirkin <mst@redhat.com>2022-07-26 10:40:58 -0400
commit5ff62e2afedf5c984048f90a881794622a9eb3e8 (patch)
treef8a679069f8e61877b459d642ab5e70e7b6d55ff /python/qemu/utils/accel.py
parentc48eb7a4e869f338e5b3e233fed7c9dbb0520247 (diff)
downloadfocaccia-qemu-5ff62e2afedf5c984048f90a881794622a9eb3e8.tar.gz
focaccia-qemu-5ff62e2afedf5c984048f90a881794622a9eb3e8.zip
i386/pc: factor out above-4g end to an helper
There's a couple of places that seem to duplicate this calculation
of RAM size above the 4G boundary. Move all those to a helper function.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220719170014.27028-5-joao.m.martins@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions