summaryrefslogtreecommitdiffstats
path: root/iov.c
Commit message (Collapse)AuthorAgeFilesLines
* prepare for future GPLv2+ relicensingPaolo Bonzini2012-01-131-0/+3
| | | | | | | | | All files under GPLv2 will get GPLv2+ changes starting tomorrow. event_notifier.c and exec-obsolete.h were only ever touched by Red Hat employees and can be relicensed now. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Add iov_clear()Gerd Hoffmann2011-08-041-0/+23
| | | | | | Fill the spefified area with zeros. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* Add iov_hexdump()Gerd Hoffmann2011-08-041-0/+31
| | | | | | Useful for debugging purposes. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* iov: Update parameter usage in iov_(to|from)_buf()Hannes Reinecke2011-07-181-22/+27
| | | | | | | | | | | iov_to_buf() has an 'offset' parameter, iov_from_buf() hasn't. This patch adds the missing parameter to iov_from_buf(). It also renames the 'offset' parameter to 'iov_off' to emphasize it's the offset into the iovec and not the buffer. Signed-off-by: Hannes Reinecke <hare@suse.de> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
* iov: Move from hw/ to topdirAmit Shah2010-05-101-0/+70
The iov functions can be useful to other code as well. Signed-off-by: Amit Shah <amit.shah@redhat.com> CC: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
OpenPOWER on IntegriCloud