adding Irix (and, to a lesser extent, Solaris) userland emulation to QEMU
Go to file
Amit Shah a69c760085 virtio-serial: Discard data that guest sends us when ports aren't connected
Before the earlier patch, we relied on incorrect virtio api usage to
signal to the guest that a particular buffer wasn't consumed by the
host.

After fixing that, we now just discard the data the guest sends us while
a host port is disconnected or doesn't have a handler registered for
consuming data.

This commit really doesn't change anything from the current behaviour,
just makes the code slightly better by spinning off data handling to
ports in another function.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-04-28 08:58:22 -05:00
QMP QMP: Improve RTC_CHANGE event description 2010-04-18 23:55:19 +02:00
audio audio/sdlaudio: remove unused variable 2010-04-22 15:21:53 +04:00
block Fix dead initialization, spotted by clang analyzer 2010-04-25 15:27:14 +00:00
bsd-user Fix i386-bsd-user build 2010-03-30 18:24:49 +00:00
darwin-user bsd/darwin-user: mmap_frag() users only check for -1 error 2010-01-31 13:41:07 +00:00
default-configs sparc32 use empty_slot for missing RAM v1 2010-04-18 08:55:20 +00:00
docs docs: New qdev-device-use.txt 2010-01-13 17:14:16 -06:00
fpu softfloat: remove dead assignments, spotted by clang 2010-03-07 13:49:58 +00:00
gdb-xml
hw virtio-serial: Discard data that guest sends us when ports aren't connected 2010-04-28 08:58:22 -05:00
linux-user target-alpha: Fix load-locked/store-conditional. 2010-04-27 05:50:41 +02:00
net Remove dead assignments in various common files, spotted by clang analyzer 2010-04-25 18:35:52 +00:00
pc-bios Update PowerPC OpenBIOS image to r721 2010-04-02 10:07:44 +02:00
roms Update to latest SeaBIOS 2010-03-05 21:45:16 -06:00
slirp Remove dead assignments in various common files, spotted by clang analyzer 2010-04-25 18:35:52 +00:00
sysconfigs/target Add cpu model configuration support.. 2010-02-22 16:16:17 -06:00
target-alpha target-alpha: Implement RPCC. 2010-04-27 05:50:42 +02:00
target-arm arm: remove dead assignments, spotted by clang analyzer 2010-04-25 19:31:06 +00:00
target-cris cris: remove dead assignments, spotted by clang analyzer 2010-04-25 19:46:46 +00:00
target-i386 x86: remove dead assignments, spotted by clang analyzer 2010-04-25 18:58:25 +00:00
target-m68k m68k: remove dead assignments, spotted by clang analyzer 2010-04-25 19:50:51 +00:00
target-microblaze microblaze: remove dead assignments, spotted by clang analyzer 2010-04-25 20:00:33 +00:00
target-mips target-mips: Fix format specifiers for fpu_fprintf 2010-04-09 21:53:23 +02:00
target-ppc ppc: remove dead assignments, spotted by clang analyzer 2010-04-25 20:32:49 +00:00
target-s390x S390: Add stub for cpu_get_phys_page_debug 2010-04-01 21:51:59 +02:00
target-sh4 remove TARGET_* defines from translate-all.c 2010-04-08 21:34:12 +02:00
target-sparc target-sparc: Fix -singlestep. 2010-04-26 17:23:58 +00:00
tcg tcg-hppa: Remove automatically implemented opcodes. 2010-04-26 20:06:18 +02:00
tests
.gitignore Documentation: Add build support for documentation in pdf format 2010-02-10 11:56:56 -06:00
.gitmodules use absolute URLs for .gitmodules 2010-03-06 23:09:28 +01:00
CODING_STYLE CODING_STYLE: Reserve qemu_ prefix for library wrappers 2010-03-19 15:27:27 -05:00
COPYING
COPYING.LIB
Changelog
LICENSE
MAINTAINERS Update MAINTAINERS 2010-02-06 19:24:42 +01:00
Makefile iov: Introduce a new file for helpers around iovs, add iov_from_buf() 2010-04-28 08:58:22 -05:00
Makefile.dis Compile disassemblers only once 2010-03-21 08:28:47 +00:00
Makefile.hw
Makefile.objs iov: Introduce a new file for helpers around iovs, add iov_from_buf() 2010-04-28 08:58:22 -05:00
Makefile.target linux-user: Remove ELFLOAD32. 2010-04-25 12:59:30 +00:00
Makefile.user
README
TODO
VERSION
a.out.h
acl.c
acl.h
aes.c
aes.h
aio.c
alpha-dis.c
alpha.ld
arch_init.c Add missing #include needed for madvise() on OpenBSD 2010-03-30 19:27:34 +00:00
arch_init.h Refactor target specific handling, compile vl.c only once 2010-03-29 19:23:52 +00:00
arm-dis.c arm: remove dead assignments, spotted by clang analyzer 2010-04-25 19:31:06 +00:00
arm-semi.c
arm.ld
async.c
balloon.c move balloon handling to balloon.c 2010-04-09 18:55:56 +02:00
balloon.h move balloon handling to balloon.c 2010-04-09 18:55:56 +02:00
block-migration.c block: Do not export bdrv_first 2010-04-23 16:21:57 +02:00
block-migration.h
block.c block: Free iovec arrays allocated by multiwrite_merge() 2010-04-23 16:21:58 +02:00
block.h block.h: bdrv_create2 doesn't exist any more 2010-04-23 16:21:57 +02:00
block_int.h block: Convert first_drv to QLIST 2010-04-23 16:21:57 +02:00
bswap.h bwap: add qemu_bswap helper 2010-02-14 16:10:53 +02:00
bt-host.c bt: remove dead assignments, spotted by clang analyzer 2010-04-25 18:20:28 +00:00
bt-host.h
bt-vhci.c
buffered_file.c Do not use dprintf 2010-02-07 02:03:50 +03:00
buffered_file.h
cache-utils.c FreeBSD ppc_init_cacheline_sizes(): add missing #includes 2010-03-13 01:14:01 +03:00
cache-utils.h
check-qdict.c
check-qfloat.c
check-qint.c
check-qjson.c
check-qlist.c
check-qstring.c
cmd.c Fix dead initialization, spotted by clang analyzer 2010-04-25 15:27:14 +00:00
cmd.h
cocoa.m
config.h
configure target-alpha: Enable NPTL. 2010-04-27 05:50:41 +02:00
console.c Remove dead assignments in various common files, spotted by clang analyzer 2010-04-25 18:35:52 +00:00
console.h Add notifier for mouse mode changes 2010-03-19 15:27:38 -05:00
cpu-all.h Fix --enable-profiler compilation. 2010-04-17 16:25:10 +00:00
cpu-common.h Remove IO_MEM_SUBWIDTH. 2010-04-25 12:59:33 +00:00
cpu-defs.h Split TLB addend and target_phys_addr_t 2010-04-05 00:28:53 +01:00
cpu-exec.c tcg-hppa: Compute is_write in cpu_signal_handler. 2010-04-08 11:11:21 +02:00
cpus.c Fix build when configured with --enable-io-thread 2010-04-12 17:19:06 +00:00
cpus.h Fix build when configured with --enable-io-thread 2010-04-12 17:19:06 +00:00
create_config
cris-dis.c
curses.c Revert 'Fix build' 2010-03-21 19:44:06 +00:00
curses_keys.h Fix curses interaction with keymaps 2010-03-06 23:15:30 +01:00
cutils.c split out qemu-timer.c 2010-03-17 11:16:15 -05:00
d3des.c
d3des.h
def-helper.h
device_tree.c
device_tree.h
dis-asm.h ia64 disas support 2010-04-01 21:51:59 +02:00
disas.c ia64 disas support 2010-04-01 21:51:59 +02:00
disas.h Disassembler symbol lookup fix 2010-03-01 04:39:50 +00:00
dma-helpers.c
dma.h
dyngen-exec.h tcp/mips: Change TCG_AREG0 (fp -> s0) 2010-04-14 00:59:42 +02:00
elf.h tcg-i386: Implement small forward branches. 2010-02-06 22:23:39 +01:00
envlist.c
envlist.h
exec-all.h remove TARGET_* defines from translate-all.c 2010-04-08 21:34:12 +02:00
exec.c Remove IO_MEM_SUBWIDTH. 2010-04-25 12:59:33 +00:00
feature_to_c.sh
gdbstub.c target-sh4: Fix gdb read/write register 2010-02-27 16:14:14 +01:00
gdbstub.h Allow various header files to be included from non-CPU code 2010-03-29 19:23:47 +00:00
gen-icount.h Compile qemu-timer only once 2010-03-29 19:24:00 +00:00
host-utils.c
host-utils.h
hpet.h
hppa-dis.c tcg-hppa: Fix const errors in hppa-dis.c 2010-03-23 22:00:43 +01:00
hppa.ld
hxtool
i386-dis.c i386-dis: Fix unused return value, spotted by clang 2010-04-18 14:27:44 +00:00
i386.ld Fix missing symbols in .rel/.rela.plt sections 2010-02-06 22:22:27 +01:00
ia64-dis.c ia64 disas support 2010-04-01 21:51:59 +02:00
ia64.ld
input.c Expose whether a mouse is an absolute device via QMP and the human monitor. 2010-03-19 15:27:38 -05:00
ioport-user.c
ioport.c
ioport.h
json-lexer.c json: fix PRId64 on Win32 2010-02-10 12:47:58 -06:00
json-lexer.h
json-parser.c json-parser: Output the content of invalid keyword 2010-03-27 13:51:01 +01:00
json-parser.h
json-streamer.c
json-streamer.h
keymaps.c Fix curses interaction with keymaps 2010-03-06 23:15:30 +01:00
keymaps.h Fix curses interaction with keymaps 2010-03-06 23:15:30 +01:00
kvm-all.c provide a stub version of kvm-all.c if !CONFIG_KVM 2010-04-19 18:59:30 +00:00
kvm-stub.c provide a stub version of kvm-all.c if !CONFIG_KVM 2010-04-19 18:59:30 +00:00
kvm.h provide a stub version of kvm-all.c if !CONFIG_KVM 2010-04-19 18:59:30 +00:00
libfdt_env.h
linux-aio.c linux-aio: Fix typo in read() EINTR check 2010-04-23 16:21:57 +02:00
m68k-dis.c m68k-dis: fix unused return value, spotted by clang 2010-04-23 19:22:17 +00:00
m68k-semi.c
m68k.ld
microblaze-dis.c microblaze: fix custom fprintf 2010-04-27 18:56:11 +00:00
migration-exec.c remove useless cast 2010-03-19 15:27:27 -05:00
migration-fd.c remove useless cast 2010-03-19 15:27:27 -05:00
migration-tcp.c migration: Clear fd also in error cases 2010-03-17 11:16:15 -05:00
migration-unix.c migration: unix migration should obey autostart are the other ones 2010-03-17 11:16:15 -05:00
migration.c Monitor: Convert do_migrate() to cmd_new_ret() 2010-02-19 15:18:17 -06:00
migration.h Monitor: Convert do_migrate() to cmd_new_ret() 2010-02-19 15:18:17 -06:00
mips-dis.c
mips.ld
module.c
module.h
monitor.c stash away SCM_RIGHTS fd until a getfd command arrives 2010-04-26 16:36:31 -03:00
monitor.h error: Trim includes after "Infrastructure to track locations..." 2010-03-27 14:30:37 +01:00
nbd.c
nbd.h
net-checksum.c
net.c monitor: Convert do_set_link() to QObject, QError 2010-04-18 23:55:19 +02:00
net.h monitor: Convert do_set_link() to QObject, QError 2010-04-18 23:55:19 +02:00
notify.c Add support for generic notifier lists 2010-03-19 15:27:32 -05:00
notify.h Add support for generic notifier lists 2010-03-19 15:27:32 -05:00
osdep.c documentation: qemu_write_full don't work with non-blocking fd's 2010-03-09 11:23:00 -06:00
osdep.h
path.c
pci-ids.txt
poison.h move targphys.h and hw/poison.h inclusion to cpu-common.h 2010-04-09 18:55:55 +02:00
posix-aio-compat.c posix-aio-compat.c: fix warning with _FORTIFY_SOURCE 2010-01-26 14:59:19 -06:00
ppc-dis.c
ppc.ld
ppc64.ld
qbool.c
qbool.h
qdict-test-data.txt
qdict.c Replace assert(0) with abort() or cpu_abort() 2010-03-18 18:41:57 +00:00
qdict.h QDict: New qdict_get_double() 2010-02-03 12:36:25 -06:00
qemu-aio.h
qemu-barrier.h kvm-all.c: define smp_wmb and use it for coalesced mmio 2010-02-22 19:04:13 +02:00
qemu-binfmt-conf.sh
qemu-char.c stash away SCM_RIGHTS fd until a getfd command arrives 2010-04-26 16:36:31 -03:00
qemu-char.h Always notify consumers of char devices if they're open 2010-04-09 22:03:22 +02:00
qemu-common.h virtio: move typedef to qemu-common 2010-04-01 13:56:43 -05:00
qemu-config.c Make qemu-config available for tools 2010-04-23 16:08:45 +02:00
qemu-config.h qemu-config: Make qemu_config_parse more generic 2010-04-23 16:08:45 +02:00
qemu-doc.texi Fix manpage errors 2010-03-18 18:41:49 +00:00
qemu-error.c error: Move qerror_report() from qemu-error.[ch] to qerror.[ch] 2010-03-27 14:30:38 +01:00
qemu-error.h error: Move qerror_report() from qemu-error.[ch] to qerror.[ch] 2010-03-27 14:30:38 +01:00
qemu-img-cmds.hx qemu-img rebase: Document -f option 2010-03-14 23:56:47 +01:00
qemu-img.c qemu-img: Fix BRDV_O_FLAGS typo 2010-04-23 16:21:57 +02:00
qemu-img.texi
qemu-io.c block: get rid of the BDRV_O_FILE flag 2010-04-23 16:08:46 +02:00
qemu-lock.h
qemu-log.h
qemu-malloc.c Simplify qemu_realloc() 2010-02-23 22:36:19 +01:00
qemu-monitor.hx Monitor: Convert do_screen_dump() to QObject 2010-04-18 23:55:19 +02:00
qemu-nbd.c Replace calls of old bdrv_open 2010-04-23 16:08:46 +02:00
qemu-nbd.texi qemu-nbd: Fix wrong description in qemu-nbd.texi 2010-03-06 23:03:50 +01:00
qemu-objects.h
qemu-option.c error: Convert qemu_opts_validate() to QError 2010-04-18 23:46:48 +02:00
qemu-option.h qemu-option: Move the implied first name into QemuOptsList 2010-03-16 17:45:34 +01:00
qemu-options.hx chardev: Document mux option 2010-04-26 16:36:31 -03:00
qemu-queue.h
qemu-sockets.c move socket_init to qemu-sockets.c 2010-04-09 18:55:54 +02:00
qemu-tech.texi Documentation: Use UTF-8 encoding and fix one wrong encoding 2010-02-10 12:43:04 -06:00
qemu-thread.c
qemu-thread.h
qemu-timer.c Compile qemu-timer only once 2010-03-29 19:24:00 +00:00
qemu-timer.h Implement cpu_get_real_ticks for Alpha. 2010-04-27 05:50:42 +02:00
qemu-tool.c error: Link qemu-img, qemu-nbd, qemu-io with qemu-error.o 2010-03-27 14:30:38 +01:00
qemu-x509.h move x509 file name defines to qemu-x509.h 2010-03-08 11:30:09 -06:00
qemu.sasl
qemu_socket.h move socket_init to qemu-sockets.c 2010-04-09 18:55:54 +02:00
qerror.c QError: Improve QERR_QMP_BAD_INPUT_OBJECT desc 2010-04-26 11:17:14 -03:00
qerror.h QError: New QERR_QMP_BAD_INPUT_OBJECT_MEMBER 2010-04-26 11:17:02 -03:00
qfloat.c
qfloat.h
qint.c
qint.h
qjson.c qjson: Improve debugging 2010-02-10 13:46:17 -06:00
qjson.h
qlist.c
qlist.h QList: Introduce QLIST_FOREACH_ENTRY() 2010-01-26 15:42:01 -06:00
qobject.h
qstring.c
qstring.h
readline.c cope with printf macro definition in readline.c 2010-02-08 12:12:40 +03:00
readline.h
rules.mak finish VPATH -> vpath translation 2010-01-08 16:55:03 -06:00
rwhandler.c Don't compile rwhandler.c for user targets 2010-02-20 09:27:38 +00:00
rwhandler.h rwhandler: simplified way to register for mem/io 2010-02-14 16:10:53 +02:00
s390-dis.c
s390.ld
savevm.c Merge remote branch 'markus/qerror' into staging 2010-03-17 09:44:37 -05:00
sdl.c Revert "Convert atexit users to exit_notifier" 2010-03-21 14:13:02 -05:00
sdl_keysym.h
sdl_zoom.c
sdl_zoom.h
sdl_zoom_template.h
sh4-dis.c sh4: Fix compiler warning (fprintf format string) 2010-04-14 01:04:02 +02:00
softmmu-semi.h
softmmu_defs.h
softmmu_exec.h
softmmu_header.h
softmmu_template.h Split TLB addend and target_phys_addr_t 2010-04-05 00:28:53 +01:00
sparc-dis.c sparc: Fix compiler warning (fprintf format string) 2010-04-14 01:04:03 +02:00
sparc.ld
sparc64.ld
sysemu.h Monitor: Return before exiting with 'quit' 2010-04-26 16:36:01 -03:00
targphys.h Split TLB addend and target_phys_addr_t 2010-04-05 00:28:53 +01:00
tcg-runtime.c tcg: add div/rem 32-bit helpers 2010-03-14 22:04:50 +01:00
texi2pod.pl
thunk.c
thunk.h
translate-all.c remove TARGET_* defines from translate-all.c 2010-04-08 21:34:12 +02:00
uboot_image.h
usb-bsd.c
usb-linux.c usb: remove dead assignments, spotted by clang analyzer 2010-04-25 18:23:04 +00:00
usb-stub.c
vgafont.h
vl.c monitor: Reorder intialization to drop initial mux focus 2010-04-26 16:36:31 -03:00
vnc-auth-sasl.c
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-tls.c move x509 file name defines to qemu-x509.h 2010-03-08 11:30:09 -06:00
vnc-tls.h
vnc.c Remove dead assignments in various common files, spotted by clang analyzer 2010-04-25 18:35:52 +00:00
vnc.h Remove magic numbers for VNC message IDs from code 2010-04-09 21:59:04 +02:00
vnc_keysym.h
vnchextile.h
x86_64.ld Fix missing symbols in .rel/.rela.plt sections 2010-02-06 22:22:27 +01:00
x_keymap.c
x_keymap.h

README

Read the documentation in qemu-doc.html.

Fabrice Bellard.