SamyPesse / How-to-Make-a-Computer-Operating-System

How to Make a Computer Operating System in C++
https://samypesse.gitbook.io/how-to-create-an-operating-system
Apache License 2.0
21.15k stars 3.4k forks source link

Why is there so much virtual environments? #168

Open Lr-2002 opened 3 years ago

Lr-2002 commented 3 years ago

I'm new here and excited to see your wonderful introduce of operating system. But I've found that there have been much virtual :

  1. vagrant with virtual box(32-bit) .
  2. qemu which is 32-bit

Is it necessary to do so? If the 1 step is to build a 32-bit env, why don't we just do it use qemu ?

Thanks in advance.

ajh123 commented 1 year ago

You could use QEMU to build an operating system in. But vagrant allows for an easy configuration for creating the machine (like a Dockerfile). QEMU is designed to load a disk image. If QEMU was used for developing to, making sure everyone has the same working development disk would be hard, and it would be harder to make changes to it. With vagrant any changes can be made in a simple Vagrantfile (which then rebuilds the VM).

duguxiao commented 1 year ago

您好,感谢您的来信。我将尽快给予您答复,祝好!

LTT 河高