<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=QEMU_-_Documentation</id>
	<title>QEMU - Documentation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=QEMU_-_Documentation"/>
	<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=QEMU_-_Documentation&amp;action=history"/>
	<updated>2026-05-02T18:38:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://it-arts.net/index.php?title=QEMU_-_Documentation&amp;diff=810&amp;oldid=prev</id>
		<title>Admin: Text replacement - &quot;Category:Wiki&quot; to &quot;Category:Wiki

&#039;&#039;&#039;&#039;&#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&#039;&#039;&#039;&#039;&#039;
&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=QEMU_-_Documentation&amp;diff=810&amp;oldid=prev"/>
		<updated>2026-01-17T06:21:34Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;&amp;quot; to &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;  &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; &amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:21, 17 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Wiki]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Wiki]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&#039;&#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&#039;&#039;&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== QEMU Basics ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== QEMU Basics ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://it-arts.net/index.php?title=QEMU_-_Documentation&amp;diff=657&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Category:Wiki  == QEMU Basics ==  === Architecture Emulation === QEMU can emulate different hardware architectures. For example, if you want to run a PowerPC-based system on an x86 host, you can use QEMU to emulate PowerPC hardware.   &lt;nowiki&gt; qemu-system-ppc -cdrom install.iso -m 1024&lt;/nowiki&gt;  This command starts a virtual machine emulating a PowerPC architecture with 1024 MB of RAM and an installation ISO image mounted as a CD-ROM.  === Virtualization vs. Emulatio...&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=QEMU_-_Documentation&amp;diff=657&amp;oldid=prev"/>
		<updated>2025-12-16T16:28:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;  == QEMU Basics ==  === Architecture Emulation === QEMU can emulate different hardware architectures. For example, if you want to run a PowerPC-based system on an x86 host, you can use QEMU to emulate PowerPC hardware.   &amp;lt;nowiki&amp;gt; qemu-system-ppc -cdrom install.iso -m 1024&amp;lt;/nowiki&amp;gt;  This command starts a virtual machine emulating a PowerPC architecture with 1024 MB of RAM and an installation ISO image mounted as a CD-ROM.  === Virtualization vs. Emulatio...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Wiki]]&lt;br /&gt;
&lt;br /&gt;
== QEMU Basics ==&lt;br /&gt;
&lt;br /&gt;
=== Architecture Emulation ===&lt;br /&gt;
QEMU can emulate different hardware architectures. For example, if you want to run a PowerPC-based system on an x86 host, you can use QEMU to emulate PowerPC hardware.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-system-ppc -cdrom install.iso -m 1024&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command starts a virtual machine emulating a PowerPC architecture with 1024 MB of RAM and an installation ISO image mounted as a CD-ROM.&lt;br /&gt;
&lt;br /&gt;
=== Virtualization vs. Emulation ===&lt;br /&gt;
There are two main modes of operation in QEMU:&lt;br /&gt;
&lt;br /&gt;
1. **Emulation**: The full hardware emulation where QEMU emulates the CPU and other hardware devices. This is slower but more flexible.&lt;br /&gt;
2. **Virtualization**: When QEMU is combined with KVM (Kernel-based Virtual Machine), it can run virtual machines with near-native performance by taking advantage of hardware virtualization features.&lt;br /&gt;
&lt;br /&gt;
To enable KVM-based virtualization, you can use the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-system-x86_64 -enable-kvm -m 2048 -cpu host -hda /path/to/disk_image&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This enables KVM support, specifies 2 GB of memory, and runs a VM with a virtual disk image.&lt;br /&gt;
&lt;br /&gt;
== QEMU Command-Line Interface ==&lt;br /&gt;
&lt;br /&gt;
=== Common Command-Line Options ===&lt;br /&gt;
QEMU uses a command-line interface with various options for controlling the behavior of virtual machines. Below are some of the commonly used command-line options:&lt;br /&gt;
&lt;br /&gt;
==== System Emulator ====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-system-&amp;lt;arch&amp;gt; [options]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where `&amp;lt;arch&amp;gt;` can be replaced with the desired architecture (e.g., `x86_64`, `arm`, `mips`, etc.).&lt;br /&gt;
&lt;br /&gt;
Some useful options include:&lt;br /&gt;
* `-m` – Set memory size (e.g., `-m 2048` sets 2 GB of RAM).&lt;br /&gt;
* `-hda` – Specify the hard disk image (e.g., `-hda /path/to/image`).&lt;br /&gt;
* `-cdrom` – Mount a CD-ROM image (e.g., `-cdrom /path/to/iso`).&lt;br /&gt;
* `-net` – Set network configuration (e.g., `-net nic -net user` for user-mode networking).&lt;br /&gt;
* `-enable-kvm` – Enable hardware virtualization support (for KVM users).&lt;br /&gt;
&lt;br /&gt;
Example: Running a QEMU system emulation with a 64-bit x86 system and 2 GB of RAM:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-system-x86_64 -m 2048 -hda /path/to/disk.img -enable-kvm&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User-mode Networking ====&lt;br /&gt;
QEMU provides user-mode networking for virtual machines. This type of networking is simple and does not require administrative privileges.&lt;br /&gt;
&lt;br /&gt;
To enable user-mode networking, use the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-system-x86_64 -m 1024 -hda /path/to/disk.img -net nic -net user&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This creates a virtual network interface inside the virtual machine, which can access the host&amp;#039;s network.&lt;br /&gt;
&lt;br /&gt;
==== Bridge Networking ====&lt;br /&gt;
Bridge networking allows virtual machines to connect directly to the host&amp;#039;s network, making them behave like regular machines on the network.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-system-x86_64 -m 1024 -hda /path/to/disk.img -net nic -net bridge,br=br0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command creates a bridged network connection for the virtual machine, where `br0` is the name of the bridge on the host system.&lt;br /&gt;
&lt;br /&gt;
== Virtual Machine Disk Images ==&lt;br /&gt;
&lt;br /&gt;
=== Creating Virtual Disks ===&lt;br /&gt;
QEMU supports various disk image formats, such as QCOW2, RAW, VMDK, and VDI. The most common format is QCOW2 because it supports features like snapshots and compression.&lt;br /&gt;
&lt;br /&gt;
To create a new disk image, use the `qemu-img` tool:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-img create -f qcow2 /path/to/disk.img 10G&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This creates a 10 GB QCOW2 disk image. The `-f` option specifies the format (QCOW2 in this case).&lt;br /&gt;
&lt;br /&gt;
=== Converting Disk Images ===&lt;br /&gt;
QEMU also allows converting between different disk image formats. To convert a QCOW2 disk to a raw format, use the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-img convert -f qcow2 -O raw /path/to/disk.qcow2 /path/to/disk.raw&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The `-O` option specifies the output format (raw, in this case).&lt;br /&gt;
&lt;br /&gt;
=== Using Disk Images with QEMU ===&lt;br /&gt;
When starting a virtual machine, specify the disk image with the `-hda` option:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-system-x86_64 -m 2048 -hda /path/to/disk.img&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
QEMU will then boot the guest operating system from the specified disk image.&lt;br /&gt;
&lt;br /&gt;
== Snapshots in QEMU ==&lt;br /&gt;
&lt;br /&gt;
Snapshots allow you to save the state of a virtual machine at a specific point in time and revert to that state later.&lt;br /&gt;
&lt;br /&gt;
=== Creating a Snapshot ===&lt;br /&gt;
To create a snapshot of a running virtual machine, use the following QEMU command:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-img snapshot -c snapshot_name /path/to/disk.img&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This creates a snapshot of the virtual machine&amp;#039;s current state, which can be useful for testing or recovery.&lt;br /&gt;
&lt;br /&gt;
=== Reverting to a Snapshot ===&lt;br /&gt;
To revert a virtual machine to a specific snapshot, use:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-img snapshot -a snapshot_name /path/to/disk.img&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This restores the disk image to the state it was in when the snapshot was created.&lt;br /&gt;
&lt;br /&gt;
== Debugging and Tracing with QEMU ==&lt;br /&gt;
&lt;br /&gt;
QEMU offers powerful debugging and tracing capabilities to help you troubleshoot and optimize your virtual machines.&lt;br /&gt;
&lt;br /&gt;
=== Enabling QEMU Debugging ===&lt;br /&gt;
You can enable QEMU&amp;#039;s built-in debugging facilities by passing the `-d` flag followed by the desired debug options.&lt;br /&gt;
&lt;br /&gt;
Example for enabling CPU execution tracing:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-system-x86_64 -m 2048 -hda /path/to/disk.img -d cpu&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command enables detailed logging of the CPU execution, which can be helpful for performance tuning or debugging.&lt;br /&gt;
&lt;br /&gt;
=== QEMU Tracing with `-trace` ===&lt;br /&gt;
For more advanced tracing, QEMU provides the `-trace` option, which can capture trace events during virtual machine execution.&lt;br /&gt;
&lt;br /&gt;
Example of enabling tracing for memory accesses:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-system-x86_64 -m 2048 -hda /path/to/disk.img -trace memory&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This records all memory access events, which can be analyzed for performance profiling or debugging.&lt;br /&gt;
&lt;br /&gt;
== QEMU Monitor Interface ==&lt;br /&gt;
&lt;br /&gt;
The QEMU monitor provides an interactive interface for controlling virtual machines while they are running. It allows you to issue commands like pausing the VM, changing device configurations, and more.&lt;br /&gt;
&lt;br /&gt;
=== Accessing the Monitor ===&lt;br /&gt;
To access the monitor, use the `-monitor` option when starting QEMU:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
qemu-system-x86_64 -m 2048 -hda /path/to/disk.img -monitor telnet::4444,server,nowait&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This starts a QEMU monitor server that listens on port 4444, which can be accessed via a Telnet client.&lt;br /&gt;
&lt;br /&gt;
=== Common Monitor Commands ===&lt;br /&gt;
Some common commands available in the QEMU monitor include:&lt;br /&gt;
&lt;br /&gt;
* `info` – Show information about the current state of the VM, such as devices, CPUs, and memory.&lt;br /&gt;
* `quit` – Exit the virtual machine.&lt;br /&gt;
* `stop` – Pause the virtual machine.&lt;br /&gt;
* `cont` – Resume a paused virtual machine.&lt;br /&gt;
&lt;br /&gt;
== Useful Links ==&lt;br /&gt;
For further reading and resources, consult the following links:&lt;br /&gt;
&lt;br /&gt;
* [Official QEMU Documentation](https://www.qemu.org/documentation/)&lt;br /&gt;
* [QEMU Git Repository](https://gitlab.com/qemu-project/qemu)&lt;br /&gt;
* [QEMU Wiki on GitHub](https://github.com/qemu/qemu/wiki)&lt;br /&gt;
* [QEMU User Manual](https://qemu-project.gitlab.io/qemu/docs/master/)&lt;br /&gt;
* [QEMU Forums](https://lists.nongnu.org/mailman/listinfo/qemu-devel)&lt;br /&gt;
* [Linux Kernel Virtual Machine (KVM)](https://www.linux-kvm.org/)&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>