]> xenbits.xensource.com Git - libvirt.git/commit
virsh: add --io when attaching disks to guests
authorGordon Messmer <gordon@dragonsdawn.net>
Fri, 12 May 2017 21:27:27 +0000 (14:27 -0700)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 17 May 2017 17:50:19 +0000 (13:50 -0400)
commitca21d75d25e04422e434828344924b914ea21ca9
treef29bbdc9f7e537ead394411c5c3df79cc1bd4876
parented61e0b368859b25beb5259f84edd4910cd5218f
virsh: add --io when attaching disks to guests

virt-install and virt-manager both default to explicitly setting
"io='native'" in the disk "driver" tag. virsh, however, does not and also
does not provide an option to specify that setting at all.  As a result,
disks use a different IO mechanism (the default, "threads") when attached
post-setup using virsh.  Adding this option allows users to keep disk
performance consistent for disks attached at install, and those attached
afterward.
tools/virsh-domain.c
tools/virsh.pod