paint-brush
How To Run Your First Program in a Nano Virtual Machineby@mvuksano
539 reads
539 reads

How To Run Your First Program in a Nano Virtual Machine

by Marko Vuksanovic5mMay 30th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Marko Vuksanovic

Marko Vuksanovic

@mvuksano

PSS - Pragmatic problem solver @ Facebook

About @mvuksano
LEARN MORE ABOUT @MVUKSANO'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Marko Vuksanovic HackerNoon profile picture
Marko Vuksanovic@mvuksano
PSS - Pragmatic problem solver @ Facebook

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite