Difference between revisions of "QEMU"

From ReactOS Wiki
Jump to: navigation, search
Line 9: Line 9:
 
Like this:
 
Like this:
 
<pre>$ qemu -serial stdio -cdrom roslive.iso -boot d</pre>
 
<pre>$ qemu -serial stdio -cdrom roslive.iso -boot d</pre>
 
If you are testing the setup CD, note that you can change the kernel arguments by editing the txtsetup.sif file (So things actually get written to the serial port).
 
  
 
Tested on Windows XP and Vista with qemu 0.9.0:
 
Tested on Windows XP and Vista with qemu 0.9.0:
 
<pre>C:\qemu>qemu -L . -hda C:\qemu\ReactOS.vmdk -cdrom C:\RosBE\Source\Reactos.iso -serial file:con</pre>
 
<pre>C:\qemu>qemu -L . -hda C:\qemu\ReactOS.vmdk -cdrom C:\RosBE\Source\Reactos.iso -serial file:con</pre>
Be sure to use the paths valid depending your configuration an program paths.
+
Be sure to use the paths valid depending on your configuration an program paths.
 +
 
 +
Valid arguments to -serial include filename and pipes so other valid configurations include for example:
 +
 
 +
<pre>
 +
-serial file:"C:\roslog.txt"
 +
-serial pipe:"\\pipe1\</pre>
  
 
== ReactOS preloaded with QEMU ==
 
== ReactOS preloaded with QEMU ==

Revision as of 03:05, 13 August 2007

Qemu is a free x86 Emulator/Virtual Machine for Linux and Windows. If you are looking for something faster, you can try the Qemu Accelerator Module (documentation here) or VMware.

Grabbing debug messages

By default, ReactOS debug messages are sent to the serial port (COM1). For grabbing that output, you need Qemu version 0.6.1 or later, in which you can specify the -serial option.

Like this:

$ qemu -serial stdio -cdrom roslive.iso -boot d

Tested on Windows XP and Vista with qemu 0.9.0:

C:\qemu>qemu -L . -hda C:\qemu\ReactOS.vmdk -cdrom C:\RosBE\Source\Reactos.iso -serial file:con

Be sure to use the paths valid depending on your configuration an program paths.

Valid arguments to -serial include filename and pipes so other valid configurations include for example:

-serial file:"C:\roslog.txt"
-serial pipe:"\\pipe1\

ReactOS preloaded with QEMU

A preloaded QEMU image of ReactOS can be found here.

See also

External sites