Comment 1 for bug 1721952

Revision history for this message
Stefan Hajnoczi (stefanha) wrote : Re: [Qemu-devel] [Bug 1721952] [NEW] Network issue above 2.5.1.1

On Sat, Oct 07, 2017 at 12:09:25PM -0000, Joan Moreau via Qemu-devel wrote:
> WHen running a QEMU guest (Windows7) on a linux x86-64 server, the network stops working after some time for any version above 2.5.1.1
>
> In 2.5.1.1, all is fine (no issue with network)
> Any version ablve (trying 2.10.1 now), the application in windows stops accessing the internet after a while
>
> THis is my starting line:
> /usr/bin/qemu-system-x86_64 -machine pc-i440fx-1.7,accel=kvm -usb -usbdevice tablet -usbdevice keyboard -enable-kvm -cpu core2duo -smp 2 -drive file=winpro.qcow,index=0,media=disk,format=qco
> w2 -m 4096 -vga vmware -vnc :3 -k en-us -device e1000,netdev=nic1 -netdev user,id=nic1,smb=/data/vps/files/,hostfwd=tcp::10053-:10053,hostfwd=tcp::3387-:3389 -rtc base=utc,clock=host -daemon
> ize
>
> Thisis my configure line:
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-kvm --disable-gtk --disable-xen --disable-user --enable-vnc-sasl --disable-libusb --disable-debug-info --disable-spi
> ce --enable-lzo --enable-pie --disable-werror --enable-linux-aio --enable-vhost-net --disable-tcmalloc --enable-vde --enable-nettle --disable-smartcard --enable-curl

Does tcpdump on the host show outgoing connections to an external IP
address (not a domain name)? For example, try opening to
http://172.99.69.163/ from inside the guest and check that there is a
TCP SYN packet sent from the host to 172.99.69.163.

Do the hostfwd ports still work while internet access is down?

Stefan