Revision 3f44190cb65e41c97e8fb56be22e1e7769cbf373 authored by Peter Maydell on 16 January 2018, 13:28:11 UTC, committed by Michael Roth on 23 January 2018, 22:33:39 UTC
Since pl181 is still using the legacy SD card API, the SD card created by sd_init() is not plugged into any bus. This means that the controller has to reset it manually. Failing to do this mostly didn't affect the guest since the guest typically does a programmed SD card reset as part of its SD controller driver initialization, but meant that migration failed because it's only in sd_reset() that we set up the wpgrps_size field. Cc: qemu-stable@nongnu.org Fixes: https://bugs.launchpad.net/qemu/+bug/1739378 Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 1515506513-31961-2-git-send-email-peter.maydell@linaro.org (cherry picked from commit 0cb57cc701839e7358918d5f2922ccbc04d28d17) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent 88bf4a7
File | Mode | Size |
---|---|---|
Makefile.objs | -rw-r--r-- | 293 bytes |
channel-buffer.c | -rw-r--r-- | 6.9 KB |
channel-command.c | -rw-r--r-- | 10.4 KB |
channel-file.c | -rw-r--r-- | 6.5 KB |
channel-socket.c | -rw-r--r-- | 21.5 KB |
channel-tls.c | -rw-r--r-- | 11.4 KB |
channel-util.c | -rw-r--r-- | 1.4 KB |
channel-watch.c | -rw-r--r-- | 8.7 KB |
channel-websock.c | -rw-r--r-- | 41.4 KB |
channel.c | -rw-r--r-- | 13.3 KB |
dns-resolver.c | -rw-r--r-- | 7.8 KB |
task.c | -rw-r--r-- | 4.1 KB |
trace-events | -rw-r--r-- | 5.1 KB |
Computing file changes ...