Avi Kivity wrote:
Christian Bornträger wrote:
To summarize, Anthony thinks it should use virtio, while I believe
virtio is useful for exporting guest memory, not for importing host
memory.
I think the current virtio interface is not ideal for importing host
memory, but we can change that. If you look at the dcssblk driver for
s390, it allows a guest to map shared memory segments via a diagnose
(hypercall). This driver uses PCI regions to map memory.
My point is, that the method to map memory is completely irrelevant,
we just need something like mmap/shmget between the guest and the
host. We could define an interface in virtio, that can be used by any
transport. In case of pci this could be a simple pci map operation.
What do you think about something like: (CCed Rusty)
Exactly.
Agreed.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html