Comment 3 for bug 1775566

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I thought I might have oversimplified PCIe setup for q35 too much when I tried to compare to i440fx (where this works AFAICS).

But adding libvirts default devices for this case did not change anything.
For documentation purposes still here the difference how to add those as attachment.

The easiest way thou is to let libvirt do all that.
To do so copy the uvtool template
 $ cp /usr/share/uvtool/libvirt/template.xml q35-template.xml
 # Then edit the type line to be
 <type arch='x86_64' machine='pc-q35-bionic'>hvm</type>

When spawning with uvtool and this template you'll get the full proper defaults.
 $ uvt-kvm create --template /home/paelzer/q35-template.xml --password ubuntu bionic-q35-normal-extended arch=amd64 release=bionic label=daily

For this bug here it makes no difference, with the full set of pci roots and stuff available the event is still missed.
(the extended setup is required for e..g hotplugging)