On 12/06/2019 20:58, Christopher Clark wrote:
> On Wed, Jun 12, 2019 at 5:35 AM Nicholas Tsirakis
> <niko.tsira...@gmail.com> wrote:
>> When a message is requeue'd in Xen's internal queue, the queue
>> entry contains the length of the message so that Xen knows to
>> send a VIRQ to the respective domain when enough space frees up
>> in the ring. Due to a small bug, however, Xen doesn't populate
>> the length of the msg if a given write fails, so this length is
>> always reported as zero. This causes Xen to spurriously wake up
> I should've caught this earlier and it would be nice to fix on commit:
> only a single R in "spuriously"
>
>> a domain even when the ring doesn't have enough space.
>>
>> This patch makes sure that the msg len is properly reported by
>> populating it in the event of a write failure.
>>
>> Signed-off-by: Nicholas Tsirakis <tsirak...@ainfosec.com>
> Reviewed-by: Christopher Clark <christopher.w.cl...@gmail.com>

Typo fixed and committed.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to