mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
vfio/display: add xres + yres properties
This allows configure the display resolution which the vgpu should use. The information will be passed to the guest using EDID, so the mdev driver must support the vfio edid region for this to work. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Liam Merwick <liam.merwick@oracle.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
This commit is contained in:
parent
08479114b0
commit
c62a0c7ce3
3 changed files with 24 additions and 2 deletions
|
@ -149,6 +149,8 @@ typedef struct VFIOPCIDevice {
|
|||
#define VFIO_FEATURE_ENABLE_IGD_OPREGION \
|
||||
(1 << VFIO_FEATURE_ENABLE_IGD_OPREGION_BIT)
|
||||
OnOffAuto display;
|
||||
uint32_t display_xres;
|
||||
uint32_t display_yres;
|
||||
int32_t bootindex;
|
||||
uint32_t igd_gms;
|
||||
OffAutoPCIBAR msix_relo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue