Re: [PATCH] Add shared memory PCI device that shares a memory object betweens VMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cam Macdonell wrote:
I think there is value for static memory sharing. It can be used for fast, simple synchronization and communication between guests (and the host) that use need to share data that needs to be updated frequently (such as a simple cache or notification system). It may not be a common task, but I think static sharing has its place and that's what this device is for at this point.

It would be good to detail a use case for reference.


Then you need a side channel to communicate the information to the guest.

Couldn't one of the registers in BAR0 be used to store the actual (non-power-of-two) size?

The PCI config space (where the BARs reside) is a good place for it. Registers 0x40+ are device specific IIRC.

--
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux