SLIDE 14 Virtual Machine
Basic idea: Provide a bare-bones layer on top of the hardware and build different operating systems on top
- f that. Essentially implement the OS system call in-
terface for different OSes.
I/O instructions here Trap here Trap here System calls here Virtual 370s CMS CMS CMS VM/370 370 Bare hardware
- Windows emulation under Linux (VMware)
- Linux emulation under Windows (VMware)
- FreeBSD emulation under Linux (Xen -
paravirtualization, meaning that the underlying sys- tem is not completely emulated for performance reasons)
01 – 26 Introduction/1.5 Operating System Structure
Client/Server System
Simple model: Organize all services procedures as programs that are run in separate processes (i.e., out- side the OS kernel). Service calls are translated to procedure calls that need to go through the OS ker- nel.
Client process Client process Process server
server
server
server
User mode Kernel mode Client obtains service by sending messages to server processes Machine 1 Machine 2 Machine 3 Machine 4 Client Kernel File server Kernel Process server Kernel Terminal server Kernel Message from client to server Network
Question: What’s the big advantage here?
01 – 27 Introduction/1.5 Operating System Structure