blob: 926a5379a84e08187c5a4faa08a92b1d426c7696 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
virtio-serial blocks hostfwd ssh on windows 10 host
qemu-system-x86_64 -display none -hda archlinux.qcow2 -m 4G -netdev user,id=n1,hostfwd=tcp::2222-:22 -device virtio-net-pci,netdev=n1 --> WORKS - meaning I can ssh into the vm via port 2222
qemu-system-x86_64 -display none -hda archlinux.qcow2 -m 4G -netdev user,id=n1,hostfwd=tcp::2222-:22 -device virtio-net-pci,netdev=n1 -device virtio-serial -serial tcp:localhost:55298,server,nowait --> DOES NOT WORK - meaning I cannot ssh into the vm
Not only does the port 2222 work, but I am not able to perform any serial transfer on port 55298 as well.
Host: Windows 10
Guest: archlinux
QEMU version 5.2
|