On 9/27/18 4:21 AM, Laszlo Ersek wrote:
On 09/27/18 07:48, Gerd Hoffmann wrote:
Hi,
Maybe using memdev file backend with manually created sparse file
might actually work (with preallocate disabled)
Thanks, this sounds like a good idea.
I see shm_open() is used heavily in ivshmem-related tests. I haven't
looked much at shm_open() before. (I've always known it existed in
POSIX, but I've never cared.)
How about improving the lovely pci-testdev we have a bit? Then we can
have huge pci bars without needing backing storage for them ...
Earlier I checked
qemu-system-x86_64 -device pci-testdev,\?
Side note: While that works, we are trying to shift the documentation
over to recommending -device pci-testdev,help instead, as then you don't
need to remember to shell-quote the ? to prevent unintended globbing.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org