qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 10/13] megasas: Implement DCMD_CLUSTER_RESET_LD


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 10/13] megasas: Implement DCMD_CLUSTER_RESET_LD
Date: Wed, 29 Oct 2014 13:54:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0


On 10/29/2014 01:00 PM, Hannes Reinecke wrote:
> +    trace_megasas_dcmd_reset_ld(cmd->index, target_id);
> +    for (i = 0; i < s->fw_cmds; i++) {
> +        MegasasCmd *tmp_cmd = &s->frames[i];
> +        if (tmp_cmd->req && tmp_cmd->req->dev->lun == target_id) {

Why ->lun?

Paolo

> +            SCSIDevice *d = tmp_cmd->req->dev;
> +            qdev_reset_all(&d->qdev);



reply via email to

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