Vmware is a user installed software. So it should run in user space given by the underlying OS. Yet its runs OS-es which are fully operational and need to run in kernel mode. So where does it run?
|
feedback
|
migrated from stackoverflow.com Jun 20 '10 at 22:32
This question came from our site for professional and enthusiast programmers.
|
VMWare provides a whole bunch of projects and Vinko Vrsalovic already pointed out that VMWare ESX is indeed an own operating system. Generally, it is possible to run virtual machine monitors (VMM) such as VMWare Workstation, QEmu, or Virtualbox completely in user space. They just take a disk or CDROM image of the OS to run and start emulating a PC by interpreting all instructions and emulating device accesses. For performance reasons, virtualization software however tries to avoid emulation as often as possible, because it is much faster to execute an instruction stream on the real hardware instead of emulating it. Several approaches are used to speed up virtualization process:
| |||
feedback
|
|
Discounting the fact that software like VMWare ESX is an OS by itself (a modified Linux version), the on top of another OS version usually run in both kernel space and user space, it installs drivers (which run in kernel space) for all the privileged tasks (networking, monitoring and so forth.) | |||
|
feedback
|
|
It just depends on what type of VMWare program you run. Some run in the kernel, some run in user space. | |||
|
feedback
|