Bug 2317260 - i440FX chipset: Unable to complete install: 'XML error: The PCI controller with index='0' must be model='pci-root' for this machine type, but model='pcie-root' was found instead'
Summary: i440FX chipset: Unable to complete install: 'XML error: The PCI controller wi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 41
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-08 16:11 UTC by Frantisek Hanzlik
Modified: 2024-12-15 02:27 UTC (History)
4 users (show)

Fixed In Version: virt-manager-5.0.0-1.fc41
Clone Of:
Environment:
Last Closed: 2024-12-15 02:27:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frantisek Hanzlik 2024-10-08 16:11:28 UTC
Creating new VM in Virtual Manager, when selecting "i440FX" chipset for it, it is impossible to save VM configuration and begin its installation, because error "Unable to complete install: 'XML error: The PCI controller with index='0' must be model='pci-root' for this machine type, but model='pcie-root' was found instead'

and it is not possible to easily remove this error.


Reproducible: Always

Steps to Reproduce:
1. Create new VM in Virtual Manager
2. Check "Customize configuration before install" 
3. select "Chipset: i440FX" in Hypervisor Details menu, click "Apply"
4. Click "Begin installation" cause error window appears, with message:

Unable to complete install: 'XML error: The PCI controller with index='0' must be model='pci-root' for this machine type, but model='pcie-root' was found instead'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/createvm.py", line 2008, in _do_async_install
    installer.start_install(guest, meter=meter)
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 695, in start_install
    domain = self._create_guest(
             ^^^^^^^^^^^^^^^^^^^
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 637, in _create_guest
    domain = self.conn.createXML(initial_xml or final_xml, 0)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/libvirt.py", line 4529, in createXML
    raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: XML error: The PCI controller with index='0' must be model='pci-root' for this machine type, but model='pcie-root' was found instead


Actual Results:  
IMO It is not possible to resolve this problem from virtual-manager menu without editing XML configuration file.
VM thus is not possible to install.

Expected Results:  
PCI controller should be configured automatically when choosing i440FX chipset, or should be possible manually remove PCIe controller and add PCI controller instead.

Comment 1 Fedora Update System 2024-12-06 19:02:09 UTC
FEDORA-2024-eb0b085f84 (virt-manager-5.0.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-eb0b085f84

Comment 2 Fedora Update System 2024-12-07 07:25:33 UTC
FEDORA-2024-eb0b085f84 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-eb0b085f84`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-eb0b085f84

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2024-12-15 02:27:40 UTC
FEDORA-2024-eb0b085f84 (virt-manager-5.0.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.