qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu Shared memory
@ 2014-06-30 16:34 Gary Jordan
  2014-06-30 17:13 ` [Qemu-devel] Fwd: " Gary Jordan
  2014-06-30 22:27 ` [Qemu-devel] " Eric Blake
  0 siblings, 2 replies; 3+ messages in thread
From: Gary Jordan @ 2014-06-30 16:34 UTC (permalink / raw)
  To: qemu-devel

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

Dear developers,

I want to design a shared memory for Vm in qemu. So, I also need to design
a mechanism to let two vms communicate. Is there already some module in
Qemu ?

I saw that qemu could support live migration. Can the vm also access the
previous machine after migration? Thanks.

Gary

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

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

* [Qemu-devel] Fwd: Qemu Shared memory
  2014-06-30 16:34 [Qemu-devel] Qemu Shared memory Gary Jordan
@ 2014-06-30 17:13 ` Gary Jordan
  2014-06-30 22:27 ` [Qemu-devel] " Eric Blake
  1 sibling, 0 replies; 3+ messages in thread
From: Gary Jordan @ 2014-06-30 17:13 UTC (permalink / raw)
  To: qemu-devel

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

Dear developers,

I want to design a shared memory for Vm in qemu. So, I also need to design
a mechanism to let two vms communicate. Is there already some module in
Qemu ?

I saw that qemu could support live migration. Can the vm also access the
previous machine after migration? Thanks.

-  Gary

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

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

* Re: [Qemu-devel] Qemu Shared memory
  2014-06-30 16:34 [Qemu-devel] Qemu Shared memory Gary Jordan
  2014-06-30 17:13 ` [Qemu-devel] Fwd: " Gary Jordan
@ 2014-06-30 22:27 ` Eric Blake
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Blake @ 2014-06-30 22:27 UTC (permalink / raw)
  To: Gary Jordan, qemu-devel

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

On 06/30/2014 10:34 AM, Gary Jordan wrote:
> Dear developers,
> 
> I want to design a shared memory for Vm in qemu. So, I also need to design
> a mechanism to let two vms communicate. Is there already some module in
> Qemu ?

It sounds like you are asking about ivshmem, which has already been
discussed a lot lately.  Please search the list archives.

> 
> I saw that qemu could support live migration. Can the vm also access the
> previous machine after migration? Thanks.

I'm not sure what you are asking here.  From the guest's standpoint,
live migration is transparent (the guest should not know that it was
migrated).  Migration is probably unrelated to intra-vm communication,
other than the fact that if you use shared memory to do intra-vm
communication, you have probably rendered your guest unmigrateable.  How
would you communicate between two bare-metal hosts?  The best design is
one in which your guests use the same (emulated) hardware for
intercommunication.  So, if two hosts can effectively communicate via a
network, then using a virtio-net network to communicate between two
guests is the ideal emulation, and also avoids anti-migration lock-in
that you might get if you instead opt for shared memory solutions such
as ivshmem.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

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

end of thread, other threads:[~2014-06-30 22:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-30 16:34 [Qemu-devel] Qemu Shared memory Gary Jordan
2014-06-30 17:13 ` [Qemu-devel] Fwd: " Gary Jordan
2014-06-30 22:27 ` [Qemu-devel] " Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).