Skip to content

How to export and import a virtual machine #1400

Closed Answered by lj3954
tocha688 asked this question in Quickemu
Discussion options

You must be logged in to vote

The VM is comprised of your configuration file and the VM directory, likely under the same name. You can move those directly or add them to a tarball.
Shutting down the VM directly through the guest is preferred, but if that's impossible for whatever reason, you can use the QEMU monitor through quickemu --vm ${CONFIG} --monitor-cmd ${MONITOR_CMD}. Some commands that may be useful for this case are system_powerdown, system_reset, and quit. The full documentation can be found at https://www.qemu.org/docs/master/system/monitor.html.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tocha688
Comment options

Answer selected by tocha688
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1398 on July 31, 2024 21:54.