libvirt/src/qemu
Eric Blake 8e42c50bd4 qemu: improve efficiency of dd during snapshots
POSIX states about dd:

If the bs=expr operand is specified and no conversions other than
sync, noerror, or notrunc are requested, the data returned from each
input block shall be written as a separate output block; if the read
returns less than a full block and the sync conversion is not
specified, the resulting output block shall be the same size as the
input block. If the bs=expr operand is not specified, or a conversion
other than sync, noerror, or notrunc is requested, the input shall be
processed and collected into full-sized output blocks until the end of
the input is reached.

Since we aren't using conv=sync, there is no zero-padding, but our
use of bs= means that a short read results in a short write.  If
instead we use ibs= and obs=, then short reads are collected and dd
only has to do a single write, which can make dd more efficient.

* src/qemu/qemu_monitor.c (qemuMonitorMigrateToFile):
Avoid 'dd bs=', since it can cause short writes.
2011-03-15 16:35:43 -06:00
..
libvirtd_qemu.aug qemu: fix augeas support for vnc_auto_unix_socket 2011-01-28 15:28:30 -07:00
qemu_audit.c audit: audit use of /dev/net/tun, /dev/tapN, /dev/vhost-net 2011-03-10 08:35:42 -07:00
qemu_audit.h audit: audit use of /dev/net/tun, /dev/tapN, /dev/vhost-net 2011-03-10 08:35:42 -07:00
qemu_bridge_filter.c Remove conn parameter from virReportSystemError 2010-02-09 01:04:54 +01:00
qemu_bridge_filter.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu_capabilities.c qemu: Support vram for video of qxl type 2011-03-06 22:00:27 +08:00
qemu_capabilities.h qemu: Support vram for video of qxl type 2011-03-06 22:00:27 +08:00
qemu_cgroup.c qemu: don't request cgroup ACL access for /dev/net/tun 2011-03-10 08:32:43 -07:00
qemu_cgroup.h audit: prepare qemu for listing vm in cgroup audits 2011-02-24 13:31:05 -07:00
qemu_command.c qemu: use more appropriate error 2011-03-15 08:49:04 -06:00
qemu_command.h audit: audit use of /dev/net/tun, /dev/tapN, /dev/vhost-net 2011-03-10 08:35:42 -07:00
qemu_conf.c qemu: Implement blkio tunable XML configuration and parsing. 2011-02-08 11:43:45 -07:00
qemu_conf.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
qemu_domain.c Move all the QEMU migration code to a new file 2011-02-17 12:56:10 +00:00
qemu_domain.h Move all the QEMU migration code to a new file 2011-02-17 12:56:10 +00:00
qemu_driver.c qemu: implement new BlkioParameters API 2011-03-10 17:53:52 -07:00
qemu_driver.h Split all QEMU process mangement code into separate file 2011-02-17 12:48:55 +00:00
qemu_hostdev.c Move QEMU hostdev helper code out of the QEMU driver 2010-12-17 13:50:21 +00:00
qemu_hostdev.h Move QEMU hostdev helper code out of the QEMU driver 2010-12-17 13:50:21 +00:00
qemu_hotplug.c audit: audit use of /dev/net/tun, /dev/tapN, /dev/vhost-net 2011-03-10 08:35:42 -07:00
qemu_hotplug.h rename qemuDomainDetachSCSIDiskDevice to qemuDomainDetachDiskDevice 2011-03-07 11:28:15 -07:00
qemu_migration.c qemu: use lighter-weight fd:n on incoming tunneled migration 2011-03-14 21:57:42 -06:00
qemu_migration.h Move all the QEMU migration code to a new file 2011-02-17 12:56:10 +00:00
qemu_monitor_json.c qemu: Fallback to HMP when cpu_set QMP command is not found 2011-03-15 09:55:06 -06:00
qemu_monitor_json.h qemu: consolidate duplicated monitor migration code 2011-03-14 21:57:43 -06:00
qemu_monitor_text.c qemu: consolidate duplicated monitor migration code 2011-03-14 21:57:43 -06:00
qemu_monitor_text.h qemu: consolidate duplicated monitor migration code 2011-03-14 21:57:43 -06:00
qemu_monitor.c qemu: improve efficiency of dd during snapshots 2011-03-15 16:35:43 -06:00
qemu_monitor.h qemu: Rename qemuMonitorCommand{,WithFd} as qemuMonitorHMP* 2011-03-10 14:36:04 +01:00
qemu_process.c qemu: Fix warnings in event handlers 2011-03-10 14:18:37 +01:00
qemu_process.h Split all QEMU process mangement code into separate file 2011-02-17 12:48:55 +00:00
qemu.conf qemu: don't request cgroup ACL access for /dev/net/tun 2011-03-10 08:32:43 -07:00
test_libvirtd_qemu.aug qemu: fix augeas support for vnc_auto_unix_socket 2011-01-28 15:28:30 -07:00
THREADS.txt docs: more on qemu locking patterns 2011-02-02 09:19:31 -07:00