NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Network and port redirection with QEMU not working with package compiled on 10.0_RC1



Hi,

With all the recent revbumps in pkgsrc, emulators/qemu had to be
recompiled quite a few times in the last weeks.  In the meantime,
I have upgraded my computer to 10.0_RC1.

I'm running my VMs with port redirection to be able to connect to
them with SSH this way:

qemu-system-x86_64 -accel nvmm -m 1024 -hda vm.qcow2 -nic user,hostfwd=tcp::2222-:22

This works fine with qemu-8.1.2nb1 (which I have compiled on
NetBSD 9.3):

% telnet localhost 2222
Trying ::1...
telnet: Connect to address ::1: : Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u1

But it does not work with packages I have compiled since I
upgraded to NetBSD 10.0_RC1 (qemu-8.1.2nb2, qemu-8.1.2nb3 and
qemu-8.1.2nb4):

% telnet localhost 2222
Trying ::1...
telnet: Connect to address ::1: : Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

Moreover, the VM has no network access.

Downgrading to qemu-8.1.2nb1 compiled on NetBSD 9.3 makes port
redirection and the network work again on NetBSD 10.0_RC1.

Does anybody else have the same problem?


Home | Main Index | Thread Index | Old Index