/* * Helpers for getting linearized buffers from iov / filling buffers into iovs * * Copyright (C) 2010 Red Hat, Inc. * * Author(s): * Amit Shah <amit.shah@redhat.com> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. */#include "qemu-common.h"size_tiov_from_buf(structiovec*iov,unsignedintiovcnt,constvoid*buf,size_tsize);