Upload
dennis-preston
View
214
Download
0
Embed Size (px)
Citation preview
OS as a extended virtual machineAccessing the hardware directly could be very complex
◦ kernels implement a set of hardware abstractions. ◦ They hide the complexity, ◦ They provide a clean and uniform interface to the underlying hardware.
Kernel Types
Kernels can be classified into three broad categories
◦ Monolithic kernels◦ Micro kernel◦ Hybrid Kernel (This is bit controversial. We will see why it is )
Microkernel It moves parts of the kernel away from the dangerous kernel space into userspace
limit the amount of damage a bug can cause.
the parts run in isolated processes (so-called ‘servers’) as a consequence, they do not influence each other’s functioning.
If a subsystem will crash (e.g. networking server) , all other subsystems will continue to function.
microkernel operating systems have a system in place which will automatically reload crashed servers.
Mach, Minix, QNX, L4
Less Is More (XEN) Xen attempts to do less than the previous version. The reason for this is that Xen runs at a
very high level of privilege above even the operating system. A bug in a program
may compromise the data that that program can access, a bug in a kernel might
compromise an entire system, but a bug in Xen can compromise every virtual
machine running on a machine. For this reason, it is important that the Xen code
be as secure and bug-free as possible.
Fairness (equality) Equality simply means that two things are judged to have the same value.
Judging two people as having the same value before the law (i.E. Equal protection) is an objectively good thing.
Judging that any two people have the exact same needs is objectively wrong though. Equality might be good in some things, but its opposite- individuality also has its own uses and
benefits.