GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,115200" GRUB_TERMINAL="console serial" GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
rm -f /mytempfile
Note
If you do not have root access, you the following command to create a copy of the disk image: virsh vol-download --pool default disk_name.qcow2 my_copy.qcow2.Note
The image size can be reduced substantially because of all the adjacent zeroes: qemu-img convert -O qcow2 my_copy.qcow2 my_reduced_copy.qcow2.