From: "Jan Beulich" Subject: Re: [PATCH] x86/hvm: add support for broadcast of buffered ioreqs... Date: Fri, 10 Jul 2015 16:38:30 +0100 Message-ID: <55A00316020000780008FA1F@mail.emea.novell.com> References: <1436535903-17004-1-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1436535903-17004-1-git-send-email-paul.durrant@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: Andrew Cooper , Keir Fraser , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 10.07.15 at 15:45, wrote: > --- a/xen/arch/x86/hvm/io.c > +++ b/xen/arch/x86/hvm/io.c > @@ -60,8 +60,7 @@ void send_timeoffset_req(unsigned long timeoff) > if ( timeoff == 0 ) > return; > > - if ( !hvm_buffered_io_send(&p) ) > - printk("Unsuccessful timeoffset update\n"); > + hvm_broadcast_ioreq(&p, 1); > } The rest of the patch looks okay, but I'm not happy with the deletion of this message, as it served a purpose (ignoring the fact that one didn't know the affected domain etc). I would think hvm_broadcast_ioreq() should have a return value, indicating all succeeded, some succeeded, or all failed. And perhaps servers without bufioreq page should then rather count as "succeeded". Otoh I can see that "some succeeded" may not be really useful here, as the caller won't know whether the one(s) that failed are important, or whether they would have dropped the notification on the floor only anyway (like qemuu appears to do right now). Jan