摘自 Linux Virtualization with Lguest,Author:John Quigley
The lguest
Question: how does the kernel knowit’s an lguest guest?
1first code x86 kernel runs are in startup_32 in head.S
2 tests if paging is already enabled
3 if it is, we know we’re under some kind of hypervisor
4 proceede to try all registered paravirt_probe functions
5 end of in drivers/lguest/lguest.c
转载于:https://blog.51cto.com/yang19890314/1147388