Re: [Qemu-devel] [PATCH for 3.1 3/4] virtio-scsi/migration: Allow load_request to fail

2018-07-17 Thread Cornelia Huck
On Mon, 16 Jul 2018 18:37:42 +0100 "Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > Rather than asserting, check values and return NULL > on failure. > > Signed-off-by: Dr. David Alan Gilbert > --- > hw/scsi/virtio-scsi.c | 15 --- > 1 file changed, 12

[Qemu-devel] [PATCH for 3.1 3/4] virtio-scsi/migration: Allow load_request to fail

2018-07-16 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" Rather than asserting, check values and return NULL on failure. Signed-off-by: Dr. David Alan Gilbert --- hw/scsi/virtio-scsi.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c