All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org, borntraeger@de.ibm.com,
	felipe@nutanix.com
Subject: Re: [Qemu-devel] [PATCH 3/3] virtio: set ISR on dataplane notifications
Date: Tue, 15 Nov 2016 21:17:56 +0200	[thread overview]
Message-ID: <20161115211703-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20161115112155.688f0bf2@t450s.home>

On Tue, Nov 15, 2016 at 11:21:55AM -0700, Alex Williamson wrote:
> On Tue, 15 Nov 2016 19:58:52 +0200
> "Michael S. Tsirkin" <mst@redhat.com> wrote:
> 
> > On Tue, Nov 15, 2016 at 10:48:15AM -0700, Alex Williamson wrote:
> > > On Tue, 15 Nov 2016 19:38:30 +0200
> > > "Michael S. Tsirkin" <mst@redhat.com> wrote:
> > >   
> > > > On Tue, Nov 15, 2016 at 05:22:49PM +0100, Paolo Bonzini wrote:  
> > > > > 
> > > > > 
> > > > > On 15/11/2016 16:44, Michael S. Tsirkin wrote:    
> > > > > > True. We could drop it from non-data plane, it's just that we never had
> > > > > > a reason to. vhost in kernel does not set ISR in MSI mode, either.    
> > > > > 
> > > > > Yeah, I suspected that.  But dropping it from non-dataplane would break
> > > > > Windows hibernation and crashdump, just like it did for Alex.    
> > > > 
> > > > I guess it's just a question of updating the drivers,
> > > > isn't it? To me, hibernation/crashdump doesn't sound important
> > > > enough to warrant work-arounds, but if you feel otherwise,
> > > > I'm fine with doing this work-around for dataplane.  
> > > 
> > > The fact that Windows is trying to do some sort of hibernation is not
> > > visible to the user, I'm simply trying to shutdown the VM.  That's
> > > rather important on my scale of functionality.  If we have drivers in
> > > the wild doing this, does it matter what's in the spec?  
> > 
> > It matters that latest drivers are already OK. "Update drivers"
> > has been the advice for any kind of windows problem for years.
> > 
> > > Smells like a
> > > regression from an end user perspective. Thanks,
> > > 
> > > Alex  
> > 
> > This exposes a driver bug, yes. The right fix is easy to point
> > out, whether we want a work-around I'm not sure - I understand that
> > you feel strongly that we do, is that right? OK, just let's document
> > what's going on and which versions are affected.
> 
> I don't mind updating my drivers, I'm just guessing that the average
> user doesn't know what virtio driver version they're running, doesn't
> read release notes, and will be at least slightly annoyed by this
> behavior that looks and smells like a regression from v2.7.  If it
> hit me, then there are probably others affected as well.  It's up to you
> to weigh maintaining not-entirely-spec-complaint behavior vs user angst.
> Thanks,
> 
> Alex

I think I'll merge the work-around if it's better documented.
If you think it should go in, can you provide your tested-by tag?

-- 
MST

  reply	other threads:[~2016-11-15 19:18 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-15 13:46 [Qemu-devel] [PATCH for-2.8 0/3] virtio fixes Paolo Bonzini
2016-11-15 13:46 ` [Qemu-devel] [PATCH 1/3] virtio: introduce grab/release_ioeventfd to fix vhost Paolo Bonzini
2016-11-15 15:32   ` Cornelia Huck
2016-11-15 16:21     ` Paolo Bonzini
2016-11-15 13:46 ` [Qemu-devel] [PATCH 2/3] virtio: access ISR atomically Paolo Bonzini
2016-11-15 15:03   ` Christian Borntraeger
2016-11-15 15:04     ` Paolo Bonzini
2016-11-15 13:46 ` [Qemu-devel] [PATCH 3/3] virtio: set ISR on dataplane notifications Paolo Bonzini
2016-11-15 15:26   ` Michael S. Tsirkin
2016-11-15 15:28     ` Paolo Bonzini
2016-11-15 15:44       ` Michael S. Tsirkin
2016-11-15 16:22         ` Paolo Bonzini
2016-11-15 17:38           ` Michael S. Tsirkin
2016-11-15 17:48             ` Alex Williamson
2016-11-15 17:58               ` Michael S. Tsirkin
2016-11-15 18:21                 ` Alex Williamson
2016-11-15 19:17                   ` Michael S. Tsirkin [this message]
2016-11-15 19:51                     ` Alex Williamson
2016-11-15 15:02 ` [Qemu-devel] [PATCH for-2.8 0/3] virtio fixes Stefan Hajnoczi
2016-11-16 19:50 ` Christian Borntraeger
2016-11-16 20:03   ` Farhan Ali
2016-11-16 20:16     ` Michael S. Tsirkin
2016-11-16 20:32       ` Farhan Ali
2016-11-16 21:45         ` Farhan Ali
  -- strict thread matches above, loose matches on Subject: below --
2016-11-16 18:05 [Qemu-devel] [PATCH v2 " Paolo Bonzini
2016-11-16 18:05 ` [Qemu-devel] [PATCH 3/3] virtio: set ISR on dataplane notifications Paolo Bonzini
2016-11-16 20:15   ` Michael S. Tsirkin
2016-11-16 20:38     ` Paolo Bonzini
2016-11-16 20:39       ` Michael S. Tsirkin
2016-11-16 21:05         ` Paolo Bonzini
2016-11-16 21:20           ` Michael S. Tsirkin
2016-11-17  9:04             ` Paolo Bonzini
2016-11-17 16:58               ` Michael S. Tsirkin
2016-11-17 10:44     ` Stefan Hajnoczi

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=20161115211703-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=alex.williamson@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=felipe@nutanix.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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.