mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[kvmfr] don't recreate the pages for each map
This commit is contained in:
@@ -21,9 +21,7 @@ int main()
|
||||
}
|
||||
|
||||
unsigned long size = ioctl(fd, KVMFR_DMABUF_GETSIZE , 0);
|
||||
unsigned long alignment = ioctl(fd, KVMFR_DMABUF_GETALIGN, 0);
|
||||
|
||||
printf("Size: %lu MiB, Alignment: %lu MiB\n", size / 1024 / 1024, alignment / 1024 / 1024);
|
||||
printf("Size: %lu MiB\n", size / 1024 / 1024);
|
||||
|
||||
struct kvmfr_dmabuf_create create =
|
||||
{
|
||||
|
Reference in New Issue
Block a user