hw/sd/sdcard: When card is in wrong state, log which state it is
commitc60b292106132f72c1a5afbbd9c55dbc341d1620
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 7 Jun 2021 15:24:58 +0000 (7 17:24 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 12 Jul 2021 10:27:38 +0000 (12 12:27 +0200)
tree5bf00d77dafeb69c06d1141614442ee1e76258ff
parentd1987c8114921eb30859854de664f879b5626da7
hw/sd/sdcard: When card is in wrong state, log which state it is

We report the card is in an inconsistent state, but don't precise
in which state it is. Add this information, as it is useful when
debugging problems.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20210624142209.1193073-2-f4bug@amsat.org>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
hw/sd/sd.c