[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] virtio-blk: cleanup using VirtIOBlock *s and Vi

From: Liam Merwick
Subject: Re: [Qemu-devel] [PATCH] virtio-blk: cleanup using VirtIOBlock *s and VirtIODevice *vdev
Date: Fri, 8 Feb 2019 14:34:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0

On 08/02/2019 14:23, Stefano Garzarella wrote:
In several part we still using req->dev or VIRTIO_DEVICE(req->dev)
when we have already defined s and vdev pointers:
     VirtIOBlock *s = req->dev;
     VirtIODevice *vdev = VIRTIO_DEVICE(s);

Signed-off-by: Stefano Garzarella <address@hidden>

Reviewed-by: Liam Merwick <address@hidden>

reply via email to

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