Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Sensitive instruction, privileged instruction, trap and emulate » ?

Aussi appelé : sensitive instruction · privileged instruction · trap and emulate

Definition 14.2 University Computer Science — Year 3 · Chapitre 14 — Virtual Machines and Containers

A sensitive instruction is one whose effect depends on, or changes, the state of the machine that the hypervisor must keep for itself: the privilege mode, the translation of addresses, the devices, the clocks. A privileged instruction traps when executed outside the most privileged mode. Trap and emulate runs the guest in a less privileged mode, directly on the processor, lets every privileged instruction trap to the hypervisor, and has the hypervisor perform its effect on the guest’s virtual state before resuming the guest after it.

One trap. The guest never knows that the console is a Python list.
One trap. The guest never knows that the console is a Python list.
Lire dans le chapitre →