]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: make block io tuning smarter
authorEric Blake <eblake@redhat.com>
Fri, 10 Feb 2012 21:53:49 +0000 (14:53 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 13 Feb 2012 17:34:25 +0000 (10:34 -0700)
commit172d34298f202d7af3fd7ef3bd0f061020dcb1c8
tree7b68e34844a99f07fdcb9f32be0a0f8a6afc5bdd
parentbca060a363d3679c37ecc8bfd17f25dfa0781abb
qemu: make block io tuning smarter

When blkdeviotune was first committed in 0.9.8, we had the limitation
that setting one value reset all others.  But bytes and iops should
be relatively independent.  Furthermore, setting tuning values on
a live domain followed by dumpxml did not output the new settings.

* src/qemu/qemu_driver.c (qemuDiskPathToAlias): Add parameter, and
update callers.
(qemuDomainSetBlockIoTune): Don't lose previous unrelated
settings.  Make live changes reflect to dumpxml output.
* tools/virsh.pod (blkdeviotune): Update documentation.
src/qemu/qemu_driver.c
tools/virsh.pod