Virtualization let guest run its code directive on hardware. (privilege instruction will have some issue)
Emulation let the emulator know what guest want to run and run by host.
Reference:
http://blog.tom.aratyn.name/post/34872068272/whats-the-difference-between-virtualization-and
Difference between vitualization and emulation
Related Posts:
User process & user thread & kernel thread & kernel process(?)最近想讀Linux中,user/kernel、process/thread之間的memory關係 目前看起來user space有process、thread之分 而kernel space應該就只有稱kernel thread而沒kernel process 那kernel thread的功用又是什麼呢? 找了一些資料後自己歸納以下三點功用: 1. 處理只能在kernel space做的事情 -- device driver 2. 處理只… Read More
紀錄一下/proc/pid/maps的使用在跑起來的一支程式,可用cat /proc/pid/maps 來看他的memory layout (似乎只看的到user space的) 以下是這段code看到的資訊: address - The starting and ending address of the region in the process's address space permissions - rwx就不用講了,p代表的是private(not shared),… Read More
Linux memory layout每一個user process看到的vitrual memory共有4G(32 bit machine) 其中通常切成3G:1G 0x00000000-0xbfffffff: user process(3GB) 0xc0000000-0xffffffff: kernel space (1GB) 而user process(3G)是每支user process不同的,甚至每支user thread也是不同 &… Read More
About kernel structureDOS was designed for running only one dsedicated process. => Is the perfect for some real-time, dedicated applications.UNIX, however, was designed for multi-user, multi-tasking applications.Kernel runs in… Read More
Memory zoneReference : Understaning the Linux Kernel Chap.8 Ideal computer architecture上,任意page frame都是可以被access的 但實際上的電腦架構在硬體上會有些限制住page frame被使用 Linux kernel must deal with two hardware constraints of the 80 × 86 architecture: • The D… Read More
0 意見:
張貼留言