3 ms·
I thought the point of virtualisation is to make it so you get an environment which behaves as close to a real machine as possible, so why are they still so eas
by userbinator 13y ago
I thought the point of virtualisation is to make it so you get an environment which behaves as close to a real machine as possible, so why are they still so easily detectable?
- chomp 13y ago>I thought the point of virtualisation is to make it so you get an environment which behaves as close to a real machine as possible, True. >why are they still so easily detectable? This doesn't negate the above. An OS interfaces with the underlying hardware, whether it's virtual or physical, so it always has some idea of what's going on, depending on what the virtualization layer tells the kernel. While it's possible to make a virtualization stack that makes it look like an OS is bare metal, many people don't care and already know that they are virtualized. It's possible to make the Linux kernel sidestep the tests for virtualization in this project, however.
- paulfurtado 13y agoMost hypervisors don't try to hide themselves from the VM. Many provide interfaces from the guest OS in the VM to the hypervisor for things like para-virtualizing device drivers for performance, ballooning (reclaiming unused RAM), or many other features.
- nenolod 13y agoThe point of the project in this case is to detect the hypervisor from within a child container (which has a virtualized /proc and /sys). Hosting providers do this with their Virtuozzo products so they can take advantage of memory deduplication. Such information can be helpful in diagnosing performance bottlenecks (think paravirtual steal-time).
- johntb86 13y agoHere's a paper on why it's easy to detect whether you're in a VM: http://www.cs.cmu.edu/~jfrankli/hotos07/vmm_detection_hotos07.pdf http://www.cs.cmu.edu/~jfrankli/hotos07/vmm_detection_hotos0...