]>
git.proxmox.com Git - qemu.git/blob - hw/iov.h
5e3e54123d5b2b04f29cf656c07f3897bf9c4893
2 * Helpers for getting linearized buffers from iov / filling buffers into iovs
4 * Copyright (C) 2010 Red Hat, Inc.
7 * Amit Shah <amit.shah@redhat.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
13 #include "qemu-common.h"
15 size_t iov_from_buf(struct iovec
*iov
, unsigned int iovcnt
,
16 const void *buf
, size_t size
);