System Emulation¶
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
- QEMU virtio-net standby (net_failover)
- USB emulation
- NVMe Emulation
- Inter-VM Shared Memory device
- Direct Linux Boot
- Generic Loader
- Guest Loader
- VNC security
- TLS setup for network services
- GDB usage
- Managed start up options
- Virtual CPU hotplug
- virtio pmem
- Persistent reservation managers
- QEMU System Emulator Targets
- Security
- Multi-process QEMU
- Deprecated features
- System emulator command line arguments
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) -chardev
backend aliasestty
andparport
(since 6.0)- RISC-V
-bios
(since 5.1) - Short-form boolean options (since 6.0)
delay
option for socket character devices (since 6.0)--enable-fips
(since 6.0)-writeconfig
(since 6.0)- Userspace local APIC with KVM (x86, since 6.0)
- hexadecimal sizes with scaling multipliers (since 6.0)
-spice password=string
(since 6.0)opened
property ofrng-*
objects (since 6.0.0)loaded
property ofsecret
andsecret_keyring
objects (since 6.0.0)
- QEMU Machine Protocol (QMP) commands
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)blockdev-add
empty string argumentbacking
(since 2.10.0)block-commit
argumentsbase
andtop
(since 3.1.0)nbd-server-add
andnbd-server-remove
(since 5.2)
- System accelerators
- System emulator CPUS
- System emulator machines
- Device options
- linux-user mode CPUs
- Related binaries
- Backwards compatibility
- Guest Emulator ISAs
- System emulator command line arguments
- Removed features
- System emulator command line arguments
-net ...,name=
name (removed in 5.1)-no-kvm
(removed in 5.2)-realtime
(removed in 6.0)-show-cursor
option (removed in 6.0)-tb-size
option (removed in 6.0)-usbdevice audio
(removed in 6.0)-vnc acl
(removed in 6.0)-mon ...,control=readline,pretty=on|off
(removed in 6.0)-drive file=json:{...{'driver':'file'}}
(removed 6.0)- Floppy controllers’ drive properties (removed in 6.0)
-drive
with bogus interface type (removed in 6.0)-usbdevice ccid
(removed in 6.0)
- QEMU Machine Protocol (QMP) commands
block-dirty-bitmap-add
“autoload” parameter (removed in 4.2.0)cpu-add
(removed in 5.2)change
(removed in 6.0)query-events
(removed in 6.0)migrate_set_cache_size
andquery-migrate-cache-size
(removed in 6.0)migrate_set_downtime
andmigrate_set_speed
(removed in 6.0)query-cpus
(removed in 6.0)query-cpus-fast
arch
output member (removed in 6.0)- chardev client socket with
wait
option (removed in 6.0) query-named-block-nodes
resultencryption_key_missing
(removed in 6.0)query-block
resultinserted.encryption_key_missing
(removed in 6.0)query-named-block-nodes
andquery-block
result dirty-bitmaps[i].status (removed in 6.0)query-block
result fielddirty-bitmaps
(removed in 6.0)object-add
optionprops
(removed in 6.0)
- Human Monitor Protocol (HMP) commands
- The
hub_id
parameter ofhostfwd_add
/hostfwd_remove
(removed in 5.0) cpu-add
(removed in 5.2)change vnc TARGET
(removed in 6.0)acl_show
,acl_reset
,acl_policy
,acl_add
,acl_remove
(removed in 6.0)migrate-set-cache-size
andinfo migrate-cache-size
(removed in 6.0)migrate_set_downtime
andmigrate_set_speed
(removed in 6.0)
- The
- Guest Emulator ISAs
- System emulator CPUS
- System emulator machines
- linux-user mode CPUs
- System emulator devices
- Related binaries
- Command line options
- Block devices
- System emulator command line arguments
- Supported build platforms
- License