qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI


From: ronnie sahlberg
Subject: Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI
Date: Tue, 25 Oct 2011 19:04:25 +1100

Kevin,

Thanks for the review,
I have attached a modified patch that addresses all your comments.
Please review and/or apply.


> I doubt that you really need sysemu.h. If you did, I think you couldn't 
> successfully build qemu-img and qemu-io.

You are right. I removed it.

> Is acb->status == -ECANCELED redundant with acb->canceled == 1?

Fixed.

> qemu_aio_get() never returns NULL, so this check is unnecessary.

Done.

> I think you should also set bs->total_sectors.

Done.

> iscsi_destroy_url() is only ever called here. Do we leak it in the normal 
> path?

It didnt leak but the the label was confusing. I have changed it from
"failed" to "finished" since this part
is executed for both normal and failures.



Thanks
Ronnie Sahlberg

Attachment: 0001-This-provides-built-in-support-for-iSCSI-to-QEMU.patch
Description: Text Data

Attachment: 0001-This-provides-built-in-support-for-iSCSI-to-QEMU.patch.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]