[libvirt-users] virt-install and IOThreads

Hello, is there any way of specifying iothreads via virt-install command? I've tried appending ",iothread='1'" but that didn't work. Thanks in advance! -- -Igor Gnatenko

On 01/17/2019 05:58 AM, Igor Gnatenko wrote:
Hello,
is there any way of specifying iothreads via virt-install command?
I've tried appending ",iothread='1'" but that didn't work.
Thanks in advance!
No unfortunately it's not wired up in virt-install. It's fairly easy to patch+extend the command line if you're interested, this is a bit out of date but still pretty close https://blog.wikichoon.com/2014/03/extending-virt-xml-command-line.html - Cole

On Thu, Jan 17, 2019 at 4:35 PM Cole Robinson <crobinso@redhat.com> wrote:
On 01/17/2019 05:58 AM, Igor Gnatenko wrote:
Hello,
is there any way of specifying iothreads via virt-install command?
I've tried appending ",iothread='1'" but that didn't work.
Thanks in advance!
No unfortunately it's not wired up in virt-install. It's fairly easy to patch+extend the command line if you're interested, this is a bit out of date but still pretty close
https://blog.wikichoon.com/2014/03/extending-virt-xml-command-line.html
Thanks for reference! I'm still not sure how the commandline would look like, what do you think about something like… --iothreads=X --disk=…,iothread=1 --disk=…,iothread=X ? -- -Igor Gnatenko

On Thu, Jan 17, 2019 at 08:46:23PM +0100, Igor Gnatenko wrote:
On Thu, Jan 17, 2019 at 4:35 PM Cole Robinson <crobinso@redhat.com> wrote:
On 01/17/2019 05:58 AM, Igor Gnatenko wrote:
Hello,
is there any way of specifying iothreads via virt-install command?
I've tried appending ",iothread='1'" but that didn't work.
Thanks in advance!
No unfortunately it's not wired up in virt-install. It's fairly easy to patch+extend the command line if you're interested, this is a bit out of date but still pretty close
https://blog.wikichoon.com/2014/03/extending-virt-xml-command-line.html
Thanks for reference!
I'm still not sure how the commandline would look like, what do you think about something like… --iothreads=X --disk=…,iothread=1 --disk=…,iothread=X
That would seems reasonable to me. Regards, Daniel -- |: 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 :|
participants (3)
-
Cole Robinson
-
Daniel P. Berrangé
-
Igor Gnatenko