Windows 7 Pro fails to boot after install
On CentOS 8 with GNOME Boxes 3.28.5. After successful installation from a Windows 7 Pro ISO via the GNOME Boxes wizard with no customization, the following errors are printed to the console:
Boxes-Message: 18:22:53.778: machine.vala:215: display Microsoft Windows 7 Professional disconnected
(gnome-boxes:8353): Boxes-WARNING **: 18:22:54.077: vm-creator.vala:203: Failed to set post-install configuration on 'Microsoft Windows 7 Professional': Failed to set domain configuration: XML error: Invalid PCI address 0000:04:00.0. slot must be >= 1
(gnome-boxes:8353): Boxes-WARNING **: 18:22:54.146: vm-creator.vala:156: Failed to start domain 'win7-profess': Unable to start domain: Cannot access storage file '/home/cptaffe/.cache/gnome-boxes/win7-profess-unattended.img': No such file or directory
(gnome-boxes:8353): Boxes-WARNING **: 18:22:54.156: vm-creator.vala:191: Failed to create snapshot for domain 'Microsoft Windows 7 Professional': Unable to create snapshot of win7-profess
The VM now shows as off. On subsequent attempts to start the VM, it complains that the image file does not exist again--I assume because the PCI issue prevented it from writing. The error is a libvirt error, and does occur when PCI addresses are specified with a bus but without a slot. Opening with virsh edit
, it seems to have to do with the memballoon
device.
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</memballoon>