All of lore.kernel.org
 help / color / mirror / Atom feed
* Shared memory between host and guest
@ 2022-08-10 10:45 Lu, Jingdong
  2022-08-10 15:03 ` Alex Bennée
  0 siblings, 1 reply; 2+ messages in thread
From: Lu, Jingdong @ 2022-08-10 10:45 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

Hi experts,

I have some basic questions regarding shared memory between host and guest based on QEMU/KVM:

1, Can host and guest share the same block of physical memory? Ivshmem? Is it continuous physical memory?

2, More specifically, is there any way to support the following operations?

  1.  Guest starts.
  2.  Host side allocates one block of physical memory like 2MB.
  3.  Host side adds this memory to running guest  memory mapping.
  4.  Both of host and guest can access this shared memory.

Best Regards,
Jingdong

[-- Attachment #2: Type: text/html, Size: 4539 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-10 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-10 10:45 Shared memory between host and guest Lu, Jingdong
2022-08-10 15:03 ` Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.