On 01/02/19 16:05, Philippe Mathieu-Daudé wrote: > This lacks a DISPLAY dependency? > > $ i386-softmmu/qemu-system-i386 -M q35 > qemu-system-i386: Unknown device 'VGA' for bus 'PCIE' > Aborted (core dumped)
If you build --without-default-devices, you pretty much have to do one of two things: 1) enable some devices yourself; 2) always run QEMU with -nodefaults. Paolo > PCIDevice *pci_vga_init(PCIBus *bus) > { > switch (vga_interface_type) { > case VGA_CIRRUS: > return pci_create_simple(bus, -1, "cirrus-vga"); > case VGA_QXL: > return pci_create_simple(bus, -1, "qxl-vga"); > case VGA_STD: > return pci_create_simple(bus, -1, "VGA"); > case VGA_VMWARE: > return pci_create_simple(bus, -1, "vmware-svga"); > case VGA_VIRTIO: > return pci_create_simple(bus, -1, "virtio-vga"); > case VGA_NONE: > default: /* Other non-PCI types. Checking for unsupported types is > already > done in vl.c. */ > return NULL; > } > } > > If so, how to express "at least one of *TYPE"? >