]> git.proxmox.com Git - mirror_qemu.git/commit
hw/ide/core.c: Prevent SIGSEGV during migration
authorDon Slutz <dslutz@verizon.com>
Mon, 17 Nov 2014 21:20:39 +0000 (16:20 -0500)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 18 Nov 2014 17:36:14 +0000 (17:36 +0000)
commit6b896ab261942f441a16836e3fa3c83f3f4488b9
treeae5646195c73af052e6868467eb32f562539b823
parent8336e465acdc0ebaaaa685d218edca346f91100b
hw/ide/core.c: Prevent SIGSEGV during migration

The other callers to blk_set_enable_write_cache() in this file
already check for s->blk == NULL.

Signed-off-by: Don Slutz <dslutz@verizon.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1416259239-13281-1-git-send-email-dslutz@verizon.com
Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/ide/core.c