hw/ide: drop iov field from IDEBufferedRequest
commit5bbe9325a07520dbeadcc96b02a3b8f471f73e4a
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 18 Feb 2019 14:09:25 +0000 (18 17:09 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 22 Feb 2019 09:42:13 +0000 (22 09:42 +0000)
tree6a853b1d0f0421c3978b2aa48264c1545d99cc9d
parente5863d49e41b1b4b695f854c711a55d2584ee367
hw/ide: drop iov field from IDEBufferedRequest

@iov is used only to initialize @qiov. Let's use new
qemu_iovec_init_buf() instead, which simplifies the code.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190218140926.333779-17-vsementsov@virtuozzo.com
Message-Id: <20190218140926.333779-17-vsementsov@virtuozzo.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/ide/core.c
include/hw/ide/internal.h