mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
xen, gfx passthrough: basic graphics passthrough support
basic gfx passthrough support: - add a vga type for gfx passthrough - register/unregister legacy VGA I/O ports and MMIOs for passthrough GFX Signed-off-by: Tiejun Chen <tiejun.chen@intel.com> Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
This commit is contained in:
parent
bcd7461e7e
commit
798141799c
10 changed files with 165 additions and 1 deletions
|
@ -376,6 +376,11 @@ int xen_host_pci_device_get(XenHostPCIDevice *d, uint16_t domain,
|
|||
goto error;
|
||||
}
|
||||
d->irq = v;
|
||||
rc = xen_host_pci_get_hex_value(d, "class", &v);
|
||||
if (rc) {
|
||||
goto error;
|
||||
}
|
||||
d->class_code = v;
|
||||
d->is_virtfn = xen_host_pci_dev_is_virtfn(d);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue