[libvirt] [PATCH] Add "io" option to virsh attach-disk sub-command.

Daniel P. Berrange berrange at redhat.com
Tue May 9 14:58:37 UTC 2017

On Tue, May 09, 2017 at 07:51:00AM -0700, Gordon Messmer wrote:
> On 05/09/2017 07:38 AM, Daniel P. Berrange wrote:
> > I think you can use the --iothread flag to "virsh attach-disk" to set
> > this parameter. virsh doesn't set it if not specified, since it tries
> > to avoid making policy decisions, like virt-manager/virt-install do
> That option sets the iothread attribute, which "attribute assigns the disk
> to an IOThread as defined by the range for the domain iothreads."  That's
> not the same as switching between native AIO and threads IO.

Opps, yes, mixed terminology. You're right - virsh is lacking this
feature. Feel free to send a patch to add a '--io' flag to the
attach-disk command if you want to try fixing this.

|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

More information about the libvir-list mailing list