]> git.proxmox.com Git - qemu.git/commit
scsi-disk: do not complete canceled UNMAP requests
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 25 Feb 2013 11:14:34 +0000 (12:14 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Mar 2013 16:51:51 +0000 (17:51 +0100)
commitd0242eadc5bba4f3abe34bc5d536bbfb81aa9891
tree905baa78b85120d4e6309ecd5aa10059886730b8
parent6f6710aa99ac53b59ff0f14380830cb9ab6bdc14
scsi-disk: do not complete canceled UNMAP requests

Canceled requests should never be completed, and doing that could cause
accesses to a NULL hba_private field.

Cc: qemu-stable@nongnu.org
Reported-by: Stefan Priebe <s.priebe@profihost.ag>
Tested-by: Stefan Priebe <s.priebe@profihost.ag>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi-disk.c