|
| From: | Paolo Bonzini |
| Subject: | Re: [Qemu-devel] [PATCH 1/1 V7] VMWare PVSCSI paravirtual device implementation |
| Date: | Fri, 19 Apr 2013 09:37:03 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
Il 19/04/2013 09:05, Dmitry Fleytman ha scritto:
> + if (pvscsi_req->dev->resetting) {
> + pvscsi_req->cmp.hostStatus = BTSTAT_BUSRESET;
> + }
I'm changing this to
if (pvscsi_req->cmp.hostStatus == BTSTAT_SUCCESS) {
if (pvscsi_req->dev->resetting) {
pvscsi_req->cmp.hostStatus = BTSTAT_BUSRESET;
} else {
pvscsi_req->cmp.hostStatus = BTSTAT_ABORTQUEUE;
}
}
Otherwise it's okay.
Thanks!
Paolo
| [Prev in Thread] | Current Thread | [Next in Thread] |