aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/machine.py
diff options
context:
space:
mode:
authorYuval Shaia <yuval.shaia.ml@gmail.com>2020-03-20 16:34:28 +0200
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>2020-03-21 19:16:02 +0200
commitf23601515b61ffe23398079cbfd6be0b9b99ec02 (patch)
treeb1b08c3c9d6465c87e926851dd0383e6b9ccc97a /python/qemu/machine.py
parent1d2695ef02771f8adecf6b173ad7bcd8ddbaec67 (diff)
downloadqemu-f23601515b61ffe23398079cbfd6be0b9b99ec02.zip
qemu-f23601515b61ffe23398079cbfd6be0b9b99ec02.tar.gz
qemu-f23601515b61ffe23398079cbfd6be0b9b99ec02.tar.bz2
hw/rdma: Cosmetic change - no need for two sge arrays
The function build_host_sge_array uses two sge arrays, one for input and one for output. Since the size of the two arrays is the same, the function can write directly to the given source array (i.e. input/output argument). Signed-off-by: Yuval Shaia <yuval.shaia.ml@gmail.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-Id: <20200320143429.9490-2-yuval.shaia.ml@gmail.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'python/qemu/machine.py')
0 files changed, 0 insertions, 0 deletions