| Branch: | Revision:

root / backends @ feature-archipelago

Name Size
Makefile.objs 220 Bytes
baum.c 19.7 kB
msmouse.c 2.8 kB
rng-egd.c 5.2 kB
rng-random.c 3.6 kB
rng.c 2.4 kB
tpm.c 4.3 kB

Latest revisions

# Date Author Comment
57d3e1b3 01/28/2014 07:47 pm Igor Mammedov

virtio_rng: replace custom backend API with UserCreatable.complete() callback

in addition fix default backend leak by releasing it if its
initialization failed.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Stefan Hajnoczi <>...

269e09f3 01/28/2014 07:47 pm Igor Mammedov

add optional 2nd stage initialization to -object/object-add commands

Introduces USER_CREATABLE interface that must be implemented by
objects which are designed to created with -object CLI option or
object-add QMP command.

Interface provides an ability to do an optional second stage...

513b8c74 01/06/2014 08:45 pm Paolo Bonzini

rng: initialize file descriptor to -1

The file descriptor is never initialized to -1, which makes rng-random
close stdin if an object is created and immediately destroyed. If we
change it to -1, we also need to protect qemu_set_fd_handler from
receiving a bogus file descriptor....

5e490b6a 11/21/2013 05:55 pm Amos Kong

rng-egd: remove redundant free

We didn't set default chr_name, the free is redundant.

Signed-off-by: Amos Kong <>
Signed-off-by: Anthony Liguori <>

1eb1bd9e 11/21/2013 05:55 pm Amos Kong

rng-egd: offset the point when repeatedly read from the buffer

The buffer content might be read out more than once, currently
we just repeatedly read the first data block, buffer offset is

Signed-off-by: Amos Kong <>...

bc72ad67 08/22/2013 08:14 pm Alex Bligh

aio / timers: Switch entire codebase to the new timer API

This is an autogenerated patch using scripts/switch-timer-api.

Switch the entire code base to using the new timer API.

Note this patch may introduce some line length issues.

Signed-off-by: Alex Bligh <>...

e93379b0 08/22/2013 04:58 pm Alex Bligh

aio / timers: Rename qemu_timer_* functions

Rename four functions in preparation for new API.

Rename qemu_timer_expired to timer_expired
Rename qemu_timer_expire_time_ns to timer_expire_time_ns
Rename qemu_timer_pending to timer_pending
Rename qemu_timer_expired_ns to timer_expired_ns...

bc5741ad 06/17/2013 06:01 pm Luiz Capitulino

rng-random: use error_setg_file_open()

Signed-off-by: Luiz Capitulino <>
Acked-by: Kevin Wolf <>

bd5c51ee 06/10/2013 07:38 pm Michael Roth

qemu-char: don't issue CHR_EVENT_OPEN in a BH

When CHR_EVENT_OPENED was initially added, it was CHR_EVENT_RESET,
and it was issued as a bottom-half:


Which we basically used to print out a greeting/prompt for the...

acbbc036 04/17/2013 12:10 am Amit Shah

rng random backend: check for -EAGAIN errors on read

Not handling EAGAIN triggers the assert

qemu/backends/rng-random.c:44:entropy_available: assertion failed: (len != -1)
Aborted (core dumped)

This happens when starting a guest with '-device virtio-rng-pci',...

View revisions

Also available in: Atom