No description
Find a file
Stefan Hajnoczi f9ea81e825 blockdev: allow BdrvActionOps->commit() to be NULL
Some QMP 'transaction' types don't need to do anything on .commit().
Make .commit() optional just like .abort().

The "drive-backup" action will take advantage of this, it only needs to
cancel the block job on .abort().  Other block job actions will probably
follow the same pattern, so allow .commit() to be NULL.

Suggested-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2013-06-28 09:20:26 +02:00
audio audio: Replace static functions in header file by macros, remove GCC_ATTR 2013-06-21 22:52:50 +04:00
backends
block block: add basic backup support to block driver 2013-06-28 09:20:26 +02:00
bsd-user
default-configs
disas
docs rdma: add documentation 2013-06-27 02:38:35 +02:00
dtc@bc895d6d09
fpu
fsdev
gdb-xml
hw Merge remote-tracking branch 'pmaydell/arm-devs.for-upstream' into staging 2013-06-25 14:14:13 -05:00
include block: add basic backup support to block driver 2013-06-28 09:20:26 +02:00
ldscripts
libcacard libcacard: Fix cppcheck warning and remove unneeded code 2013-06-21 22:52:50 +04:00
linux-headers
linux-user
net
pc-bios
pixman@97336fad32
po
qapi
qga
QMP
qobject
qom
roms
scripts
slirp
stubs
sysconfigs/target
target-alpha
target-arm target-arm: Make LPAE feature imply V7MP 2013-06-25 18:16:10 +01:00
target-cris
target-i386
target-lm32
target-m68k
target-microblaze
target-mips
target-moxie
target-openrisc
target-ppc
target-s390x virtio-ccw: Wire up ioeventfd. 2013-06-25 17:11:11 +02:00
target-sh4
target-sparc
target-unicore32
target-xtensa
tcg
tests Revert "block: Disable driver-specific options for 1.5" 2013-06-24 10:25:16 +02:00
trace
ui Merge remote-tracking branch 'spice/spice.v71' into staging 2013-06-24 14:33:09 -05:00
util notify: add NotiferWithReturn so notifier list can abort 2013-06-28 09:20:26 +02:00
.exrc
.gitignore
.gitmodules
.mailmap
aio-posix.c
aio-win32.c
arch_init.c rdma: introduce qemu_update_position() 2013-06-27 02:38:35 +02:00
async.c
balloon.c
block-migration.c
block.c block: add bdrv_add_before_write_notifier() 2013-06-28 09:20:26 +02:00
blockdev-nbd.c
blockdev.c blockdev: allow BdrvActionOps->commit() to be NULL 2013-06-28 09:20:26 +02:00
blockjob.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure configure: Add signed*signed check to [u]int128_t test 2013-06-21 22:54:24 +04:00
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-exec.c
cpus.c
cputlb.c
device-hotplug.c
device_tree.c
disas.c
dma-helpers.c
dump.c
exec.c linux-user: Fix compilation failure 2013-06-27 15:38:35 -05:00
gdbstub.c
HACKING
hmp-commands.hx
hmp.c rdma: export throughput w/ MigrationStats QMP 2013-06-27 02:38:36 +02:00
hmp.h
iohandler.c
ioport.c
kvm-all.c
kvm-stub.c
LICENSE
main-loop.c
MAINTAINERS
Makefile Makefile: pass include directives to dtc via CPPFLAGS, not CFLAGS 2013-06-21 22:52:50 +04:00
Makefile.objs
Makefile.target
memory.c memory: render_memory_region: factor out fr constant setters 2013-06-20 16:39:52 +02:00
memory_mapping.c
migration-exec.c
migration-fd.c
migration-tcp.c
migration-unix.c
migration.c rdma: introduce capability x-rdma-pin-all 2013-06-27 02:38:36 +02:00
monitor.c
nbd.c
os-posix.c
os-win32.c
page_cache.c
qapi-schema-test.json
qapi-schema.json block: add drive-backup QMP command 2013-06-28 09:20:26 +02:00
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c qemu-char: use bool in qemu_chr_open_socket and simplify code a bit 2013-06-21 22:52:50 +04:00
qemu-coroutine-io.c rdma: export yield_until_fd_readable() 2013-06-27 02:38:36 +02:00
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-doc.texi
qemu-img-cmds.hx
qemu-img.c qemu-img: Add missing GCC_FMT_ATTR 2013-06-21 22:52:50 +04:00
qemu-img.texi
qemu-io-cmds.c
qemu-io.c
qemu-log.c
qemu-nbd.c
qemu-nbd.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx Merge remote-tracking branch 'spice/spice.v71' into staging 2013-06-24 14:33:09 -05:00
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c
qemu.sasl
qmp-commands.hx block: add drive-backup QMP command 2013-06-28 09:20:26 +02:00
qmp.c
qtest.c
readline.c
README
rules.mak
savevm.c rdma: new QEMUFileOps hooks 2013-06-27 02:38:36 +02:00
spice-qemu-char.c
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
tpm.c
trace-events block: add basic backup support to block driver 2013-06-28 09:20:26 +02:00
translate-all.c
translate-all.h
user-exec.c
VERSION
version.rc
vl.c vl: reformat SDL ifdeffery a bit 2013-06-21 22:52:49 +04:00
xbzrle.c
xen-all.c Revert "xen: start PCI hole at 0xe0000000 (same as pc_init1 and qemu-xen-traditional)" 2013-06-25 11:59:42 +00:00
xen-mapcache.c
xen-stub.c Allow use of pc machine type (accel=xen) for Xen HVM domains. 2013-06-25 12:00:48 +00:00

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

- QEMU team