Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
QEMU Tutorial
Rating: 4.6 out of 5(12 ratings)
99 students

QEMU Tutorial

Learn to use QEMU for system emulation
Created byQi Liang
Last updated 10/2025
English

What you'll learn

  • Install and start virtual machine with QEMU system emulator, and how to boot it.
  • Understand the QEMU image formats like raw, qcow2, and luks, and the features of backing file and snapshot.
  • Understand the block devices NBD and 9PFS.
  • Understand the network backends like user network, bridge, TAP, socket, stream, dgram, and passt.
  • Understand the seriral port and characater devices.

Course content

9 sections26 lectures4h 46m total length
  • Introduction5:11

    Introduction of QEMU, explaining the difference among system emulation, user emulation, and virtualization.

  • Installation15:00

    Demonstrate how to install QEMU binary on Linux and how to make QEMU build from source code.

Requirements

  • Linux commands.
  • An x86 machine with Linux installed.

Description

QEMU is the open-source tool for system emulation, user-space emulation, and virtualization. It contains a lot of features and options for emulation. This course will teache you how to use QEMU for system emulation. It includes the following topics.

1. Install QEMU with binary and make QEMU from source code;

2. Install and start virtual machine with QEMU system emulator;

3. Define machine type, virtual CPUs, and memory for virtual machine with QEMU system emulator;

4. Define NUMA nodes for the emulation of NUMA architecture machine;

5. Introduce QEMU image file formats like raw, qcow2, and luks, and demonstrate how to use them;

6. Demonstrate the qcow2 features of backing file, and snapshots;

7. Define the emulated block device with QEMU image file, NBD (Network Block Device), and 9PFS (Plan 9 Filesystem);

8. Introduce QEMU display options like VNC;

9. Introduce the virtual networks like user network, bridge + tap network, socket network, stream network, dgram network, and passt network;

10. Introduce QEMU boot options like -boot, -bios, -pflash, -kernel, -append, and -initrd;

11. Introduce the serial port option and the character devices like file, stdio, socket, pty, and hub.

This course provides many sample script files of the above QEMU features, and demonstrates them with script files, so that you can set up your own virtual machine referring to them.

Who this course is for:

  • Any person with the interests in QEMU technology.