qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

run a simple program in qemu


From: bilsch01
Subject: run a simple program in qemu
Date: Wed, 30 Oct 2019 09:51:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Please tell me the qemu command lines to run the following program named j0.bin: The program prints '1' using bios int 0x10 then enters an infinite loop. The program is a binary file created using nasm assembler.  The path/filename is /home/bilsch01/jinx/j0.bin. It is 512 bytes in size.

I believe I need to create a hard disk image beforehand, like this:

qemu-img create jinx.img 50M


Thank you.    Bill S.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]