Revert "hw/sparc64/niagara: Use blk_name() instead of open-coding it"
commitac5e8c1dec246950d73e22dceab5cb36e82aac0b
authorMarkus Armbruster <armbru@redhat.com>
Mon, 15 May 2023 15:11:04 +0000 (15 17:11 +0200)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 28 Jun 2023 09:50:41 +0000 (28 10:50 +0100)
treea201e831b9df239cab058361cbc296c3f0bb49a9
parentb111569da9f82fdf05df03184836a4564adef599
Revert "hw/sparc64/niagara: Use blk_name() instead of open-coding it"

This reverts commit 1881f336a33a8a99cb17ab1c57ed953682e8e107.

This commit breaks "-drive if=pflash,readonly=on,file=image.iso".  It
claims to merely replace an open-coded version of blk_name() by a
call, but that's not the case.  Sorry for the inconvenience!

Reported-by: Jakub Jermář <jakub@jermar.eu>
Cc: qemu-stable@nongnu.org
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230515151104.1350155-1-armbru@redhat.com>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/sparc64/niagara.c