QEMU With E2K User Support
Go to file
Michael Tokarev dcf6f5e15e change iov_* function prototypes to be more appropriate
Reorder arguments to be more natural, readable and
consistent with other iov_* functions, and change
argument names, from:
 iov_from_buf(iov, iov_cnt, buf, iov_off, size)
to
 iov_from_buf(iov, iov_cnt, offset, buf, bytes)

The result becomes natural English:

 copy data to this `iov' vector with `iov_cnt'
 elements starting at byte offset `offset'
 from memory buffer `buf', processing `bytes'
 bytes max.

(Try to read the original prototype this way).

Also change iov_clear() to more general iov_memset()
(it uses memset() internally anyway).

While at it, add comments to the header file
describing what the routines actually does.

The patch only renames argumens in the header, but
keeps old names in the implementation.  The next
patch will touch actual code to match.

Now, it might look wrong to pay so much attention
to so small things.  But we've so many badly designed
interfaces already so the whole thing becomes rather
confusing or error prone.  One example of this is
previous commit and small discussion which emerged
from it, with an outcome that the utility functions
like these aren't well-understdandable, leading to
strange usage cases.  That's why I paid quite some
attention to this set of functions and a few
others in subsequent patches.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2012-06-07 20:43:38 +04:00
audio audio: Always call fini on exit 2012-05-24 19:35:27 +04:00
block block: prevent snapshot mode $TMPDIR symlink attack 2012-05-30 10:18:20 +02:00
bsd-user bsd-user: Use cpu_reset() in after cpu_init() 2012-06-04 23:00:45 +02:00
default-configs Drop darwin-user 2012-05-01 00:17:27 +02:00
docs xhci: add usage info to docs 2012-05-30 10:28:44 +08:00
fpu softfloat: Replace int16 type with int_fast16_t 2012-04-28 09:13:26 +00:00
fsdev
gdb-xml
hw change iov_* function prototypes to be more appropriate 2012-06-07 20:43:38 +04:00
include/qemu qom: Documentation addition for object_class_by_name() 2012-05-12 14:17:52 +02:00
libcacard
linux-headers kvm: Update kernel headers 2012-05-16 18:04:45 -03:00
linux-user linux-user: Use cpu_reset() after cpu_init() / cpu_copy() 2012-06-04 23:00:45 +02:00
net net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
pc-bios pc-bios: Update OpenBIOS images 2012-05-30 17:04:41 +00:00
qapi qapi: add support for command options 2012-05-15 09:15:16 -05:00
qga qemu-ga: avoid blocking on atime update when reading /etc/mtab 2012-05-29 21:00:42 -05:00
QMP qom: quick and dirty QOM filesystem based on FUSE 2012-04-26 13:14:57 -05:00
qom qdev: Use object_property_print() in info qtree 2012-05-12 14:17:52 +02:00
roms pc-bios: Update OpenBIOS images 2012-05-30 17:04:41 +00:00
scripts Merge remote-tracking branch 'qemu-kvm/uq/master' into staging 2012-06-03 07:56:23 +08:00
slirp slirp: Avoid redefining MAX_TCPOPTLEN 2012-05-28 22:44:27 +02:00
sysconfigs/target move CPU definitions to /usr/share/qemu/cpus-x86_64.conf (v2) 2012-05-10 12:37:57 -05:00
target-alpha
target-arm Kill off cpu_state_reset() 2012-06-04 23:00:45 +02:00
target-cris Kill off cpu_state_reset() 2012-06-04 23:00:45 +02:00
target-i386 Merge remote-tracking branch 'qmp/queue/qmp' into staging 2012-06-06 20:57:56 +08:00
target-lm32 Kill off cpu_state_reset() 2012-06-04 23:00:45 +02:00
target-m68k Kill off cpu_state_reset() 2012-06-04 23:00:45 +02:00
target-microblaze target-microblaze: fix swx build breakage 2012-06-07 10:12:00 +02:00
target-mips Kill off cpu_state_reset() 2012-06-04 23:00:45 +02:00
target-ppc Kill off cpu_state_reset() 2012-06-04 23:00:45 +02:00
target-s390x Kill off cpu_state_reset() 2012-06-04 23:00:45 +02:00
target-sh4 Kill off cpu_state_reset() 2012-06-04 23:00:45 +02:00
target-sparc Kill off cpu_state_reset() 2012-06-04 23:00:45 +02:00
target-unicore32
target-xtensa Kill off cpu_state_reset() 2012-06-04 23:00:45 +02:00
tcg tcg/ppc: Handle _CALL_DARWIN being undefined on Darwin 2012-05-27 21:52:56 +04:00
tests fdc-test: introduced qtest no_media_on_start and cmos qtest for floppy 2012-05-25 18:23:47 +02:00
trace
ui vnc: fix segfault in vnc_display_pw_expire() 2012-05-30 10:28:44 +08:00
.gitignore
.gitmodules
.mailmap
a.out.h
acl.c
acl.h
aes.c
aes.h
aio.c
alpha-dis.c
alpha.ld
arch_init.c arch_init: Fix AltiVec build on Darwin/ppc 2012-05-29 11:38:07 +02:00
arch_init.h eliminate arch_config_name variable 2012-05-10 12:37:55 -05:00
arm-dis.c
arm-semi.c arm-semi: Rename SYS_XXX macros to TARGET_SYS_XXX (fixes compiler warning) 2012-05-03 07:04:48 +02:00
arm.ld
async.c async: Use bool for boolean struct members and remove a hole 2012-05-01 10:13:25 +01:00
balloon.c qapi: fix qmp_balloon() conversion 2012-04-27 11:44:50 -03:00
balloon.h
bitmap.c
bitmap.h
bitops.c
bitops.h
block_int.h block: prevent snapshot mode $TMPDIR symlink attack 2012-05-30 10:18:20 +02:00
block-migration.c
block-migration.h
block.c block: prevent snapshot mode $TMPDIR symlink attack 2012-05-30 10:18:20 +02:00
block.h qemu-img: make "info" backing file output correct and easier to use 2012-05-10 10:32:12 +02:00
blockdev.c qemu-option: qemu_opts_create(): use error_set() 2012-06-04 13:49:34 -03:00
blockdev.h
bswap.h
bt-host.c
bt-host.h
bt-vhci.c
buffered_file.c
buffered_file.h
cache-utils.c
cache-utils.h
Changelog fix some common typos 2012-05-14 07:27:24 +02:00
cmd.c qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
cmd.h
CODING_STYLE
compatfd.c
compatfd.h
compiler.h
config.h
configure target-i386: Add API to write elf notes to core file 2012-06-04 13:49:34 -03:00
console.c
console.h
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c Merge remote-tracking branch 'kwolf/for-anthony' into staging 2012-05-14 12:45:01 -05:00
coroutine-ucontext.c
coroutine-win32.c
cpu-all.h Merge remote-tracking branch 'qmp/queue/qmp' into staging 2012-06-06 20:57:56 +08:00
cpu-common.h Add API to check whether a physical address is I/O address 2012-06-04 13:49:33 -03:00
cpu-defs.h
cpu-exec.c cpu-exec: Use cpu_reset() in cpu_exec() for TARGET_PPC 2012-06-04 23:00:45 +02:00
cpus.c
cpus.h
cputlb.c cputlb: fix watchpoints handling 2012-05-12 09:14:38 +00:00
cputlb.h memory: move functions is_romd and section_addr to memory API 2012-05-01 10:45:07 +00:00
cris-dis.c
cursor_hidden.xpm
cursor_left_ptr.xpm
cursor.c
cutils.c
def-helper.h
device_tree.c
device_tree.h
dis-asm.h
disas.c fix some common typos 2012-05-14 07:27:24 +02:00
disas.h
dma-helpers.c
dma.h
dump.c introduce a new monitor command 'dump-guest-memory' to dump guest's memory 2012-06-04 13:49:34 -03:00
dump.h target-i386: add API to get dump info 2012-06-04 13:49:34 -03:00
dyngen-exec.h
elf.h introduce a new monitor command 'dump-guest-memory' to dump guest's memory 2012-06-04 13:49:34 -03:00
envlist.c
envlist.h
error_int.h
error.c
error.h
event_notifier.c
event_notifier.h
exec-all.h linux-user: Fix stale tbs after mmap 2012-05-19 15:49:40 +00:00
exec-memory.h
exec-obsolete.h
exec.c Add API to check whether a physical address is I/O address 2012-06-04 13:49:33 -03:00
gdbstub.c make gdb_id() generally avialable and rename it to cpu_index() 2012-06-04 13:49:34 -03:00
gdbstub.h make gdb_id() generally avialable and rename it to cpu_index() 2012-06-04 13:49:34 -03:00
gen-icount.h
HACKING
hmp-commands.hx qapi: convert netdev_del 2012-06-04 13:49:35 -03:00
hmp.c qapi: convert netdev_del 2012-06-04 13:49:35 -03:00
hmp.h qapi: convert netdev_del 2012-06-04 13:49:35 -03:00
host-utils.c
host-utils.h
hppa-dis.c
hppa.ld
i386-dis.c
i386.ld
ia64-dis.c
ia64.ld
input.c runstate: introduce suspended state 2012-05-08 14:30:09 -03:00
int128.h
iohandler.c iohandler: Use bool for boolean struct member and remove holes 2012-05-01 10:13:33 +01:00
ioport-user.c
ioport.c
ioport.h
iorange.h
iov.c change iov_* function prototypes to be more appropriate 2012-06-07 20:43:38 +04:00
iov.h change iov_* function prototypes to be more appropriate 2012-06-07 20:43:38 +04:00
json-lexer.c
json-lexer.h
json-parser.c
json-parser.h
json-streamer.c
json-streamer.h
kvm-all.c kvm: Fix build for non-CAP_IRQ_ROUTING targets 2012-06-06 11:41:33 +03:00
kvm-stub.c kvm: Enable use of kvm_irqchip_in_kernel in hwlib code 2012-05-21 19:22:50 +03:00
kvm.h kvm: Introduce kvm_irqchip_add/remove_irqfd 2012-05-21 19:22:50 +03:00
libfdt_env.h
LICENSE
linux-aio.c
lm32-dis.c
m68k-dis.c
m68k-semi.c
m68k.ld
main-loop.c main-loop: Calculate poll timeout using timeout argument 2012-05-01 10:46:25 +00:00
main-loop.h Switch SIG_IPI to SIGUSR1 2012-05-10 08:33:34 -05:00
MAINTAINERS Merge branch 'maintainers-up' of git://repo.or.cz/qemu/afaerber 2012-05-01 09:29:44 +00:00
Makefile move CPU definitions to /usr/share/qemu/cpus-x86_64.conf (v2) 2012-05-10 12:37:57 -05:00
Makefile.dis
Makefile.hw
Makefile.objs Beautify makefile commands for generation of files with tracetool 2012-04-25 14:21:35 +01:00
Makefile.target introduce a new monitor command 'dump-guest-memory' to dump guest's memory 2012-06-04 13:49:34 -03:00
Makefile.user
memory_mapping.c introduce a new monitor command 'dump-guest-memory' to dump guest's memory 2012-06-04 13:49:34 -03:00
memory_mapping.h introduce a new monitor command 'dump-guest-memory' to dump guest's memory 2012-06-04 13:49:34 -03:00
memory.c
memory.h memory: move functions is_romd and section_addr to memory API 2012-05-01 10:45:07 +00:00
microblaze-dis.c
migration-exec.c
migration-fd.c
migration-tcp.c use inet_listen()/inet_connect() to support ipv6 migration 2012-05-10 12:37:57 -05:00
migration-unix.c
migration.c use inet_listen()/inet_connect() to support ipv6 migration 2012-05-10 12:37:57 -05:00
migration.h use inet_listen()/inet_connect() to support ipv6 migration 2012-05-10 12:37:57 -05:00
mips-dis.c
mips.ld
module.c
module.h
monitor.c Add 'query-events' command to QMP to query async events 2012-06-04 13:49:35 -03:00
monitor.h Add 'query-events' command to QMP to query async events 2012-06-04 13:49:35 -03:00
nbd.c sockets: use error class to pass listen error 2012-05-10 12:37:57 -05:00
nbd.h
net.c change iov_* function prototypes to be more appropriate 2012-06-07 20:43:38 +04:00
net.h qapi: convert netdev_del 2012-06-04 13:49:35 -03:00
notify.c
notify.h
os-posix.c os-posix: Fix build on FreeBSD 2012-04-26 13:14:58 -05:00
os-win32.c
osdep.c
osdep.h softfloat: Replace int16 type with int_fast16_t 2012-04-28 09:13:26 +00:00
oslib-posix.c
oslib-win32.c
path.c
pci-ids.txt
pflib.c
pflib.h
poison.h
posix-aio-compat.c
ppc64.ld
ppc-dis.c
ppc.ld
qapi-schema-guest.json qemu-ga: guest-shutdown: use only async-signal-safe functions 2012-05-15 09:15:16 -05:00
qapi-schema-test.json
qapi-schema.json Add 'query-events' command to QMP to query async events 2012-06-04 13:49:35 -03:00
qbool.c
qbool.h
qdict-test-data.txt
qdict.c
qdict.h
qemu_socket.h sockets: use error class to pass listen error 2012-05-10 12:37:57 -05:00
qemu-aio.h
qemu-barrier.h virtio: order index/descriptor reads 2012-04-25 10:53:47 +03:00
qemu-bridge-helper.c
qemu-char.c qemu-option: qemu_opts_create(): use error_set() 2012-06-04 13:49:34 -03:00
qemu-char.h
qemu-common.h Merge remote-tracking branch 'qemu-kvm/uq/master' into staging 2012-06-03 07:56:23 +08:00
qemu-config.c qemu-config: introduce qemu_find_opts_err() 2012-06-04 13:49:35 -03:00
qemu-config.h qemu-config: introduce qemu_find_opts_err() 2012-06-04 13:49:35 -03:00
qemu-coroutine-int.h
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-coroutine.h
qemu-doc.texi qemu-doc: Use QEMU instead of qemu for product name 2012-05-14 07:27:24 +02:00
qemu-error.c
qemu-error.h
qemu-file.h
qemu-ga.c qemu-ga: align versioning with QEMU_VERSION 2012-05-15 09:17:06 -05:00
qemu-img-cmds.hx
qemu-img.c qemu-img: Fix segmentation fault 2012-05-14 17:02:19 +02:00
qemu-img.texi qemu-img: Explain how rebase operation can be used to perform a 'diff' operation. 2012-05-25 18:12:54 +02:00
qemu-io.c qemu-io: fix the alloc command 2012-05-10 10:32:13 +02:00
qemu-lock.h
qemu-log.h
qemu-nbd.c
qemu-nbd.texi
qemu-objects.h
qemu-option.c qemu-option: qemu_opts_from_qdict(): use error_set() 2012-06-04 13:49:34 -03:00
qemu-option.h qemu-option: qemu_opts_from_qdict(): use error_set() 2012-06-04 13:49:34 -03:00
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx Merge remote-tracking branch 'sweil/for-1.1' into staging 2012-05-14 10:06:50 -05:00
qemu-os-posix.h
qemu-os-win32.h
qemu-progress.c
qemu-queue.h
qemu-sockets.c qemu-option: qemu_opts_create(): use error_set() 2012-06-04 13:49:34 -03:00
qemu-tech.texi Drop darwin-user 2012-05-01 00:17:27 +02:00
qemu-thread-posix.c
qemu-thread-posix.h
qemu-thread-win32.c
qemu-thread-win32.h
qemu-thread.h
qemu-timer-common.c
qemu-timer.c qemu-timer: Fix wrong error message 2012-05-14 07:27:24 +02:00
qemu-timer.h qemu-timer: Move include for __FreeBSD_version to header 2012-05-08 11:14:56 -05:00
qemu-tls.h
qemu-tool.c main_loop_wait: block indefinitely 2012-04-26 13:14:58 -05:00
qemu-user.c
qemu-x509.h
qemu-xattr.h
qemu.sasl
qerror.c qerror: introduce QERR_INVALID_OPTION_GROUP 2012-06-04 13:49:34 -03:00
qerror.h qerror: introduce QERR_INVALID_OPTION_GROUP 2012-06-04 13:49:34 -03:00
qfloat.c
qfloat.h
qint.c
qint.h
qjson.c
qjson.h
qlist.c
qlist.h
qmp-commands.hx Add 'query-events' command to QMP to query async events 2012-06-04 13:49:35 -03:00
qmp.c runstate: introduce suspended state 2012-05-08 14:30:09 -03:00
qobject.h
qstring.c
qstring.h
qtest.c qtest: Fix tv_usec != long 2012-04-24 09:50:31 -05:00
qtest.h
range.h
readline.c
readline.h
README
rules.mak Beautify makefile commands for generation of files with tracetool 2012-04-25 14:21:35 +01:00
s390-dis.c
s390.ld
savevm.c
sh4-dis.c
softmmu_defs.h
softmmu_exec.h
softmmu_header.h
softmmu_template.h
softmmu-semi.h
sparc64.ld
sparc-dis.c
sparc.ld
spice-qemu-char.c
sysemu.h
targphys.h
tcg-runtime.c
tci-dis.c
tci.c tci: Fix wrong macro name for debug code 2012-05-08 11:15:18 -05:00
thunk.c
thunk.h linux-user: Fix invalid TARGET_ABI_BITS usage on ppc hosts 2012-05-01 21:47:01 +02:00
TODO
trace-events ISCSI: Switch to using READ16/WRITE16 for I/O to the LUN 2012-05-28 14:04:16 +02:00
translate-all.c
uboot_image.h
user-exec.c user-exec.c: Don't assert on segfaults for non-valid addresses 2012-05-08 11:15:18 -05:00
VERSION Update version to open the 1.2 development branch 2012-06-01 16:56:16 +08:00
version.rc
vgafont.h
vl.c qemu-option: qemu_opts_create(): use error_set() 2012-06-04 13:49:34 -03:00
vmstate.h
x86_64.ld
xen-all.c Call xc_domain_shutdown with the reboot flag when the guest requests a reboot. 2012-05-17 10:52:38 +00:00
xen-mapcache.c
xen-mapcache.h
xen-stub.c
xtensa-semi.c

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team