Created attachment 597021[details]
vdsm.log
Description of problem:
Create VM with virtio disk and start the VM, stop the VM and change disk from virtio to IDE. the VM failed to start with libvirt error:
libvirtError: internal error unexpected address type for ide disk
Version-Release number of selected component (if applicable):
vdsm-4.9.6-17.0.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Create VM with virtio disk, start the VM
2.Stop the VM and change the disk to IDE
3.Start the VM.
Actual results:
VM failed to start with error:
libvirtError: internal error unexpected address type for ide disk
Expected results:
VM should started.
(In reply to comment #2)
> eli - i'm guessing this is a stable device address issue, changing to ide
> probably requires resetting it for the disk (and vice versa)
Yes, the address should be reset in this case
VM now starts as expected when switching a virtual disk from virtio to IDE.
Also works when switching the disk back from IDE to virtIO.
Tested in SI12 by following steps listed by Meni:
1.Create VM with virtio disk, start the VM
2.Stop the VM and change the disk to IDE
3.Start the VM.
Version-Release number of selected component (if applicable):
vdsm-4.9.6-23.0.el6_3.x86_64
Created attachment 597021 [details] vdsm.log Description of problem: Create VM with virtio disk and start the VM, stop the VM and change disk from virtio to IDE. the VM failed to start with libvirt error: libvirtError: internal error unexpected address type for ide disk Version-Release number of selected component (if applicable): vdsm-4.9.6-17.0.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.Create VM with virtio disk, start the VM 2.Stop the VM and change the disk to IDE 3.Start the VM. Actual results: VM failed to start with error: libvirtError: internal error unexpected address type for ide disk Expected results: VM should started.