How To Run Your First Program in a Nano Virtual Machineby@mvuksano
451 reads

How To Run Your First Program in a Nano Virtual Machine

May 30th 2020
5 min
by @mvuksano 451 reads
tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

We will use KVM (https://www.linux-kvm.org/page/Main_Page) to run our code. This means that in order to execute this code you will need a Linux machine with KVM installed. Alternatively you can use Google Cloud Compute Engine with nested virtualization enabled. Using KVM_GET_API_VERSION to check if API version is exactly 12. We will allocate a chunk of memory and place our code into it. We add "0" (ASCII value of character zero) to al register so we can display correct character zero.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How To Run Your First Program in a Nano Virtual Machine
Marko Vuksanovic HackerNoon profile picture

@mvuksano

Marko Vuksanovic

About @mvuksano
LEARN MORE ABOUT @MVUKSANO'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa