mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-09 16:18:20 +00:00
[module] enable write-through mapping for the device
This is the magic I have been looking for the last few weeks, with this change VM->VM is now useful at 60+fps :D
This commit is contained in:
parent
d0a7b8df9c
commit
116926f7c0
@ -46,7 +46,10 @@ static int kvmfr_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
|
||||
if (!info->mem[0].addr)
|
||||
goto out_release;
|
||||
|
||||
info->mem[0].internal_addr = pci_iomap(dev, 2, 0);
|
||||
info->mem[0].internal_addr = ioremap_wt(
|
||||
pci_resource_start(dev, 2),
|
||||
pci_resource_len (dev, 2)
|
||||
);
|
||||
if (!info->mem[0].internal_addr)
|
||||
goto out_release;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user