qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] vmfork in KVM
       [not found] <CAHqbYQt50ZNoQOaEapc18TLGT+zPXZ6q-gcdUQG+oTSuLJ149Q@mail.gmail.com>
@ 2015-05-08  9:55 ` Zhi Yong Wu
  2015-05-08 15:07   ` Eric Blake
  0 siblings, 1 reply; 2+ messages in thread
From: Zhi Yong Wu @ 2015-05-08  9:55 UTC (permalink / raw)
  To: KVM mailing list, QEMU Developers, libvir-list, Eric Blake
  Cc: loki2441, Zhi Yong Wu

HI, all guys

Why does vmfork not get supported by KVM project? What is the
drawback? It's very cool if it's used in some scenario, e.g. HPC. It
will be appreciated for your comments, thanks.

On Fri, Oct 24, 2014 at 2:25 AM, Hu Yaohui <loki2441@gmail.com> wrote:
> Hi all,
> There are some vmfork features provided by Xen based on shadow page
> table few years ago. I am wondering whether KVM provides the similar
> feature on the same host.
> By triggering vmfork, we can get a child VM which CPU and I/O status
> is the same as the parent, and the memory is CoW shared with parent
> VM.
>
> Thanks,
> Yaohui
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Regards,

Zhi Yong Wu

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

* Re: [Qemu-devel] vmfork in KVM
  2015-05-08  9:55 ` [Qemu-devel] vmfork in KVM Zhi Yong Wu
@ 2015-05-08 15:07   ` Eric Blake
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Blake @ 2015-05-08 15:07 UTC (permalink / raw)
  To: Zhi Yong Wu, KVM mailing list, QEMU Developers, libvir-list
  Cc: loki2441, Zhi Yong Wu

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

On 05/08/2015 03:55 AM, Zhi Yong Wu wrote:
> HI, all guys
> 
> Why does vmfork not get supported by KVM project? What is the
> drawback? It's very cool if it's used in some scenario, e.g. HPC. It
> will be appreciated for your comments, thanks.

In general, live cloning of a VM is a security nightmare - you have to
make sure that either both sides of the fork will never be exposed to
the same network, or that you figure out how to scrub everything such as
IP addresses and random number state so that the two VMs are independent
enough as to not be able to guess the behavior of one guest by observing
the other.  Offline cloning is a much more tractable problem.

-- 
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] 2+ messages in thread

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAHqbYQt50ZNoQOaEapc18TLGT+zPXZ6q-gcdUQG+oTSuLJ149Q@mail.gmail.com>
2015-05-08  9:55 ` [Qemu-devel] vmfork in KVM Zhi Yong Wu
2015-05-08 15:07   ` 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).