Slashdot Mirror


Linux Kernel to Include KVM Virtualization

It looks like the newest version of the Linux kernel (2.6.20) will include KVM, the relatively new virtualization environment. From the article: "Thanks to its approach KVM already runs in the current kernel, without any extensive bouts of patching and compiling being required, after the fairly simple compilation of a module. Virtual machines that run unmodified operating systems are meant to appear in the host as a simple process and work independently of the host kernel. In a fashion comparable to that of Xen a modified QEMU is used for the supportive emulation of typical PC components of the virtual machines."

2 of 194 comments (clear)

  1. Re:how many KVMs by should_be_linear · · Score: 3, Insightful

    All three-letter acronyms are recycled many times already but it will not stop future projects/organizations to recycle them once more.

    --
    839*929
  2. Re:I hope Windows can't access the hardware. by LarsG · · Score: 4, Insightful

    How in the WORLD does access to the video, sound, or any other daughterboard grant access for a virus?

    If you don't know, please leave your geek-card at the door on your way out.

    Short answer - DMA.

    Long answer - memory protection between processes (and in this case guest OSes) is done by the MMU, making sure that process A can't read/write to memory owned by process B (or in this case guest OS and host OS). Unfortunately, the memory space seen by devices on extention buses like PCI is not mapped by the MMU. If a process has direct access to a device that supports DMA, it can tell the device to read or write memory that belongs to other processes (f.ex. order the sound card to read the sound buffer from kernel space. The process can then read the sound buffer to get access to kernel memory).

    To safely allow a process (or guest OS) direct access to hardware devices, the hardware architecture and OS needs to be designed so that a DMA from the hardware device can only access memory owned by the process that ordered the DMA.

    --
    If J.K.R wrote Windows: Puteulanus fenestra mortalis!