We encountered this issue when booting blob with a 32-bit kernel. The implementation doesn't match v6 of the virtio-spec change, so fix this.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -388,9 +388,9 @@ struct virtio_gpu_resource_create_blob { · 387 unmodified lines | ||
| 388 | 388 | /* zero is invalid blob mem */ |
| 389 | 389 | __le32 blob_mem; |
| 390 | 390 | __le32 blob_flags; |
| 391 | + __le32 nr_entries; | |
| 391 | 392 | __le64 blob_id; |
| 392 | 393 | __le64 size; |
| 393 | − __le32 nr_entries; | |
| 394 | 394 | /* |
| 395 | 395 | * sizeof(nr_entries * virtio_gpu_mem_entry) bytes follow |
| 396 | 396 | */ |