All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Roth <mdroth@linux.vnet.ibm.com>
To: Andrey Korolyov <andrey@xdel.ru>, "Michael S. Tsirkin" <mst@redhat.com>
Cc: zhang.zhanghailiang@huawei.com,
	Stefan Hajnoczi <stefanha@gmail.com>,
	knut.omang@oracle.com, qemu-stable@nongnu.org,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Michael Tokarev <mjt@tls.msk.ru>,
	Gerd Hoffmann <kraxel@redhat.com>,
	"J. Kiszka" <jan.kiszka@siemens.com>,
	chen.fan.fnst@cn.fujitsu.com, Paolo Bonzini <pbonzini@redhat.com>,
	sebastian.tanase@openwide.fr, ehabkost@redhat.com
Subject: Re: [Qemu-devel] [Qemu-stable] Patch Round-up for stable 2.1.1, freeze on 2014-09-03
Date: Tue, 02 Sep 2014 14:53:38 -0500	[thread overview]
Message-ID: <20140902195338.32021.27208@loki> (raw)
In-Reply-To: <CABYiri-SXNaGYgr+7ZeSRGRxihH=WupGLveyiQs-hcMsX7UO8Q@mail.gmail.com>

Quoting Andrey Korolyov (2014-09-02 12:33:13)
> On Tue, Sep 2, 2014 at 7:27 PM, Michael S. Tsirkin <mst@redhat.com> wrote:
> > On Tue, Sep 02, 2014 at 06:25:46PM +0300, Michael S. Tsirkin wrote:
> >> On Tue, Sep 02, 2014 at 10:20:50AM -0500, Michael Roth wrote:
> >> > Quoting Michael Roth (2014-08-27 12:35:57)
> >> > > Hi everyone,
> >> > >
> >> > > The following new patches are queued for QEMU stable v2.1.1:
> >> > >
> >> > >   https://github.com/mdroth/qemu/commits/stable-2.1-staging
> >> >
> >> > As of now the following additional patches have been applied to
> >> > the 2.1.1 staging tree (see stable commit for upstream commit ref):
> >> >
> >> >   a7f9ea2 qxl-render: add more sanity checks
> >> >   1511595 target-arm: Correct Cortex-A57 ISAR5 and AA64ISAR0 ID register values
> >> >   44a1530 target-arm: Fix regression that disabled VFP for ARMv5 CPUs
> >> >   95dcaa4 x86: Clear MTRRs on vCPU reset
> >> >   7fd25d3 x86: kvm: Add MTRR support for kvm_get|put_msrs()
> >> >   0f9c63b x86: Use common variable range MTRR counts
> >> >   0c69595 target-i386: Don't forbid NX bit on PAE PDEs and PTEs
> >> >   89713cb vl: process -object after other backend options
> >> >   93dcbd3 spapr_pci: map the MSI window in each PHB
> >> >
> >> > The following patches have been Cc'd to qemu-stable and are still
> >> > pending upstream commit/merge:
> >> >
> >> >   [PATCH] virtio-net: don't run bh on vm stopped (Michael S. Tsirkin)
> >> >     * pull just sent by Michael Tsirkin
> >> >   [PATCH] net: prevent sending packets while guest is stopped (Stefan Hajnoczi)
> >> >   [PATCH v2 2/4] pci: Avoid losing config updates to MSI/MSIX cap regs (Knut Omang)
> >>
> >>       this is also in that pull
> >>
> >> >   [PATCH V4] net: Forbid dealing with packets when VM is not running (zhanghailiang)
> >> >     * looks like Stefan has this queued for net
> >> >   [PATCH V2] acpi-build: Set FORCE_APIC_CLUSTER_MODEL bit for FADT flags (zhanghailiang)
> >>
> >>       hmm I forgot to include that one. I'll redo the pull request.
> >
> > or maybe not
> > I recalled why I didn't include it - I wanted someone else to review it
> > first
> >
> > if it's ready, I'll send it separately tomorrow
> >
> >
> >> >   [RESEND v2 0/3] Fix some memory leaks about query memdev (Chen Fan)
> >> >     * looks like Michael Tokarev has this queued for trivial
> >> >   [PATCH] target-i386: Support migratable=no properly (Eduardo Habkost)
> >> >     * pinged
> >> >   [PATCH 1/3] pc: Fix disabling of vapic for compat PC models (Jan Kiszka)
> >> >     * pinged
> >> >   [PATCH] pty: Fix byte loss bug when connecting to pty (Sebastian Tanase)
> >> >     * pinged, presumably going through Gerd's tree
> >> >
> >> > Let me know if anything is missing.
> >> >
> >> > >
> >> > > The release is planned for 2014-09-08:
> >> > >
> >> > >   http://wiki.qemu.org/Planning/2.1
> >> > >
> >> > > Please respond here or CC qemu-stable@nongnu.org on any patches you
> >> > > think should be included in the release.
> >> > >
> >> > > Testing/feedback is greatly appreciated.
> >> > >
> >> > > Thanks!
> >> > >
> >> > > ----------------------------------------------------------------
> >> > > Alex Williamson (1):
> >> > >       vfio: Fix MSI-X vector expansion
> >> > >
> >> > > Ben Draper (1):
> >> > >       vmxnet3: Pad short frames to minimum size (60 bytes)
> >> > >
> >> > > Christoffer Dall (2):
> >> > >       target-arm: Rename QEMU PSCI v0.1 definitions
> >> > >       arm/virt: Use PSCI v0.2 function IDs in the DT when KVM uses PSCI v0.2
> >> > >
> >> > > Fam Zheng (1):
> >> > >       blkdebug: Delete BH in bdrv_aio_cancel
> >> > >
> >> > > Gonglei (1):
> >> > >       pcihp: fix possible array out of bounds
> >> > >
> >> > > Hu Tao (3):
> >> > >       hw:i386: typo fix: MEMORY_HOPTLUG_DEVICE -> MEMORY_HOTPLUG_DEVICE
> >> > >       pc-dimm: validate node property
> >> > >       numa: show hex number in error message for consistency and prefix them with 0x
> >> > >
> >> > > Jan Kiszka (1):
> >> > >       pci: Use bus master address space for delivering MSI/MSI-X messages
> >> > >
> >> > > Michael S. Tsirkin (4):
> >> > >       pc-dimm: fix up error message
> >> > >       acpi: align RSDP
> >> > >       hostmem: set MPOL_MF_MOVE
> >> > >       pc: reserve more memory for ACPI for new machine types
> >> > >
> >> > > Michael Tokarev (2):
> >> > >       l2tpv3 (configure): it is linux-specific
> >> > >       ide: only constrain read/write requests to drive size, not other types
> >> > >
> >> > > Peter Lieven (1):
> >> > >       block/iscsi: fix memory corruption on iscsi resize
> >> > >
> >> > > Peter Maydell (1):
> >> > >       target-arm: Fix return address for A64 BRK instructions
> >> > >
> >> > > Stefan Hajnoczi (6):
> >> > >       qmp: hide "hotplugged" device property from device-list-properties
> >> > >       qdev-monitor: include QOM properties in -device FOO, help output
> >> > >       raw-posix: fix O_DIRECT short reads
> >> > >       qemu-iotests: add test case 101 for short file I/O
> >> > >       thread-pool: avoid per-thread-pool EventNotifier
> >> > >       thread-pool: avoid deadlock in nested aio_poll() calls
> >> > >
> >> > > zhanghailiang (1):
> >> > >       virtio-blk: fix reference a pointer which might be freed
> >> > >
> >> > >  backends/hostmem.c              |  2 +-
> >> > >  block/blkdebug.c                |  4 +++
> >> > >  block/iscsi.c                   |  3 ++-
> >> > >  block/raw-posix.c               |  9 +++++++
> >> > >  configure                       |  1 +
> >> > >  hw/acpi/pcihp.c                 |  2 +-
> >> > >  hw/arm/virt.c                   | 31 ++++++++++++++++++----
> >> > >  hw/block/virtio-blk.c           |  3 ++-
> >> > >  hw/i386/acpi-build.c            |  2 +-
> >> > >  hw/i386/acpi-dsdt.dsl           |  4 +--
> >> > >  hw/i386/acpi-dsdt.hex.generated |  8 +++---
> >> > >  hw/i386/pc.c                    | 12 ++++++---
> >> > >  hw/i386/pc_piix.c               |  1 +
> >> > >  hw/i386/pc_q35.c                |  1 +
> >> > >  hw/i386/q35-acpi-dsdt.dsl       |  4 +--
> >> > >  hw/i386/ssdt-mem.dsl            | 16 ++++++------
> >> > >  hw/i386/ssdt-misc.dsl           |  2 +-
> >> > >  hw/ide/core.c                   |  3 ++-
> >> > >  hw/mem/pc-dimm.c                |  6 +++++
> >> > >  hw/misc/vfio.c                  | 38 ++++++++++++++++++++-------
> >> > >  hw/net/vmxnet3.c                | 10 +++++++
> >> > >  hw/pci/msi.c                    |  2 +-
> >> > >  hw/pci/msix.c                   |  2 +-
> >> > >  include/hw/acpi/pc-hotplug.h    |  2 +-
> >> > >  include/hw/i386/pc.h            |  2 ++
> >> > >  numa.c                          |  4 +--
> >> > >  qdev-monitor.c                  | 40 ++++++++++++----------------
> >> > >  qmp.c                           |  1 +
> >> > >  target-arm/kvm-consts.h         | 49 ++++++++++++++++++++++++++--------
> >> > >  target-arm/translate-a64.c      |  2 +-
> >> > >  tests/qemu-iotests/101          | 58 +++++++++++++++++++++++++++++++++++++++++
> >> > >  tests/qemu-iotests/101.out      | 10 +++++++
> >> > >  tests/qemu-iotests/group        |  1 +
> >> > >  thread-pool.c                   | 27 ++++++++++---------
> >> > >  34 files changed, 269 insertions(+), 93 deletions(-)
> >> > >  create mode 100755 tests/qemu-iotests/101
> >> > >  create mode 100644 tests/qemu-iotests/101.out
> >
> 
> 
> Hi, I`ve got assertion failure while testing upcoming tree with net
> patches applied after start - boot - reset cycle of an i686 VM.

Thanks for testing! Is this a consistent failure? I'm unable to reproduce with
current 2.1.1 tree with these applied:

  0d33fef vhost_net: start/stop guest notifiers properly
  27066b6 pci: avoid losing config updates to MSI/MSIX cap regs
  64a953a virtio-net: don't run bh on vm stopped
  1dcb588 vhost_net: cleanup start/stop condition

I haven't tested with these but I don't see them coming into play in
this scenario:

  383004 New          [V4] net: Forbid dealing with packets when VM is not  zhiang
  385148 New          net: prevent sending packets while guest is stopped

I'm running a 32-bit fedora 15 guest via qemu x86_64, and confirmed vhost is
being started/stopped on each boot/reset. My command-line is:

./x86_64-softmmu/qemu-system-x86_64 -drive file=/home/mdroth/vm/fedora15_32.raw,if=virtio -smp 1 -m 512M -name vm3 -device virtio-net-pci,mac=52:54:00:12:34:03,netdev=netdev0,id=net0 -netdev tap,script=/etc/qemu-ifup,vhost=on,id=netdev0 -vnc :3 -device virtio-serial -balloon virtio -mon chardev=hmp0 -chardev socket,path=/tmp/vm3-hmp0.sock,server,nowait,id=hmp0 -mon chardev=qmp0,mode=control -chardev socket,path=/tmp/vm3-qmp0.sock,server,nowait,id=qmp0 -device virtserialport,chardev=vs0,name=vs0 -chardev socket,path=/tmp/vm3-vs0.sock,server,nowait,id=vs0 -device virtserialport,chardev=vs1,name=vs1 -chardev socket,path=/tmp/vm3-vs1.sock,server,nowait,id=vs1 -device virtserialport,chardev=qga,name=org.qemu.guest_agent.0 -chardev socket,path=/tmp/vm3-qga.sock,server,nowait,id=qga -device isa-serial,chardev=serial0 -chardev socket,path=/tmp/vm3-serial0.sock,server,nowait,id=serial0 -L ./pc-bios --enable-kvm

I've tried rebooting from within the guest as well as system_reset via
hmp and it doesn't seem to trigger on my end.

> 
> qemu-system-x86_64:
> /tmp/buildd/qemu-2.1.0+f1/hw/net/virtio-net.c:1543:
> virtio_net_guest_notifier_mask: Assertion `n->vhost_started' failed.
> 
> net patches applied:
> 383004 New          [V4] net: Forbid dealing with packets when VM is not  zhiang
> 385148 New          net: prevent sending packets while guest is stopped
> 385177 New          [PULL,09/13] vhost_net: cleanup start/stop condition
> 385180 New          [PULL,11/13] virtio-net: don't run bh on vm stopped
> 385179 New          [PULL,12/13] pci: avoid losing config updates to
> MSI/MSIX cap regs
> 385181 New          [PULL,13/13] vhost_net: start/stop guest notifiers properly
> 
> bad one is the
> 
> Author: Jason Wang <jasowang@redhat.com>
> Date:   Tue Sep 2 18:07:46 2014 +0300
> 
>     vhost_net: start/stop guest notifiers properly

  reply	other threads:[~2014-09-02 19:54 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27 17:35 [Qemu-devel] Patch Round-up for stable 2.1.1, freeze on 2014-09-03 Michael Roth
2014-08-27 17:35 ` [Qemu-devel] [PATCH 01/25] qmp: hide "hotplugged" device property from device-list-properties Michael Roth
2014-08-27 17:35 ` [Qemu-devel] [PATCH 02/25] qdev-monitor: include QOM properties in -device FOO, help output Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 03/25] vfio: Fix MSI-X vector expansion Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 04/25] l2tpv3 (configure): it is linux-specific Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 05/25] ide: only constrain read/write requests to drive size, not other types Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 06/25] pci: Use bus master address space for delivering MSI/MSI-X messages Michael Roth
2014-08-28 10:18   ` [Qemu-devel] [Qemu-stable] " Greg Kurz
2014-08-28 14:39     ` Michael Roth
2014-09-18 15:36       ` Greg Kurz
2014-08-27 17:36 ` [Qemu-devel] [PATCH 07/25] hw:i386: typo fix: MEMORY_HOPTLUG_DEVICE -> MEMORY_HOTPLUG_DEVICE Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 08/25] pc-dimm: validate node property Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 09/25] pc-dimm: fix up error message Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 10/25] numa: show hex number in error message for consistency and prefix them with 0x Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 11/25] acpi: align RSDP Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 12/25] virtio-blk: fix reference a pointer which might be freed Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 13/25] target-arm: Fix return address for A64 BRK instructions Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 14/25] target-arm: Rename QEMU PSCI v0.1 definitions Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 15/25] arm/virt: Use PSCI v0.2 function IDs in the DT when KVM uses PSCI v0.2 Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 16/25] block/iscsi: fix memory corruption on iscsi resize Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 17/25] raw-posix: fix O_DIRECT short reads Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 18/25] qemu-iotests: add test case 101 for short file I/O Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 19/25] blkdebug: Delete BH in bdrv_aio_cancel Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 20/25] vmxnet3: Pad short frames to minimum size (60 bytes) Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 21/25] hostmem: set MPOL_MF_MOVE Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 22/25] pcihp: fix possible array out of bounds Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 23/25] pc: reserve more memory for ACPI for new machine types Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 24/25] thread-pool: avoid per-thread-pool EventNotifier Michael Roth
2014-08-27 17:36 ` [Qemu-devel] [PATCH 25/25] thread-pool: avoid deadlock in nested aio_poll() calls Michael Roth
2014-08-29  0:42 ` [Qemu-devel] Patch Round-up for stable 2.1.1, freeze on 2014-09-03 zhanghailiang
2014-08-29 15:12 ` Paolo Bonzini
2014-09-02  8:36 ` Michael S. Tsirkin
2014-09-02 15:20 ` [Qemu-devel] [Qemu-stable] " Michael Roth
2014-09-02 15:25   ` Michael S. Tsirkin
2014-09-02 15:27     ` Michael S. Tsirkin
2014-09-02 17:33       ` Andrey Korolyov
2014-09-02 19:53         ` Michael Roth [this message]
2014-09-02 21:03         ` Michael S. Tsirkin
2014-09-02 21:29           ` Andrey Korolyov
2014-09-02 21:51             ` Michael S. Tsirkin
2014-09-02 22:09               ` Andrey Korolyov
2014-09-02 22:17                 ` Andrey Korolyov
2014-09-03  6:10                   ` Michael S. Tsirkin
2014-09-03  7:43                     ` Andrey Korolyov
2014-09-03  8:13                       ` Michael S. Tsirkin
2014-09-03  8:36                         ` Andrey Korolyov
2014-09-03  9:07                           ` Michael S. Tsirkin
2014-09-03  9:18                             ` Andrey Korolyov
2014-09-03  9:31                               ` Michael S. Tsirkin
2014-09-03  6:35                   ` Michael S. Tsirkin
2014-09-03  5:57                     ` Jason Wang
2014-09-03  6:37                   ` Michael S. Tsirkin
2014-09-02 21:58             ` Michael Roth
2014-09-03 17:57               ` Michael S. Tsirkin
2014-09-03 18:59                 ` Michael Roth
2014-09-04 23:32   ` Michael Roth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140902195338.32021.27208@loki \
    --to=mdroth@linux.vnet.ibm.com \
    --cc=andrey@xdel.ru \
    --cc=chen.fan.fnst@cn.fujitsu.com \
    --cc=ehabkost@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=knut.omang@oracle.com \
    --cc=kraxel@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    --cc=sebastian.tanase@openwide.fr \
    --cc=stefanha@gmail.com \
    --cc=zhang.zhanghailiang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.