QEMU System Emulation User’s Guide¶
This manual is the overall guide for users using QEMU for full system emulation (as opposed to user-mode emulation). This includes working with hypervisors such as KVM, Xen, Hax or Hypervisor.Framework.
Contents:
- Quick Start
- Invocation
- Keys in the graphical frontends
- Keys in the character backend multiplexer
- QEMU Monitor
- Disk Images
- Network emulation
- USB emulation
- Inter-VM Shared Memory device
- Direct Linux Boot
- VNC security
- TLS setup for network services
- GDB usage
- Managed start up options
- QEMU System Emulator Targets
- Security
- Deprecated features
- System emulator command line arguments
-machine enforce-config-section=on|off
(since 3.1)-no-kvm
(since 1.3.0)-usbdevice
(since 2.10.0)-drive file=json:{...{'driver':'file'}}
(since 3.0)-smp
(invalid topologies) (since 3.1)-vnc acl
(since 4.0.0)QEMU_AUDIO_
environment variables and-audio-help
(since 4.0)- Creating sound card devices and vnc without
audiodev=
property (since 4.2) - Creating sound card devices using
-soundhw
(since 5.1) -mon ...,control=readline,pretty=on|off
(since 4.1)-realtime
(since 4.1)-numa
node (without memory specified) (since 4.1)-mem-path
fallback to RAM (since 4.1)- RISC-V
-bios
(since 5.1) -tb-size
option (since 5.0)-show-cursor
option (since 5.0)Configuring floppies with ``-global
-drive
with bogus interface type
- QEMU Machine Protocol (QMP) commands
change
(since 2.5.0)blockdev-open-tray
,blockdev-close-tray
argumentdevice
(since 2.8.0)eject
argumentdevice
(since 2.8.0)blockdev-change-medium
argumentdevice
(since 2.8.0)block_set_io_throttle
argumentdevice
(since 2.8.0)migrate_set_downtime
andmigrate_set_speed
(since 2.8.0)query-named-block-nodes
resultencryption_key_missing
(since 2.10.0)query-block
resultinserted.encryption_key_missing
(since 2.10.0)blockdev-add
empty string argumentbacking
(since 2.10.0)migrate-set-cache-size
andquery-migrate-cache-size
(since 2.11.0)block-commit
argumentsbase
andtop
(since 3.1.0)object-add
optionprops
(since 5.0)query-named-block-nodes
andquery-block
result dirty-bitmaps[i].status (since 4.0)query-block
result fielddirty-bitmaps
(Since 4.2)query-cpus
(since 2.12.0)query-cpus-fast
arch
output member (since 3.0.0)cpu-add
(since 4.0)query-events
(since 4.0)- chardev client socket with
wait
option (since 4.0)
- Human Monitor Protocol (HMP) commands
- System emulator CPUS
- System emulator devices
- System emulator machines
- Device options
- linux-user mode CPUs
- Related binaries
- Backwards compatibility
- System emulator command line arguments
- Recently removed features
- Supported build platforms
- License