Question: how does the kernel know it’s an lguest guest?

  摘自 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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章