Statistics
| Branch: | Revision:

root @ 0884657b

Name Size
  audio
  block
  bsd-user
  darwin-user
  fpu
  gdb-xml
  hw
  linux-user
  pc-bios
  slirp
  target-alpha
  target-arm
  target-cris
  target-i386
  target-m68k
  target-microblaze
  target-mips
  target-ppc
  target-sh4
  target-sparc
  tcg
  tests
.gitignore 453 Bytes
CODING_STYLE 2.7 kB
COPYING 17.6 kB
COPYING.LIB 25.8 kB
Changelog 18.5 kB
LICENSE 637 Bytes
MAINTAINERS 2.3 kB
Makefile 11.9 kB
Makefile.hw 815 Bytes
Makefile.target 18.3 kB
README 59 Bytes
TODO 1.1 kB
VERSION 8 Bytes
a.out.h 13.6 kB
acl.c 4.4 kB
acl.h 2.1 kB
aes.c 59.7 kB
aes.h 717 Bytes
aio.c 5 kB
alpha-dis.c 80.5 kB
alpha.ld 4 kB
arm-dis.c 156.7 kB
arm-semi.c 14.2 kB
arm.ld 4.8 kB
balloon.h 537 Bytes
block.c 43 kB
block.h 7.1 kB
block_int.h 6.9 kB
bswap.h 4.7 kB
bt-host.c 5.4 kB
bt-host.h 123 Bytes
bt-vhci.c 4.6 kB
buffered_file.c 6 kB
buffered_file.h 916 Bytes
cache-utils.c 1.6 kB
cache-utils.h 1.1 kB
cmd.c 10.6 kB
cmd.h 2.2 kB
cocoa.m 36.4 kB
configure 60.1 kB
console.c 44.4 kB
console.h 9.9 kB
cpu-all.h 25.8 kB
cpu-common.h 3.6 kB
cpu-defs.h 8.6 kB
cpu-exec.c 55.1 kB
cris-dis.c 80.4 kB
curses.c 9.8 kB
curses_keys.h 12.4 kB
cutils.c 4.5 kB
d3des.c 15 kB
d3des.h 1.6 kB
def-helper.h 6.6 kB
device_tree.c 2.6 kB
device_tree.h 942 Bytes
dis-asm.h 18.5 kB
disas.c 10.9 kB
disas.h 1.1 kB
dma-helpers.c 4.7 kB
dma.h 1.1 kB
dyngen-exec.h 3.6 kB
elf.h 42.9 kB
elf_ops.h 7.9 kB
exec-all.h 13.1 kB
exec.c 111.8 kB
feature_to_c.sh 2.2 kB
gdbstub.c 60.7 kB
gdbstub.h 1.1 kB
gen-icount.h 1.5 kB
host-utils.c 2.8 kB
host-utils.h 5.5 kB
hostregs_helper.h 1.8 kB
hpet.h 618 Bytes
hppa-dis.c 100.4 kB
hppa.ld 8.1 kB
hxtool 720 Bytes
i386-dis.c 159.2 kB
i386.ld 4.6 kB
ia64.ld 8.4 kB
ioport-user.c 1.5 kB
ioport.c 7.1 kB
ioport.h 2 kB
keymaps.c 5.3 kB
keymaps.h 2 kB
kqemu.c 27.9 kB
kqemu.h 5.3 kB
kvm-all.c 26.2 kB
kvm.h 3.8 kB
libfdt_env.h 1.2 kB
loader.c 13.4 kB
m68k-dis.c 211.9 kB
m68k-semi.c 12.3 kB
m68k.ld 5.9 kB
microblaze-dis.c 40 kB
migration-exec.c 3.2 kB
migration-tcp.c 4.7 kB
migration.c 7.8 kB
migration.h 2.5 kB
mips-dis.c 204.8 kB
mips.ld 8.5 kB
mipsel.ld 8.5 kB
module.c 1.3 kB
module.h 1.1 kB
monitor.c 85.2 kB
monitor.h 846 Bytes
nbd.c 14 kB
nbd.h 1.9 kB
net-checksum.c 2.2 kB
net.c 79.2 kB
net.h 5.6 kB
osdep.c 8.7 kB
osdep.h 2 kB
pci-ids.txt 883 Bytes
posix-aio-compat.c 10.1 kB
posix-aio-compat.h 1.6 kB
ppc-dis.c 237.2 kB
ppc.ld 8.6 kB
ppc64.ld 8.2 kB
qemu-aio.h 1.5 kB
qemu-binfmt-conf.sh 4 kB
qemu-char.c 56.3 kB
qemu-char.h 3.3 kB
qemu-common.h 6.5 kB
qemu-doc.texi 65.9 kB
qemu-img-cmds.hx 1.5 kB
qemu-img.c 29.6 kB
qemu-img.texi 5.2 kB
qemu-io.c 28.7 kB
qemu-lock.h 6 kB
qemu-log.h 2.1 kB
qemu-malloc.c 2.2 kB
qemu-monitor.hx 17.8 kB
qemu-nbd.c 13.1 kB
qemu-nbd.texi 1.5 kB
qemu-option.c 9.8 kB
qemu-option.h 2.4 kB
qemu-options.hx 55.6 kB
qemu-sockets.c 12 kB
qemu-tech.texi 22.1 kB
qemu-thread.c 3.3 kB
qemu-thread.h 1.1 kB
qemu-timer.h 1.6 kB
qemu-tool.c 1.4 kB
qemu.sasl 1.3 kB
qemu_socket.h 1.3 kB
readline.c 12.7 kB
readline.h 1.5 kB
rules.mak 598 Bytes
s390-dis.c 90.4 kB
s390.ld 7 kB
savevm.c 32.4 kB
sdl.c 26.5 kB
sdl_keysym.h 8.5 kB
sdl_zoom.c 2.8 kB
sdl_zoom.h 578 Bytes
sdl_zoom_template.h 7 kB
sh4-dis.c 83.2 kB
softmmu-semi.h 2 kB
softmmu_defs.h 1.1 kB
softmmu_exec.h 2.7 kB
softmmu_header.h 9.5 kB
softmmu_template.h 12.1 kB
sparc-dis.c 171 kB
sparc.ld 4.3 kB
sparc64.ld 4.6 kB
sys-queue.h 16.8 kB
sysemu.h 8 kB
tap-win32.c 20.3 kB
targphys.h 720 Bytes
texi2pod.pl 12 kB
thunk.c 8.2 kB
thunk.h 4.2 kB
tool-osdep.c 142 Bytes
translate-all.c 5.1 kB
uboot_image.h 6 kB
usb-bsd.c 16.9 kB
usb-linux.c 44.1 kB
usb-stub.c 1.8 kB
vgafont.h 93.3 kB
vl.c 152.7 kB
vnc-auth-sasl.c 19.1 kB
vnc-auth-sasl.h 2.3 kB
vnc-auth-vencrypt.c 5.6 kB
vnc-auth-vencrypt.h 1.4 kB
vnc-tls.c 14 kB
vnc-tls.h 2.2 kB
vnc.c 69.1 kB
vnc.h 9.5 kB
vnc_keysym.h 11.1 kB
vnchextile.h 4.5 kB
x86_64.ld 6.5 kB
x_keymap.c 5.9 kB
x_keymap.h 1.3 kB

Latest revisions

# Date Author Comment
4bfd1712 07/10/2009 09:44 pm Michael S. Tsirkin

qemu/msi: clean used vectors state on load

Clean up msix vector usage state on load. Since guest might have control
over it through the device, the device will have to load this state from
file.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Anthony Liguori <>

72755a70 07/10/2009 09:44 pm Michael S. Tsirkin

qemu/msi: missing braces

MSIX present bit is tested incorrectly, and only happens to work because
the bit we are testing is 0x1. Add braces to fix this.

Reported-by: Blue Swirl <>
Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Anthony Liguori <>

e6da7680 07/10/2009 09:44 pm Michael S. Tsirkin

qemu/virtio: mark msi vectors used on load

Usage of msi vectors is controlled by the guest and so needs to be
restored on load. Do this for msi vectors used by the virtio device.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Anthony Liguori <>

d9db889f 07/10/2009 09:44 pm Jan Kiszka

kvm: Work around borken MSR_GET_INDEX_LIST

Allocate enough memory for KVM_GET_MSR_INDEX_LIST as older kernels shot
far beyond their limits, corrupting user space memory.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

0884657b 07/10/2009 09:44 pm Glauber Costa

flush pending aio requests

When we finish migration, there may be pending async io requests
in flight. If we don't flush it before stage3 starting, it might be
the case that the guest loses it.

Signed-off-by: Glauber Costa <>
Signed-off-by: Anthony Liguori <>

55496240 07/10/2009 09:44 pm Mark McLoughlin

Prefer sysfs for USB host devices

Scanning for devices via /sys/bus/usb/devices/ and using them via the
/dev/bus/usb/<bus>/<device> character devices is the prefered method
on modern kernels, so try that first.

When using SELinux and libvirt, qemu will have access to /sys/bus/usb...

c53ffce9 07/10/2009 09:44 pm Kevin Wolf

qcow1: Fix qcow_aio_writev

Pass is_write = 1 to qcow_aio_setup when writing.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

3f6a3ee5 07/10/2009 09:44 pm Kevin Wolf

qcow2: Fix L1 table memory allocation

Contrary to what one could expect, the size of L1 tables is not cluster
aligned. So as we're writing whole sectors now instead of single entries,
we need to ensure that the L1 table in memory is large enough; otherwise...

e6a0575e 07/10/2009 09:41 pm Anthony Liguori

Make sure to mark MCE defines as ULL

Fixes build on 32-bit

Signed-off-by: Anthony Liguori <>

1fa63e43 07/10/2009 09:41 pm Michael Buesch

usb-ohci: Fix endianness issue

This fixes a possible endianness issue in the usb-ohci hw module.
hcca.frame and ohci->frame_number are 16bit, so use cpu_to_le16().

Signed-off-by: Michael Buesch <>
Signed-off-by: Anthony Liguori <>

View all revisions | View revisions

Also available in: Atom