summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorCorvin Köhne <corvin.koehne@gmail.com>2024-08-28 15:43:27 +0200
committerCédric Le Goater <clg@redhat.com>2024-09-17 10:37:55 +0200
commit971ca22f041b8a1e67314a777caf3ce6f2832034 (patch)
tree59b666f12dbc13f1b44b8b2fd5f0f10dd67bc113 /linux-user/syscall.c
parent9c86b9fb43cf724c4adcf234dc4c6d20d83ee370 (diff)
downloadfocaccia-qemu-971ca22f041b8a1e67314a777caf3ce6f2832034.tar.gz
focaccia-qemu-971ca22f041b8a1e67314a777caf3ce6f2832034.zip
vfio/igd: don't set stolen memory size to zero
The stolen memory is required for the GOP (EFI) driver and the Windows
driver. While the GOP driver seems to work with any stolen memory size,
the Windows driver will crash if the size doesn't match the size
allocated by the host BIOS. For that reason, it doesn't make sense to
overwrite the stolen memory size. It's true that this wastes some VM
memory. In the worst case, the stolen memory can take up more than a GB.
However, that's uncommon. Additionally, it's likely that a bunch of RAM
is assigned to VMs making use of GPU passthrough.

Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions