Statistics
| Branch: | Revision:

root @ 453776e5

Name Size
  QMP
  audio
  backends
  block
  bsd-user
  default-configs
  disas
  docs
  fpu
  fsdev
  gdb-xml
  hw
  include
  ldscripts
  libcacard
  linux-headers
  linux-user
  net
  pc-bios
  qapi
  qga
  qobject
  qom
  roms
  scripts
  slirp
  stubs
  sysconfigs
  target-alpha
  target-arm
  target-cris
  target-i386
  target-lm32
  target-m68k
  target-microblaze
  target-mips
  target-openrisc
  target-ppc
  target-s390x
  target-sh4
  target-sparc
  target-unicore32
  target-xtensa
  tcg
  tests
  trace
  ui
  util
.exrc 220 Bytes
.gitignore 1.5 kB
.gitmodules 682 Bytes
.mailmap 1.2 kB
CODING_STYLE 3.1 kB
COPYING 17.6 kB
COPYING.LIB 25.8 kB
Changelog 22.6 kB
HACKING 6.1 kB
LICENSE 519 Bytes
MAINTAINERS 14.3 kB
Makefile 14.3 kB
Makefile.objs 3.5 kB
Makefile.target 5.1 kB
README 80 Bytes
TODO 1.1 kB
VERSION 7 Bytes
aio-posix.c 7.4 kB
aio-win32.c 5.8 kB
arch_init.c 29.1 kB
async.c 5 kB
balloon.c 3.7 kB
block-migration.c 20 kB
block.c 124 kB
blockdev-nbd.c 3.2 kB
blockdev.c 42.9 kB
blockjob.c 7.6 kB
bt-host.c 5.2 kB
bt-vhci.c 4.5 kB
cmd.c 12.1 kB
cmd.h 2 kB
configure 110.4 kB
coroutine-gthread.c 5.8 kB
coroutine-sigaltstack.c 9.2 kB
coroutine-ucontext.c 6.4 kB
coroutine-win32.c 2.6 kB
cpu-exec.c 27 kB
cpus.c 33.2 kB
cputlb.c 11 kB
device_tree.c 7.9 kB
disas.c 12.6 kB
dma-helpers.c 10.9 kB
dump-stub.c 1.5 kB
dump.c 22 kB
exec.c 73.5 kB
gdbstub.c 76 kB
hmp-commands.hx 44.8 kB
hmp.c 39.9 kB
hmp.h 4 kB
iohandler.c 5.5 kB
ioport.c 13.3 kB
kvm-all.c 51.1 kB
kvm-stub.c 2.5 kB
main-loop.c 11.8 kB
memory.c 53.7 kB
memory_mapping-stub.c 627 Bytes
memory_mapping.c 7 kB
migration-exec.c 2.4 kB
migration-fd.c 2.4 kB
migration-tcp.c 2.7 kB
migration-unix.c 2.7 kB
migration.c 20.4 kB
monitor.c 137.6 kB
nbd.c 31 kB
os-posix.c 8.4 kB
os-win32.c 4.4 kB
page_cache.c 5 kB
pixman 0 Bytes
qapi-schema-test.json 1.3 kB
qapi-schema.json 84.8 kB
qdict-test-data.txt 88.4 kB
qemu-bridge-helper.c 10.4 kB
qemu-char.c 88.2 kB
qemu-coroutine-io.c 2.4 kB
qemu-coroutine-lock.c 4.4 kB
qemu-coroutine-sleep.c 898 Bytes
qemu-coroutine.c 1.6 kB
qemu-doc.texi 87.9 kB
qemu-img-cmds.hx 1.9 kB
qemu-img.c 57.5 kB
qemu-img.texi 11.8 kB
qemu-io.c 48.1 kB
qemu-log.c 4.9 kB
qemu-nbd.c 16.8 kB
qemu-nbd.texi 1.8 kB
qemu-options-wrapper.h 1 kB
qemu-options.h 1.4 kB
qemu-options.hx 107 kB
qemu-seccomp.c 7.8 kB
qemu-tech.texi 22.9 kB
qemu-timer.c 19.2 kB
qemu.sasl 1.3 kB
qmp-commands.hx 68.8 kB
qmp.c 13.6 kB
qtest.c 11 kB
readline.c 12.9 kB
rules.mak 4.4 kB
savevm.c 59.6 kB
spice-qemu-char.c 8.3 kB
tcg-runtime.c 2.2 kB
tci.c 35.5 kB
thread-pool.c 7.6 kB
thunk.c 8.8 kB
trace-events 71.2 kB
translate-all.c 55.3 kB
translate-all.h 1.2 kB
user-exec.c 19.1 kB
version.rc 749 Bytes
vl.c 121.4 kB
xbzrle.c 4 kB
xen-all.c 35.6 kB
xen-mapcache.c 11.9 kB
xen-stub.c 1.2 kB

Latest revisions

# Date Author Comment
453776e5 02/16/2013 01:12 pm Richard Henderson

bitops: Remove routines redundant with host-utils

Signed-off-by: Richard Henderson <>
Reviewed-by: Eric Blake <>
Signed-off-by: Blue Swirl <>

0f9d8bd3 02/16/2013 01:12 pm Richard Henderson

bitops: Replace bitops_ctol with ctzl

The is the only remaining user.

Signed-off-by: Richard Henderson <>
Reviewed-by: Eric Blake <>
Signed-off-by: Blue Swirl <>

4932398f 02/16/2013 01:12 pm Richard Henderson

bitops: Inline bitops_flsl

This is the only remaining user.

Signed-off-by: Richard Henderson <>
Reviewed-by: Eric Blake <>
Signed-off-by: Blue Swirl <>

14e53426 02/16/2013 01:12 pm Richard Henderson

target-i386: Inline bitops_flsl

Use clz32 directly. Which makes slightly more sense given
that the input is type "int" and not type "long".

Signed-off-by: Richard Henderson <>
Reviewed-by: Eric Blake <>
Signed-off-by: Blue Swirl <>

0cfa6adc 02/16/2013 01:12 pm Richard Henderson

bitops: Write bitops_flsl in terms of clzl

Signed-off-by: Richard Henderson <>
Reviewed-by: Eric Blake <>
Signed-off-by: Blue Swirl <>

5bbf90be 02/16/2013 01:12 pm Richard Henderson

memory: Use non-bitops ctzl

A memory size of zero is invalid, and so that edge condition
does not occur.

Signed-off-by: Richard Henderson <>
Reviewed-by: Eric Blake <>
Signed-off-by: Blue Swirl <>

265ce4a5 02/16/2013 01:12 pm Richard Henderson

bitops: Use non-bitops ctzl

The use of ctz has already eliminated zero, and thus the difference
in edge conditions between the two routines is irrelevant.

Signed-off-by: Richard Henderson <>
Reviewed-by: Eric Blake <>
Signed-off-by: Blue Swirl <>

18331e7c 02/16/2013 01:11 pm Richard Henderson

hbitmap: Use non-bitops ctzl

Both uses of ctz have already eliminated zero, and thus the difference
in edge conditions between the two routines is irrelevant.

Signed-off-by: Richard Henderson <>
Acked-by: Paolo Bonzini <>...

72d81155 02/16/2013 01:09 pm Richard Henderson

host-utils: Fix coding style and add comments

Add function comments to the routines, documenting the corner
cases upon which we are standardizing. Fix the few instances
of non-standard coding style.

Signed-off-by: Richard Henderson <>
Reviewed-by: Eric Blake <>...

01654373 02/16/2013 01:09 pm Richard Henderson

host-utils: Add host long specific aliases for clz, ctz, ctpop

We will standardize on these names, rather than the similar routines
currently residing in qemu/bitops.h.

Signed-off-by: Richard Henderson <>
Reviewed-by: Eric Blake <>...

View all revisions | View revisions

Also available in: Atom