aboutsummaryrefslogtreecommitdiff
path: root/monitor/hmp-cmds.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-12-11 18:11:51 +0100
committerMarkus Armbruster <armbru@redhat.com>2020-12-19 10:39:23 +0100
commit18cf67c5e1d6e23042b752831aa6f9e4e478787b (patch)
tree771b745c378399c063fb262a63b79cad59b6b0f4 /monitor/hmp-cmds.c
parent7ece42110d2cde04f8cbfbceec536340344eab4e (diff)
downloadqemu-18cf67c5e1d6e23042b752831aa6f9e4e478787b.zip
qemu-18cf67c5e1d6e23042b752831aa6f9e4e478787b.tar.gz
qemu-18cf67c5e1d6e23042b752831aa6f9e4e478787b.tar.bz2
block: Use GString instead of QString to build filenames
QString supports modifying its string, but it's quite limited: you can only append. Just one caller remains: bdrv_parse_filename_strip_prefix() uses it just for building an initial string. Change it to do build the initial string with GString. This is another step towards making QString immutable. Cc: Kevin Wolf <kwolf@redhat.com> Cc: Max Reitz <mreitz@redhat.com> Cc: qemu-block@nongnu.org Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20201211171152.146877-20-armbru@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'monitor/hmp-cmds.c')
0 files changed, 0 insertions, 0 deletions