diff options
| author | Corvin Köhne <corvin.koehne@gmail.com> | 2024-08-28 15:43:27 +0200 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2024-09-17 10:37:55 +0200 |
| commit | 971ca22f041b8a1e67314a777caf3ce6f2832034 (patch) | |
| tree | 59b666f12dbc13f1b44b8b2fd5f0f10dd67bc113 /linux-user/syscall.c | |
| parent | 9c86b9fb43cf724c4adcf234dc4c6d20d83ee370 (diff) | |
| download | focaccia-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