QEMU With E2K User Support
Go to file
Andreas Färber 56384e8b1e exec.c: Fix subpage memory access to RAM MemoryRegion
Commit 95c318f5e1 (Fix segfault in mmio
subpage handling code.) prevented a segfault by making all subpage
registrations over an existing memory page perform an unassigned access.
Symptoms were writes not taking effect and reads returning zero.

Very small page sizes are not currently supported either,
so subpage memory areas cannot fully be avoided.

Therefore change the previous fix to use a new IO_MEM_SUBPAGE_RAM
instead of IO_MEM_UNASSIGNED. Suggested by Avi.

Reviewed-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Avi Kivity <avi@redhat.com>
Cc: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-12-15 09:27:23 -06:00
audio Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
block fix typo: delete redundant semicolon 2011-12-06 09:56:41 +00:00
bsd-user Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging 2011-12-14 07:59:21 -06:00
darwin-user fix spelling in darwin-user sub directory 2011-12-02 10:50:56 +00:00
default-configs xtensa_lx60: add FLASH support 2011-11-02 05:05:52 +04:00
docs Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging 2011-12-14 07:59:21 -06:00
fpu softfloat: Implement fused multiply-add 2011-10-19 16:14:06 +00:00
fsdev hw/9pfs: Use the correct file descriptor in Fsdriver Callback 2011-12-04 22:35:28 +05:30
gdb-xml
hw qdev: add a qdev_get_type() function and expose as a 'type' property 2011-12-15 09:20:49 -06:00
libcacard fix spelling in libcacard sub directory 2011-12-02 10:50:56 +00:00
linux-headers KVM: Update kernel headers 2011-10-06 09:48:07 +02:00
linux-user Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
net Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging 2011-12-14 07:59:21 -06:00
pc-bios Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
qapi guest agent: add supported command list to guest-info RPC 2011-12-12 17:06:21 -06:00
qga guest agent: add supported command list to guest-info RPC 2011-12-12 17:06:21 -06:00
QMP qmp: add test tool for QMP 2011-12-06 11:40:00 -02:00
roms add sgabios blob and submodule 2011-11-07 10:57:36 -06:00
scripts qapi: allow a 'gen' key to suppress code generation 2011-12-15 09:20:48 -06:00
slirp main-loop: create main-loop.c 2011-10-21 18:14:30 +02:00
sysconfigs/target
target-alpha fix spelling in target sub directory 2011-12-02 10:50:57 +00:00
target-arm target-arm: Infer VFPv3 feature from VFPv4 2011-12-13 18:19:25 +00:00
target-cris cris: Handle conditional stores on CRISv10 2011-12-12 11:38:31 +01:00
target-i386 target-i386: fix cmpxchg instruction emulation 2011-12-12 00:46:32 +04:00
target-lm32 lm32: add missing qemu_init_vcpu() call 2011-10-03 12:44:22 +02:00
target-m68k softmmu_header: pass CPUState to tlb_fill 2011-10-01 09:31:26 +00:00
target-microblaze fix spelling in target sub directory 2011-12-02 10:50:57 +00:00
target-mips Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
target-ppc fix spelling in target sub directory 2011-12-02 10:50:57 +00:00
target-s390x Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
target-sh4 Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2011-12-05 08:44:33 -06:00
target-sparc fix spelling in target sub directory 2011-12-02 10:50:57 +00:00
target-unicore32 Use hex instead of binary. 2011-09-09 12:58:16 -05:00
target-xtensa target-xtensa: fix MMUv3 initialization 2011-11-26 09:44:34 +00:00
tcg tcg/arm: remove fixed map code buffer restriction 2011-12-14 21:58:18 +01:00
tests tests/qruncom.c: Remove libqemu.a example 2011-12-09 10:10:03 +00:00
trace trace: Add wildcard trace event support 2011-11-01 14:12:15 +00:00
ui Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging 2011-12-14 07:59:21 -06:00
.gitignore Add qapi related generated files to .gitignore 2011-11-01 11:50:12 -05:00
.gitmodules add sgabios blob and submodule 2011-11-07 10:57:36 -06:00
.mailmap Add a .mailmap to map pre-git-conversion authors to friendly names 2011-12-12 17:06:21 -06:00
a.out.h Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
acl.c acl: Fix use after free in qemu_acl_reset() 2011-11-01 06:23:48 +00:00
acl.h
aes.c
aes.h
aio.c
alpha-dis.c
alpha.ld
arch_init.c migration: make *save_live return errors 2011-10-20 13:23:52 +02:00
arch_init.h target-xtensa: add target stubs 2011-09-10 16:57:36 +00:00
arm-dis.c fix spelling in main directory 2011-12-02 10:50:57 +00:00
arm-semi.c
arm.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
async.c main-loop: create main-loop.h 2011-10-21 18:14:30 +02:00
balloon.c qapi: Convert balloon 2011-12-06 11:40:01 -02:00
balloon.h qapi: Convert balloon 2011-12-06 11:40:01 -02:00
bitmap.c
bitmap.h
bitops.c
bitops.h
block_int.h block: add interface to toggle copy-on-read 2011-12-05 14:51:38 +01:00
block-migration.c block: convert qemu_aio_flush() calls to bdrv_drain_all() 2011-12-05 14:56:06 +01:00
block-migration.h
block.c block: convert qemu_aio_flush() calls to bdrv_drain_all() 2011-12-05 14:56:06 +01:00
block.h Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
blockdev.c qapi: Convert blockdev_snapshot_sync 2011-12-06 11:40:01 -02:00
blockdev.h qapi: Convert blockdev_snapshot_sync 2011-12-06 11:40:01 -02:00
bswap.h bswap.h: build fix 2011-09-16 08:26:31 -05:00
bt-host.c
bt-host.h
bt-vhci.c
buffered_file.c migration: use qemu_file_get_error() return value when possible 2011-10-20 13:23:52 +02:00
buffered_file.h
cache-utils.c
cache-utils.h
Changelog Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
check-qdict.c
check-qfloat.c
check-qint.c
check-qjson.c Fix qjson test of solidus encoding 2011-09-06 10:15:39 -03:00
check-qlist.c
check-qstring.c
cmd.c cmd: Fix potential memory leak 2011-11-07 08:01:15 +00:00
cmd.h
CODING_STYLE
compatfd.c compatfd.c: Don't pass NULL pointer to SYS_signalfd 2011-10-21 18:01:35 +02:00
compatfd.h
compiler.h Fix and clean code which tests the gcc version 2011-09-23 11:51:05 -05:00
config.h
configure Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging 2011-12-14 07:59:21 -06:00
console.c console: Fix qemu_default_pixelformat() for 24 bpp 2011-12-06 09:56:40 +00:00
console.h console: Drop unused prototypes 2011-12-06 11:40:00 -02:00
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-ucontext.c
coroutine-win32.c
cpu-all.h Rename get_tls to tls_var 2011-12-06 10:07:04 +00:00
cpu-common.h exec.c: Fix subpage memory access to RAM MemoryRegion 2011-12-15 09:27:23 -06:00
cpu-defs.h fix win32 build 2011-12-15 09:20:50 -06:00
cpu-exec.c PPC: Fix sync instructions problem in SMP 2011-10-06 09:48:03 +02:00
cpus.c fix win32 build 2011-12-15 09:20:50 -06:00
cpus.h Simplify cpu_exec_all to tcg_exec_all 2011-11-01 10:58:08 -05:00
cris-dis.c
cursor_hidden.xpm
cursor_left_ptr.xpm
cursor.c
cutils.c cutils: Make strtosz & friends leave follow set to callers 2011-11-28 16:20:52 -06:00
def-helper.h
device_tree.c device_tree: Fix potential memory leak 2011-10-26 13:36:34 +01:00
device_tree.h device tree: add add_subnode command 2011-10-06 09:48:00 +02:00
dis-asm.h tcg: Add tci disassembler 2011-10-31 21:52:17 +01:00
disas.c tcg: Add tci disassembler 2011-10-31 21:52:17 +01:00
disas.h
dma-helpers.c dma-helpers: Add trace events 2011-12-05 14:51:38 +01:00
dma.h Use dma_addr_t type for scatter/gather code 2011-11-01 16:52:05 -05:00
dyngen-exec.h tcg: Add bytecode generator for tcg interpreter 2011-10-31 21:52:16 +01:00
elf.h target-xtensa: add target stubs 2011-09-10 16:57:36 +00:00
envlist.c
envlist.h
error_int.h
error.c Drop qemu-objects.h from modules that don't require it 2011-10-27 11:48:47 -02:00
error.h
event_notifier.c event_notifier: move to top-level directory 2011-11-01 16:52:08 -05:00
event_notifier.h event_notifier: move to top-level directory 2011-11-01 16:52:08 -05:00
exec-all.h tcg: Add bytecode generator for tcg interpreter 2011-10-31 21:52:16 +01:00
exec-memory.h fix spelling in main directory 2011-12-02 10:50:57 +00:00
exec.c exec.c: Fix subpage memory access to RAM MemoryRegion 2011-12-15 09:27:23 -06:00
gdbstub.c Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
gdbstub.h
gen-icount.h
HACKING
hmp-commands.hx Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging 2011-12-14 07:59:21 -06:00
hmp.c qapi: Convert migrate_set_speed 2011-12-06 11:40:01 -02:00
hmp.h qapi: Convert migrate_set_speed 2011-12-06 11:40:01 -02:00
host-utils.c
host-utils.h Move macro QEMU_GNUC_PREREQ to compiler.h 2011-09-23 11:51:05 -05:00
hppa-dis.c fix spelling in main directory 2011-12-02 10:50:57 +00:00
hppa.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
i386-dis.c
i386.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
ia64-dis.c ia64-dis.c: Undefine ABS to avoid clash with glib 2011-11-01 11:50:12 -05:00
ia64.ld
input.c qapi: Convert query-mice 2011-10-27 11:48:46 -02:00
int128.h Add support for 128-bit arithmetic 2011-10-16 13:13:05 +02:00
iohandler.c Revert to a hand-made select loop 2011-10-21 18:14:30 +02:00
ioport-user.c
ioport.c Introduce PortioList 2011-10-11 15:57:07 +02:00
ioport.h Introduce PortioList 2011-10-11 15:57:07 +02:00
iorange.h
iov.c
iov.h
json-lexer.c
json-lexer.h
json-parser.c
json-parser.h
json-streamer.c
json-streamer.h
kvm-all.c kvm_init didn't set return value after create vm failed 2011-11-01 16:52:05 -05:00
kvm-stub.c
kvm.h
libfdt_env.h Fix libfdt warnings on Darwin 2011-06-14 03:08:57 +02:00
LICENSE LICENSE: There is no libqemu.a anymore 2011-12-09 11:25:22 +00:00
linux-aio.c linux-aio: Allow reads beyond the end of growable images 2011-10-14 10:29:13 +02:00
m68k-dis.c fix spelling in main directory 2011-12-02 10:50:57 +00:00
m68k-semi.c Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
m68k.ld
main-loop.c main-loop: Add missing include file 2011-10-25 15:38:08 -05:00
main-loop.h fix spelling in main directory 2011-12-02 10:50:57 +00:00
MAINTAINERS MAINTAINERS: Delete spurious '.' 2011-12-02 10:50:56 +00:00
Makefile Drop test-visitor 2011-12-06 11:40:00 -02:00
Makefile.dis
Makefile.hw Makefile.hw: allow hw/ files to include glib headers 2011-09-04 17:46:51 +03:00
Makefile.objs qom: introduce root device 2011-12-15 09:20:47 -06:00
Makefile.target Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging 2011-12-14 07:59:21 -06:00
Makefile.user build: Move tracing objects into libuser on usermode emulation targets 2011-09-16 08:25:56 -05:00
memory.c memory: add MemoryRegionOps::valid.accepts 2011-11-24 18:32:00 +02:00
memory.h memory: minor documentation fixes/enhancements 2011-12-06 10:10:21 +00:00
microblaze-dis.c
migration-exec.c exec_close(): return -errno on errors (v2) 2011-12-12 11:47:20 -06:00
migration-fd.c migration: flush migration data to disk. 2011-11-01 11:50:21 -05:00
migration-tcp.c tcp_close(): check for close() errors too (v2) 2011-12-12 11:47:20 -06:00
migration-unix.c unix_close(): check for close() errors too (v2) 2011-12-12 11:47:20 -06:00
migration.c migrate_fd_cleanup: accept any negative qemu_fclose() value as error 2011-12-12 11:47:19 -06:00
migration.h Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging 2011-12-14 07:59:21 -06:00
mips-dis.c Remove blanks before \n in output strings 2011-09-16 08:25:56 -05:00
mips.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
module.c
module.h
monitor.c qapi: Convert human-monitor-command 2011-12-06 11:40:01 -02:00
monitor.h qom: qom_{get, set} monitor commands (v2) 2011-12-15 09:20:48 -06:00
nbd.c fix spelling in main directory 2011-12-02 10:50:57 +00:00
nbd.h nbd: sync API definitions with upstream 2011-09-19 11:34:33 +02:00
net.c qapi: Convert set_link 2011-12-06 11:40:01 -02:00
net.h qapi: Convert set_link 2011-12-06 11:40:01 -02:00
notify.c notifier: Pass data argument to callback 2011-07-23 11:26:06 -05:00
notify.h
os-posix.c os-posix: Plug fd leak in qemu_create_pidfile() 2011-11-11 12:49:52 -06:00
os-win32.c win32: fix memory leak 2011-12-06 09:56:41 +00:00
osdep.c
osdep.h Move macro QEMU_GNUC_PREREQ to compiler.h 2011-09-23 11:51:05 -05:00
oslib-posix.c 9pfs: improve portability to older systems 2011-11-28 11:36:27 -06:00
oslib-win32.c add socket_set_block 2011-10-21 17:34:12 +02:00
path.c
pci-ids.txt
pflib.c
pflib.h
poison.h
posix-aio-compat.c Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
ppc64.ld ppc64: Fix linker script 2011-10-06 09:48:09 +02:00
ppc-dis.c
ppc.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
qapi-schema-guest.json Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging 2011-12-14 07:59:21 -06:00
qapi-schema-test.json Introduce test-qmp-output-visitor 2011-12-06 11:40:00 -02:00
qapi-schema.json qom: qom_{get, set} monitor commands (v2) 2011-12-15 09:20:48 -06:00
qbool.c
qbool.h
qdict-test-data.txt
qdict.c
qdict.h
qemu_socket.h add socket_set_block 2011-10-21 17:34:12 +02:00
qemu-aio.h
qemu-barrier.h qemu-barrier: Fix build failure on PowerPC Mac OS X 2011-11-01 11:50:11 -05:00
qemu-char.c qemu-char: rename qemu_chr_event to qemu_chr_be_event and make it public 2011-11-28 16:20:51 -06:00
qemu-char.h qemu-char: rename qemu_chr_event to qemu_chr_be_event and make it public 2011-11-28 16:20:51 -06:00
qemu-common.h qemu-common: add QEMU_ALIGN_DOWN() and QEMU_ALIGN_UP() macros 2011-12-05 14:51:37 +01:00
qemu-config.c block: add -drive copy-on-read=on|off 2011-12-05 14:51:38 +01:00
qemu-config.h
qemu-coroutine-int.h
qemu-coroutine-lock.c coroutine: add qemu_co_queue_restart_all() 2011-12-05 14:51:38 +01:00
qemu-coroutine.c
qemu-coroutine.h coroutine: add qemu_co_queue_restart_all() 2011-12-05 14:51:38 +01:00
qemu-doc.texi doc: Remove Symbian Virtual Platform 2011-12-14 11:14:21 +00:00
qemu-error.c error: Add an accessor for progname 2011-12-15 09:27:22 -06:00
qemu-error.h error: Add an accessor for progname 2011-12-15 09:27:22 -06:00
qemu-ga.c guest agent: add RPC blacklist command-line option 2011-12-12 17:06:21 -06:00
qemu-img-cmds.hx qemu-img: Require larger zero areas for sparse handling 2011-08-29 14:42:39 +02:00
qemu-img.c qemu-img: Tighten parsing of size arguments 2011-11-28 16:20:52 -06:00
qemu-img.texi qemu-img: Require larger zero areas for sparse handling 2011-08-29 14:42:39 +02:00
qemu-io.c Merge remote-tracking branch 'kwolf/for-anthony' into staging 2011-12-05 09:39:25 -06:00
qemu-lock.h
qemu-log.h
qemu-nbd.c qemu-nbd: open the block device after starting the client thread 2011-11-11 14:02:58 +01:00
qemu-nbd.texi
qemu-objects.h
qemu-option.c fix spelling in main directory 2011-12-02 10:50:57 +00:00
qemu-option.h qemu: Add opt_set_bool functionality 2011-10-31 12:34:16 +05:30
qemu-options.h
qemu-options.hx Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
qemu-os-posix.h 9pfs: improve portability to older systems 2011-11-28 11:36:27 -06:00
qemu-os-win32.h main-loop: create main-loop.c 2011-10-21 18:14:30 +02:00
qemu-progress.c
qemu-queue.h qemu-queue: Introduce QLIST_INSERT_HEAD_RCU and dummy RCU wrappers. 2011-10-31 12:34:18 +05:30
qemu-sockets.c qemu-sockets: Plug fd leak on unix_connect_opts() error path 2011-11-11 12:49:52 -06:00
qemu-tech.texi qemu-tech.texi: Remove libqemu related stuff from the document 2011-12-09 10:10:12 +00:00
qemu-thread-posix.c qemu-thread: implement joinable threads for POSIX 2011-12-12 17:06:22 -06:00
qemu-thread-posix.h
qemu-thread-win32.c fix win32 build 2011-12-15 09:20:50 -06:00
qemu-thread-win32.h fix win32 build 2011-12-15 09:20:50 -06:00
qemu-thread.h qemu-thread: add API for joinable threads 2011-12-12 17:06:22 -06:00
qemu-timer-common.c
qemu-timer.c win32: remove broken timers 2011-11-09 12:06:20 -06:00
qemu-timer.h main-loop: create main-loop.h 2011-10-21 18:14:30 +02:00
qemu-tls.h Rename get_tls to tls_var 2011-12-06 10:07:04 +00:00
qemu-tool.c qed: add migration blocker (v2) 2011-11-21 14:58:48 -06:00
qemu-x509.h
qemu-xattr.h configure: fix detection for xattr.h on modern distributions 2011-11-09 12:06:20 -06:00
qemu.sasl
qerror.c qom: add new dynamic property infrastructure based on Visitors (v2) 2011-12-15 09:20:47 -06:00
qerror.h qom: add new dynamic property infrastructure based on Visitors (v2) 2011-12-15 09:20:47 -06:00
qfloat.c
qfloat.h
qint.c
qint.h
qjson.c
qjson.h
qlist.c
qlist.h
qmp-commands.hx qom: qom_{get, set} monitor commands (v2) 2011-12-15 09:20:48 -06:00
qmp.c qom: qom_{get, set} monitor commands (v2) 2011-12-15 09:20:48 -06:00
qobject.h
qstring.c
qstring.h
range.h
readline.c readline: Fix buffer overrun on re-add to history 2011-11-07 08:03:49 +00:00
readline.h
README Update README 2011-12-11 17:50:43 -06:00
rules.mak build: sort objects to remove duplicates for link 2011-09-01 13:12:51 -05:00
s390-dis.c
s390.ld
savevm.c stdio_fclose: return -errno on errors (v2) 2011-12-12 11:47:20 -06:00
sh4-dis.c
softmmu_defs.h Document softmmu templates 2011-10-01 09:31:08 +00:00
softmmu_exec.h Document softmmu templates 2011-10-01 09:31:08 +00:00
softmmu_header.h Document softmmu templates 2011-10-01 09:31:08 +00:00
softmmu_template.h softmmu_header: pass CPUState to tlb_fill 2011-10-01 09:31:26 +00:00
softmmu-semi.h
sparc64.ld
sparc-dis.c
sparc.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
spice-qemu-char.c spice-qemu-char: Generate chardev open/close events 2011-11-28 16:20:51 -06:00
sysemu.h pcie_aer: adjust do_pcie_aer_inejct_error -> do_pcie_aer_inject_error 2011-12-06 09:56:41 +00:00
targphys.h
tcg-runtime.c
tci-dis.c tcg: Add tci disassembler 2011-10-31 21:52:17 +01:00
tci.c tcg: Standardize on TCGReg as the enum for hard registers 2011-11-14 17:47:26 +01:00
test-coroutine.c
test-qmp-commands.c qapi: add test cases for generated free functions 2011-10-04 11:00:46 -03:00
test-qmp-input-visitor.c Introduce test-qmp-input-visitor 2011-12-06 11:40:00 -02:00
test-qmp-output-visitor.c Introduce test-qmp-output-visitor 2011-12-06 11:40:00 -02:00
thunk.c
thunk.h
TODO
trace-events dma-helpers: Add trace events 2011-12-05 14:51:38 +01:00
translate-all.c
uboot_image.h
usb-bsd.c
usb-linux.c usb-host: add usb_host_do_reset function. 2011-11-23 17:17:17 +01:00
usb-redir.c fix typo: delete redundant semicolon 2011-12-06 09:56:41 +00:00
usb-stub.c
user-exec.c
VERSION Update version for 1.1 development branch 2011-12-05 08:39:02 -06:00
version.rc
vgafont.h
vl.c vl.c: Print the actual program name in help output 2011-12-15 09:27:23 -06:00
x86_64.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
xen-all.c Drop the vm_running global variable 2011-09-15 16:39:32 -03:00
xen-mapcache.c block: convert qemu_aio_flush() calls to bdrv_drain_all() 2011-12-05 14:56:06 +01:00
xen-mapcache.h
xen-stub.c
xtensa-semi.c target-xtensa: implement SIMCALL 2011-09-10 16:57:39 +00:00

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

- QEMU team