I've been trying to figure out how VMware works (specifically when Linux is installed) and I have a couple of questions:
What happens when VMware encounters a command like push cs
? Specifically cs since its privilege level is 0 and VMware runs on 1 privilege level, so I'm assuming it somehow has to translate it into someother command.
Virtual memory : How does it work on a virtual machine? are there 2 levels of translation - process virtual memory -> virtual machine physical memory -> real machine physical memory ? how would VMware be notified when a page is being swapped off by the real machine?
A Virtual Machine (VM) is a compute resource that uses software instead of a physical computer to run programs and deploy apps. One or more virtual “guest” machines run on a physical “host” machine.
Examples of virtualization platforms adapted to such hardware include KVM, VMware Workstation, VMware Fusion, Hyper-V, Windows Virtual PC, Xen, Parallels Desktop for Mac, Oracle VM Server for SPARC, VirtualBox and Parallels Workstation.
A virtual machine is a computer file, typically called an image, that behaves like an actual computer. It can run in a window as a separate computing environment, often to run a different operating system—or even to function as the user's entire computer experience—as is common on many people's work computers.
Based on their functions there are two different types of virtual machines – System virtual machines and process virtual machines. These types of VMs provide full virtualization.
push cs
example. You mean instructions that silently behave differently on different privilege levels. The wikipedia article on x86 virtualization says they are binary translated, i.e. there is a recompilation phase before running the code on the host CPU.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With