Arn wrote:
How can one share memory (a few variables not necessarily a page)
between host/hypervisor and guest VM ?
If you use the -mem-path qemu option, all guest memory will be in a file on
tmpfs. You can mmap that file and access all guest memory. Of course, this
is hitting the problem with a fairly bit hammer; more refined approaches are
possible.
Could you outline the other approaches ?
Have qemu expose the shared memory as a pci device, and write a guest
driver to exploit it. This is what the vga emulation does.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html