- Open the VM Configuration
- Go to the
QEMU
tab and scroll to the bottom. - Click on the text box with the grey text
New...
- Paste these two lines into it:
-chardev socket,port=4321,host=127.0.0.1,server,nowait,id=qga0
-device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0