Commit c74b88df authored by Blue Swirl's avatar Blue Swirl
Browse files

vga-isa: make optional

Ignore failure with vga-isa device creation, but print a warning
Signed-off-by: default avatarBlue Swirl <>
parent 7435b791
......@@ -183,9 +183,15 @@ extern enum vga_retrace_method vga_retrace_method;
static inline int isa_vga_init(void)
ISADevice *dev;
return 0;
dev = isa_try_create("isa-vga");
if (!dev) {
fprintf(stderr, "Warning: isa-vga not available\n");
return 0;
return 1;
int pci_vga_init(PCIBus *bus);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment