File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -817,8 +817,11 @@ static void xen_pt_realize(PCIDevice *d, Error **errp)
817817 s -> io_listener = xen_pt_io_listener ;
818818
819819 /* Setup VGA bios for passthrough GFX */
820- if ((s -> real_device .domain == 0 ) && (s -> real_device .bus == 0 ) &&
821- (s -> real_device .dev == 2 ) && (s -> real_device .func == 0 )) {
820+ if (((s -> real_device .domain == 0 ) && (s -> real_device .bus == 0 ) &&
821+ (s -> real_device .dev == 2 ) && (s -> real_device .func == 0 )) ||
822+ ((s -> real_device .domain == 0 ) && (s -> real_device .bus == 7 ) &&
823+ (s -> real_device .dev == 0 ) && (s -> real_device .func == 0 ))
824+ ) {
822825 XEN_PT_LOG (d , "Assigning VGA (passthru=%d)...\n" ,
823826 is_igd_vga_passthrough (& s -> real_device ));
824827 if (!is_igd_vga_passthrough (& s -> real_device )) {
You can’t perform that action at this time.
0 commit comments