kislay slide
TRANSCRIPT
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 1/13
Cooperative LinuxCooperative Linux
³A treaty between two³A treaty between twoOS giants´OS giants´
By: Kislay
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 2/13
y Cooperative Linux, a port of the Linux kernel thatallows it to run as an unprivileged lightweight virtual machine in kernel mode, on top of anotherOS kernel.
y Uses the concept of Cooperative Virtual Machine(CVM)
y Contains special Windows drivers, which allow itto run under Windows XP as a guest operatingsystem with all privileges.
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 3/13
y Problem:Requirement of GCC for softwaredevelopment
y Solution:Install Linux OS on system
y New Problem:
Booting time extended, Unfamiliar withnew OSy Solution:
Cooperative Linux
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 4/13
y Dan Aloni originally started the development of Cooperative Linux based on similar work with User-mode Linux.
y He open sourced the software under the GNU GeneralPublic License.y Other developers have since contributed various
patches and additions to the software.
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 5/13
y Dev ice Dr i very T he device driver port of Cooperative Linux
is used for accessing kernel mode .y Interfaces with OS dependent primitives
Like page allocations, debug printing, andinterfacing with user space.
y Driver loads a kernel image from a vmlinuxfile.
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 6/13
y Cont ex t Switchi ngy T he Cooperative Linux VM uses only one
host OS process in order to provide a
context for itself and its processes, viz.colinux-daemon .y CoLinux is able to completely control the
CPU and MMU without affecting anything
else in the host OS kernel.y Uses an intermediate address space duringswitching
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 7/13
A ddress space transition during an OS cooperativekernel switch, using an intermapped page
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 8/13
y Int errup t Ha nd ling and Fo r wa rd ingCooperative Linux only forwards the invocations of interrupts to the host OS in order to keep functioning andsupport the coLinux-daemon process itself, regardless tothe fact that external hardware interrupts are meaninglessto the Cooperative Linux virtual machine.
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 9/13
y Version: 0.6.4y Released on date: J uly 02, 2006y Supported architectures:
y
Intel-compatible 386 and abovey Supported operating systems:y Windows 2000y Windows XPy Linux 2.6.x
y Supported guest Linux kernel versions:y 2.6.11
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 10/13
y Suspensiony User Mode Linux inside Cooperative Linuxy Live Cooperative Distributionsy Integration with ReactOS.y Virtual frame buffer support.y Support for more host operating systems such as
FreeBSD.
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 11/13
y Relatively effortless migration path from Windows.
y A dding Windows machines to Linux clusters.y Using Linux as a Windows firewall on the same
machine.y Linux kernel development, debugging, research
and study on another operating systems.
8/7/2019 Kislay Slide
http://slidepdf.com/reader/full/kislay-slide 12/13
y
W eb refere n ces:y www. linux .comy www.h o wst uff work s.c omy www.c olinux .orgy www.d ilne tpc.c omy www.s our ceforge .ne t/p roje cts/c olinuxy www.h esp eria . gs f c.na sa . gov /c olinuxy www. u ser-mo d e-linux .s f .ne t