aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2025-02-07 15:30:59 +0000
committerAlex Bennée <alex.bennee@linaro.org>2025-02-10 13:47:58 +0000
commit1e00ebfd8012061c1186fbf368b4216ac6e299c4 (patch)
tree1f26b5e17d619fed622dab737cea15fcc47e76de /rust/qemu-api
parentff6c3b1a16ac2ee570447660526eea531d748396 (diff)
downloadqemu-1e00ebfd8012061c1186fbf368b4216ac6e299c4.zip
qemu-1e00ebfd8012061c1186fbf368b4216ac6e299c4.tar.gz
qemu-1e00ebfd8012061c1186fbf368b4216ac6e299c4.tar.bz2
tests/qtest: simplify qtest_process_inbuf
Don't both creating a GString to temporarily hold our qtest command. Instead do a simpler g_strndup and use autofree to clean up afterwards. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250207153112.3939799-5-alex.bennee@linaro.org>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions