Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8508759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:14:58+00:00 2026-06-11T03:14:58+00:00

a KVM VMs presented to be a qemu-kvm process. In some cases,if we want

  • 0

a KVM VMs presented to be a qemu-kvm process.
In some cases,if we want to clone VMs,why not to use fork?
As I see,There are two adveantages at least:

  1. sub VM will share memory with copy-on-write,reduce the memory consumption.
  2. clone VM on the fly with the copy-on-write

Of course,there some problems to solve,Like

  1. design a disk copy-on-write to share the main VM image file.
  2. redirect sub VMs IO.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T03:15:00+00:00Added an answer on June 11, 2026 at 3:15 am

    If you are running your VM without kernel-level virtualization (in other words, you’re using QEMU emulation) then this would probably Just Work, apart from all the problems with the duplicated I/O you refer to. You could probably work around the disk problems by running your VMs in ‘-snapshot’ mode. Similarly, if your VMs are headless (no video emulation) then that would be OK. The only remaining problem would be the duplicated networking.

    If you’re expecting this to work with real KVM VMs then I think you’re going to be unlucky.

    Even if you could do it, I’m not sure you’d get the advantages you imagine. If you start two VMs independently (or any other application), then they will already have shared memory for any files they open (obviously they could only really share read-only files). That includes read-only disk mounts, the KVM/QEMU executables and libraries themselves, and whatever else they need. The only additional sharing you would get in your scheme is the data tables, and then only the ones in use before your fork, and that sharing would be relatively short-lived because any update to that data will cause a copy-on-write. (Actually, this might be a win in QEMU of a foreign architecture where there are large quantities of cached JIT-generated executable code, but I don’t think that’s what you were referring to.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use libvirt with virsh to manage my kvm/qemu vms. The problem
can somebody recommend me good affordable IP KVM? Like Adder. Or some articles evaluating
I try to install qemu, but I should intall the kvm first, and I
I want to get other process' argv like ps. I'm using Mac OS X
I've got an ARM virtual machine running on top of KVM/QEMU, with a file
I have installed KVM on my Ubuntu system. Using vmbuilder , I setup a
i compiled a static program using gcc on linux and run it under kvm.
I'm an Ubuntu Linux user and I use Win XP only for my work
I would like to write some code to monitor events for domains running under
I want to make a cloud computing testing environment on my in-house network. I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.