Package: qemu-system-x86
Version: 1:2.8+dfsg-6
Severity: normal
File: /usr/bin/qemu-system-x86_64
Tags: patch

Hi,

updating from jessie to stretch causes a regression with guests that do
use virtio-net but don't support MSI-X [1], like openbsd 32 bit. There
are no rx interrupts triggered in the guest. A workaround is to disable
vhost.

By testing with vanilla qemu (not the debian packaged version), I have
found that cherry-picking this upstream commit on top of v2.8.1.1 fixes
the problem:

commit b4b9862b536f41fcdf6ad193a306a852c5b5b71a
Author: Michael S. Tsirkin <m...@redhat.com>
Date:   Fri Feb 17 04:52:16 2017 +0200

    virtio: Fix no interrupt when not creating msi controller

    For ARM virt machine, if we use virt-2.7 which will not create ITS node,
    the virtio-net can not recieve interrupts so it can't get ip address
    through dhcp.
    This fixes commit 83d768b(virtio: set ISR on dataplane notifications).

    Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
    Reviewed-by: Michael S. Tsirkin <m...@redhat.com>
    Signed-off-by: Michael S. Tsirkin <m...@redhat.com>

This commit is contained in 2.9.  It would be great if that fix could be
added to stretch's qemu, too, so that openbsd 32bit guests (and older
openbsd 64bit guesets) work out of the box again. Thanks in advance.

Cheers,
Stefan

[1] http://marc.info/?l=openbsd-misc&m=149951878107145&w=2


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages qemu-system-x86 depends on:
ii  ipxe-qemu           1.0.0+git-20161027.b991c67-1
ii  libaio1             0.3.110-3
ii  libasound2          1.1.3-5
ii  libbluetooth3       5.45-1
ii  libbrlapi0.6        5.4-7+b1
ii  libc6               2.24-12
ii  libcacard0          1:2.5.0-3
ii  libfdt1             1.4.2-1
ii  libgcc1             1:7.1.0-9
ii  libglib2.0-0        2.52.3-1
ii  libgnutls30         3.5.14-2
ii  libjpeg62-turbo     1:1.5.1-2
ii  libncursesw5        6.0+20170701-1
ii  libnettle6          3.3-1+b1
ii  libnuma1            2.0.11-2.1
ii  libpixman-1-0       0.34.0-1
ii  libpng16-16         1.6.30-2
ii  libpulse0           10.0-2
ii  libsasl2-2          2.1.27~101-g0780600+dfsg-3
ii  libsdl1.2debian     1.2.15+dfsg1-4
ii  libseccomp2         2.3.1-2.1
ii  libspice-server1    0.12.8-2.1
ii  libtinfo5           6.0+20170701-1
ii  libusb-1.0-0        2:1.0.21-2
ii  libusbredirparser1  0.7.1-1
ii  libvdeplug2         2.3.2+r586-2.1
ii  libx11-6            2:1.6.4-3
ii  libxen-4.8          4.8.1-1+deb9u1
ii  libxenstore3.0      4.8.1-1+deb9u1
ii  qemu-system-common  1:2.8+dfsg-6
ii  seabios             1.10.2-1
ii  zlib1g              1:1.2.8.dfsg-5

Versions of packages qemu-system-x86 recommends:
ii  qemu-utils  1:2.8+dfsg-6

Versions of packages qemu-system-x86 suggests:
ii  kmod              24-1
pn  ovmf              <none>
pn  qemu-block-extra  <none>
pn  samba             <none>
ii  sgabios           0.0~svn8-4
pn  vde2              <none>

-- no debconf information

Reply via email to