adding Irix (and, to a lesser extent, Solaris) userland emulation to QEMU
Go to file
Jeff Cody d5208c45be block: in commit, determine base image from the top image
This simplifies some code and error checking, and also fixes a bug.

bdrv_find_backing_image() should only be passed absolute filenames,
or filenames relative to the chain.  In the QMP message handler for
block commit, when looking up the base do so from the determined top
image, so we know it is reachable from top.

Some of the error messages put out by block-commit have changed
slightly, which causes 2 tests cases for block-commit to fail.
This patch updates the test cases to look for the correct error
output.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-10-24 10:26:19 +02:00
QMP qmp: fix __accept() in qmp.py 2012-10-24 10:26:18 +02:00
audio audio: Fix warning from static code analysis 2012-09-23 01:34:16 +04:00
block block: in commit, determine base image from the top image 2012-10-24 10:26:19 +02:00
bsd-user Support 'help' as a synonym for '?' in command line options 2012-08-02 13:16:42 -05:00
default-configs serial: add pci variant 2012-10-22 13:26:42 -05:00
docs serial: add pci-serial documentation 2012-10-22 13:26:42 -05:00
fpu fpu/softfloat.c: Return correctly signed values from uint64_to_float32 2012-10-01 22:06:39 +02:00
fsdev
gdb-xml
hw Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
include/qemu Merge remote-tracking branch 'quintela/migration-next-20120808' into staging 2012-08-13 16:02:11 -05:00
libcacard Merge branch 'trivial-patches' of git://github.com/stefanha/qemu 2012-10-06 18:54:14 +02:00
linux-headers Update Linux kernel headers 2012-10-01 08:04:22 -05:00
linux-user Merge branch 'linux-user-for-upstream' of git://git.linaro.org/people/rikuvoipio/qemu 2012-10-19 20:28:22 +02:00
net net/tap-win32: Fix compiler warning caused by missing include statement 2012-10-19 10:39:35 +02:00
pc-bios Update OpenBIOS PPC image 2012-08-28 20:38:39 +02:00
qapi qapi: Fix memory leak 2012-08-20 11:05:08 -03:00
qga Merge branch 'trivial-patches' of git://github.com/stefanha/qemu 2012-10-06 18:54:14 +02:00
qom qom: object_delete should unparent the object first 2012-08-23 20:19:59 -05:00
roms Update OpenBIOS PPC image 2012-08-28 20:38:39 +02:00
scripts Merge remote-tracking branch 'qmp/queue/qmp' into staging 2012-10-04 19:52:09 -05:00
slirp cleanup useless return sentence 2012-10-05 15:10:21 +02:00
sysconfigs/target Eliminate cpus-x86_64.conf file 2012-09-21 15:12:58 +02:00
target-alpha Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-arm Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-cris Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-i386 Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-lm32 Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-m68k Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-microblaze Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-mips Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-openrisc Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-ppc Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-s390x Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-sh4 Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-sparc Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-unicore32 Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
target-xtensa Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
tcg exec: Allocate code_gen_prologue from code_gen_buffer 2012-10-20 07:54:04 +00:00
tests block: in commit, determine base image from the top image 2012-10-24 10:26:19 +02:00
trace trace/simple: Replace asprintf by g_strdup_printf 2012-08-14 13:19:57 +01:00
ui ui/vnc-jobs.c: Fix minor typos in comments 2012-10-19 10:42:01 +02:00
.exrc qemu: add .exrc 2012-09-07 09:02:44 +03:00
.gitignore Remove libhw 2012-10-05 16:07:49 -05:00
.gitmodules
.mailmap
CODING_STYLE
COPYING
COPYING.LIB
Changelog
HACKING Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
LICENSE
MAINTAINERS MAINTAINERS: Update email address for Stefan Hajnoczi 2012-10-19 20:37:43 +02:00
Makefile allow make {dist, }clean work w/out configure 2012-10-19 20:39:36 +02:00
Makefile.dis build: get dependency file directories from object file names 2012-07-28 09:16:09 +00:00
Makefile.objs Remove libhw 2012-10-05 16:07:49 -05:00
Makefile.target Remove libhw 2012-10-05 16:07:49 -05:00
Makefile.user build: get dependency file directories from object file names 2012-07-28 09:16:09 +00:00
README
TODO
VERSION Open up 1.3 development tree 2012-09-05 11:44:53 -05:00
a.out.h
acl.c
acl.h
aes.c
aes.h
aio.c aio: Another fix to the walking_handlers logic 2012-09-28 17:57:54 +02:00
alpha-dis.c
alpha.ld
arch_init.c migration: Add dirty_pages_rate to query migrate output 2012-10-17 18:34:58 +02:00
arch_init.h win32: provide separate macros for weak decls and definitions 2012-08-15 13:26:03 -05:00
arm-dis.c
arm.ld
async.c
balloon.c
balloon.h
bitmap.c
bitmap.h
bitops.c
bitops.h bitops: drop volatile qualifier 2012-08-04 15:51:23 +00:00
block-migration.c block-migration: handle errors with the return codes correctly 2012-10-17 18:34:59 +02:00
block-migration.h
block.c block: make bdrv_find_backing_image compare canonical filenames 2012-10-24 10:26:18 +02:00
block.h iostatus: reorganize io error code 2012-09-28 19:40:56 +02:00
block_int.h stream: add on-error argument 2012-09-28 19:40:56 +02:00
blockdev.c block: in commit, determine base image from the top image 2012-10-24 10:26:19 +02:00
blockdev.h blockdev: Don't limit DriveInfo serial to 20 characters 2012-07-17 16:48:32 +02:00
blockjob.c block: introduce block job error 2012-09-28 19:40:56 +02:00
blockjob.h block: introduce block job error 2012-09-28 19:40:56 +02:00
bswap.h
bt-host.c
bt-host.h
bt-vhci.c
buffered_file.c buffered_file: buffered_put_buffer() don't need to set last_error 2012-10-17 18:34:59 +02:00
buffered_file.h buffered_file: We can access directly to bandwidth_limit 2012-10-17 18:34:59 +02:00
cache-utils.c
cache-utils.h
cmd.c
cmd.h
compatfd.c
compatfd.h
compiler.h w32: Always use standard instead of native format strings 2012-09-23 07:39:22 +01:00
config.h
configure fix CONFIG_QEMU_HELPERDIR generation again 2012-10-22 00:33:56 +02:00
console.c TextConsole: saturate escape parameter in TTY_STATE_CSI 2012-09-23 07:11:28 +01:00
console.h qapi: convert screendump 2012-09-05 15:48:57 -03:00
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c configure: Split valgrind test into pragma test and valgrind.h test 2012-07-31 20:04:42 +00:00
coroutine-win32.c
cpu-all.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
cpu-common.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
cpu-defs.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
cpu-exec.c cpu_dump_state: move DUMP_FPU and DUMP_CCOP flags from x86-only to generic 2012-10-05 15:04:43 +01:00
cpus.c cpus: create qemu_in_vcpu_thread() 2012-10-17 18:35:00 +02:00
cpus.h
cputlb.c Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
cputlb.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
cris-dis.c
cursor.c
cursor_hidden.xpm
cursor_left_ptr.xpm
cutils.c rtc: fix overflow in mktimegm 2012-10-05 08:02:30 -05:00
def-helper.h tcg: Fix MAX_OPC_PARAM_IARGS 2012-09-15 15:34:27 +00:00
device_tree.c device tree: simplify dumpdtb code 2012-10-05 02:35:11 +02:00
device_tree.h fdt: move dumpdtb interpretation code to device_tree.c 2012-10-05 02:35:11 +02:00
dis-asm.h
disas.c tcg-sparc: Assume v9 cpu always, i.e. force v8plus in 32-bit mode. 2012-09-21 22:02:16 +02:00
disas.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
dma-helpers.c Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
dma.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
dump-stub.c
dump.c Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
dump.h
elf.h target-or32: Add target stubs and QOM cpu 2012-07-27 21:12:55 +00:00
envlist.c
envlist.h
error.c error, qerror: drop QDict member 2012-08-13 14:17:53 -03:00
error.h error: add error_setg() 2012-09-05 15:48:57 -03:00
event_notifier.c event_notifier: add event_notifier_set_handler 2012-07-12 14:08:10 +03:00
event_notifier.h event_notifier: add event_notifier_set_handler 2012-07-12 14:08:10 +03:00
exec-all.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
exec-memory.h memory: use AddressSpace for MemoryListener filtering 2012-10-22 14:50:07 +02:00
exec.c Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
gdbstub.c target-xtensa: add FP registers 2012-09-22 17:59:12 +00:00
gdbstub.h
gen-icount.h
hmp-commands.hx Merge remote-tracking branch 'kwolf/for-anthony' into staging 2012-10-04 19:53:50 -05:00
hmp.c migration: Add dirty_pages_rate to query migrate output 2012-10-17 18:34:58 +02:00
hmp.h qmp: add block-job-pause and block-job-resume 2012-09-28 19:14:32 +02:00
host-utils.c
host-utils.h
hppa-dis.c
hppa.ld
hwaddr.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
i386-dis.c
i386.ld
ia64-dis.c
ia64.ld
input.c input: index_from_key(): drop unused code 2012-09-27 09:50:36 -03:00
int128.h
iohandler.c qemu-char: BUGFIX, don't call FD_ISSET with negative fd 2012-09-17 10:18:48 -05:00
ioport.c
ioport.h
iorange.h
iov.c iov: add const annotation 2012-09-28 12:16:27 +02:00
iov.h iov: add const annotation 2012-09-28 12:16:27 +02:00
json-lexer.c
json-lexer.h
json-parser.c json-parser: don't replicate tokens at each level of recursion 2012-08-16 13:41:15 -05:00
json-parser.h
json-streamer.c
json-streamer.h
kvm-all.c Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
kvm-stub.c memory: manage coalesced mmio via a MemoryListener 2012-10-22 14:50:00 +02:00
kvm.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
libfdt_env.h
linux-aio.c
lm32-dis.c
m68k-dis.c
m68k.ld
main-loop.c
main-loop.h
memory-internal.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
memory.c Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
memory.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
memory_mapping-stub.c
memory_mapping.c Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
memory_mapping.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
microblaze-dis.c
migration-exec.c
migration-fd.c monitor: add Error * argument to monitor_get_fd 2012-09-26 12:42:19 -03:00
migration-tcp.c Fix address handling in inet_nonblocking_connect 2012-09-25 19:05:56 -05:00
migration-unix.c
migration.c savevm: make qemu_file_put_notify() return errors 2012-10-17 18:35:00 +02:00
migration.h migration: make migrate_fd_wait_for_unfreeze() return errors 2012-10-17 18:34:59 +02:00
mips-dis.c
mips.ld
module.c
module.h
monitor.c Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
monitor.h Merge remote-tracking branch 'kwolf/for-anthony' into staging 2012-10-04 19:53:50 -05:00
nbd.c Separate inet_connect into inet_connect (blocking) and inet_nonblocking_connect 2012-09-25 19:05:55 -05:00
nbd.h nbd: add nbd_export_get_blockdev 2012-09-19 15:26:31 +02:00
net.c net: consolidate NetClientState header files into one 2012-10-08 13:59:40 +02:00
net.h monitor: Rename+move net_handle_fd_param -> monitor_handle_fd_param 2012-09-07 09:15:08 +03:00
notify.c
notify.h
os-posix.c Merge branch 'trivial-patches' of git://github.com/stefanha/qemu 2012-10-06 18:54:14 +02:00
os-win32.c
osdep.c osdep: Fix compilation failure on BSD systems 2012-08-16 13:41:16 -05:00
osdep.h Call MADV_HUGEPAGE for guest RAM allocations 2012-10-22 13:26:34 -05:00
oslib-posix.c s390: autodetect map private 2012-07-10 18:27:33 +02:00
oslib-win32.c w32: Add implementation of gmtime_r, localtime_r 2012-09-23 17:09:30 +00:00
page_cache.c Add cache handling functions 2012-08-08 13:51:12 +02:00
path.c
pci-ids.txt
pflib.c
pflib.h
poison.h target-or32: Add target stubs and QOM cpu 2012-07-27 21:12:55 +00:00
posix-aio-compat.c
ppc-dis.c
ppc.ld
ppc64.ld
qapi-schema-guest.json qapi: Fix enumeration typo error 2012-09-14 08:21:29 +01:00
qapi-schema-test.json
qapi-schema.json migration: Add dirty_pages_rate to query migrate output 2012-10-17 18:34:58 +02:00
qbool.c
qbool.h
qdict-test-data.txt
qdict.c
qdict.h
qemu-aio.h
qemu-barrier.h qemu-barrier: Fix compilation on i386 hosts 2012-10-07 20:07:11 +02:00
qemu-bridge-helper.c net: Add interface to bridge when SIOCBRADDIF isn't available 2012-08-01 12:28:51 +01:00
qemu-char.c Fix address handling in inet_nonblocking_connect 2012-09-25 19:05:56 -05:00
qemu-char.h
qemu-common.h qemu-sockets: Fix compiler warning (regression for MinGW) 2012-10-05 14:49:01 +02:00
qemu-config.c add a boot parameter to set reboot timeout 2012-09-25 20:05:04 -05:00
qemu-config.h Command line support for seccomp with -sandbox (v8) 2012-08-16 13:41:16 -05:00
qemu-coroutine-int.h
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-coroutine.h
qemu-doc.texi iscsi: Pick default initiator-name based on the name of the VM 2012-08-09 15:04:09 +02:00
qemu-error.c
qemu-error.h
qemu-file.h savevm: make qemu_file_put_notify() return errors 2012-10-17 18:35:00 +02:00
qemu-ga.c qemu-ga: ga_open_pidfile(): add new line to pidfile 2012-10-09 03:42:42 -05:00
qemu-img-cmds.hx qemu-img: Add json output option to the info command. 2012-09-12 15:50:09 +02:00
qemu-img.c qemu-img rebase: use empty string to rebase without backing file 2012-10-24 10:26:18 +02:00
qemu-img.texi qemu-img rebase: use empty string to rebase without backing file 2012-10-24 10:26:18 +02:00
qemu-io.c qemu-io: add "abort" command to simulate program crash 2012-08-06 22:39:14 +02:00
qemu-lock.h
qemu-log.c qemu-log: Add new log category for guest bugs 2012-10-20 07:56:22 +00:00
qemu-log.h qemu-log: Add new log category for guest bugs 2012-10-20 07:56:22 +00:00
qemu-nbd.c qemu-nbd: rewrite termination conditions to use a state machine 2012-09-19 15:26:29 +02:00
qemu-nbd.texi
qemu-objects.h
qemu-option-internal.h expose QemuOpt and QemuOpts struct definitions to interested parties 2012-07-23 11:55:17 +01:00
qemu-option.c Support 'help' as a synonym for '?' in command line options 2012-08-02 13:16:42 -05:00
qemu-option.h Support 'help' as a synonym for '?' in command line options 2012-08-02 13:16:42 -05:00
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx qemu-options.hx: Change from recommending '?' to 'help' 2012-10-19 20:29:54 +02:00
qemu-os-posix.h curses: don't initialize curses when qemu is daemonized 2012-09-23 07:11:28 +01:00
qemu-os-win32.h Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2012-09-25 16:06:16 -05:00
qemu-progress.c
qemu-queue.h
qemu-seccomp.c Adding qemu-seccomp.[ch] (v8) 2012-08-16 13:41:16 -05:00
qemu-seccomp.h Adding qemu-seccomp.[ch] (v8) 2012-08-16 13:41:16 -05:00
qemu-sockets.c cleanup useless return sentence 2012-10-05 15:10:21 +02:00
qemu-tech.texi doc: Fix indefinite article an -> a before nouns that begin with 'h' 2012-07-17 15:40:14 -05:00
qemu-thread-posix.c qemu-thread: Let qemu_thread_is_self() return bool 2012-08-02 18:11:11 +02:00
qemu-thread-posix.h
qemu-thread-win32.c qemu-thread: Let qemu_thread_is_self() return bool 2012-08-02 18:11:11 +02:00
qemu-thread-win32.h
qemu-thread.h qemu-thread: Let qemu_thread_is_self() return bool 2012-08-02 18:11:11 +02:00
qemu-timer-common.c
qemu-timer.c qemu-timer: simplify qemu_run_timers 2012-09-23 07:11:29 +01:00
qemu-timer.h tcg-sparc: Assume v9 cpu always, i.e. force v8plus in 32-bit mode. 2012-09-21 22:02:16 +02:00
qemu-tls.h
qemu-tool.c iostatus: reorganize io error code 2012-09-28 19:40:56 +02:00
qemu-user.c block: Enable qemu_open/close to work with fd sets 2012-08-15 13:16:22 +02:00
qemu-x509.h
qemu-xattr.h
qemu.sasl
qemu_socket.h Fix address handling in inet_nonblocking_connect 2012-09-25 19:05:56 -05:00
qerror.c error, qerror: drop QDict member 2012-08-13 14:17:53 -03:00
qerror.h block: add support for job pause/resume 2012-09-28 19:14:32 +02:00
qfloat.c
qfloat.h
qint.c
qint.h
qjson.c
qjson.h
qlist.c qlist: add qlist_size() 2012-08-16 13:41:15 -05:00
qlist.h qlist: add qlist_size() 2012-08-16 13:41:15 -05:00
qmp-commands.hx migration: print expected downtime in info migrate 2012-10-17 18:34:58 +02:00
qmp.c qapi: convert add_client 2012-09-26 12:42:19 -03:00
qobject.h json-parser: Fix potential NULL pointer segfault 2012-09-05 15:48:57 -03:00
qstring.c
qstring.h
qtest.c
qtest.h
range.h
readline.c
readline.h
rules.mak Support using a different compiler for Objective-C files 2012-08-16 13:41:15 -05:00
s390-dis.c
s390.ld
savevm.c savevm: make qemu_file_put_notify() return errors 2012-10-17 18:35:00 +02:00
sh4-dis.c
softmmu-semi.h softmmu-semi: fix lock_user* functions not to deref NULL upon OOM 2012-08-22 10:47:14 -05:00
softmmu_defs.h Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
softmmu_exec.h
softmmu_header.h Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
softmmu_template.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
sparc-dis.c tcg-sparc: Dump illegal opode contents 2012-10-13 10:39:53 +00:00
sparc.ld
sparc64.ld
spice-qemu-char.c
sysemu.h vga: cleanup after isa_vga_init() and pci_vga_init() conversion 2012-10-06 18:48:39 +02:00
tcg-runtime.c
tci-dis.c
tci.c tcg: remove obsolete jmp op 2012-10-06 18:47:04 +02:00
thunk.c
thunk.h
trace-events ram: create trace event for migration sync bitmap 2012-10-17 18:34:58 +02:00
translate-all.c
uboot_image.h
uri.c qemu: URI parsing library 2012-09-28 17:51:47 +02:00
uri.h qemu: URI parsing library 2012-09-28 17:51:47 +02:00
user-exec.c Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
version.rc
vgafont.h
vl.c create struct for machine initialization arguments 2012-10-20 07:53:28 +00:00
vmstate.h vmstate: add VMSTATE_TIMER_V 2012-09-10 13:52:28 -05:00
x86_64.ld
xen-all.c Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
xen-mapcache.c Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
xen-mapcache.h Rename target_phys_addr_t to hwaddr 2012-10-23 08:58:25 -05:00
xen-stub.c xen: Introduce xen_modified_memory. 2012-10-03 13:48:45 +00:00

README

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

- QEMU team