Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1535953

Summary: Enabling iothreads after having virtio disks doesn't take effect
Product: [oVirt] ovirt-engine Reporter: Roy Golan <rgolan>
Component: Backend.CoreAssignee: Nobody <nobody>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bugs, michal.skrivanek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-19 11:28:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
virtio scsi controller on the Vm devices tab in the engine
none
dom xml after iothread enabled none

Description Roy Golan 2018-01-18 10:19:21 UTC
Created attachment 1382846 [details]
virtio scsi controller on the Vm devices tab in the engine

Description of problem:
Trying to apply iothreads to an existing vm with virtio disks will not take affect. The resulting domain xml will not include it in the controller defitions

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Create a vm with several virtio disks 
2. Run the vm, wait for devices to get addresses
3. shutdown the vm
4. edit vm, check iothreads under resource allocation
5  run the vm

Actual results:
grep iothread on dom xml:

<iothreads>1</iothreads>

Expected results:
dom should contain both the declaration, and the driver configuration:

<iothreads>1</iothreads>
...
<controller type='scsi' index='0' model='virtio-scsi'>
    <driver iothread='4'/>


Additional info:
See libvirt dom xml documentation: https://libvirt.org/formatdomain.html#elementsControllers

Comment 1 Roy Golan 2018-01-18 10:22:49 UTC
Created attachment 1382847 [details]
dom xml after iothread enabled

Comment 2 Michal Skrivanek 2018-01-19 11:28:46 UTC
yep, broken

*** This bug has been marked as a duplicate of bug 1535961 ***