How can I copy paste in text mode from host to guest virtual machine? I have read answers that recommend using spice, but that works for X sessions, not in text mode, or not from host's X session to guest text mode.
I don't need graphics mode in the guest since it is to test a server.
I am using qemu-system and libvirt.
Thanks in advance for any help.
virsh console
and use copy-paste. In addition to specifying a serial console in the XML file (or via virt-manager, if that is possible), you will also have to set a kernel parameter likeconsole=ttyS0
. – berndbausch Mar 23 '21 at 06:35