virtio-mem for GPU Passthrough?
Daniel Krajnik
krajnik.dan at gmail.com
Fri Sep 15 01:30:25 UTC 2023
I've tried running a VM with GPU Passthrough with memdev virtio-mem
hoping that it will prevent vfio from pinning system memory.
virt-install --name test --cpu
cell0.cpus=0,cell0.memory=4194304,cell1.cpus=1,cell1.memory=4194304
--memory maxMemory=65536,maxMemory.slots=8 --memdev
model=virtio-mem,target.node=0,target.block=2048,target.size=1000 --disk
size=400 --network network=ai
--location=/tmp/debian-12.1.0-amd64-netinst.iso --os-variant=debian11
--graphics none --extra-args "console=ttyS0
However, this didn't work. RAM spiked to 9GB. I've read that it's
possible though? Am I doing something wrong or are vfio-pci host devices
still not supported?
Best wishes,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xCFC60FFCAAEC3A7D.asc
Type: application/pgp-keys
Size: 1310 bytes
Desc: OpenPGP public key
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20230915/2ad87a73/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20230915/2ad87a73/attachment.sig>
More information about the virt-tools-list
mailing list