Re: [XTF] xenbus: Don't wait if the response ring is full

2020-07-10 Thread Wieczorkiewicz, Pawel
> On 9. Jul 2020, at 20:46, Julien Grall wrote: > > > From: Julien Grall > > XenStore response can be bigger than the response ring. In this case, > it is possible to have the ring full (e.g cons = 19 and prod = 1043). > > However, XTF will consider that there is no data and therefore wait

Re: [XTF] xenbus: Don't wait if the response ring is full

2020-07-10 Thread Andrew Cooper
On 10/07/2020 08:53, Wieczorkiewicz, Pawel wrote: >> On 9. Jul 2020, at 20:46, Julien Grall wrote: >> >> XenStore response can be bigger than the response ring. In this case, >> it is possible to have the ring full (e.g cons = 19 and prod = 1043). >> >> However, XTF will consider that there is no

[XTF] xenbus: Don't wait if the response ring is full

2020-07-09 Thread Julien Grall
From: Julien Grall XenStore response can be bigger than the response ring. In this case, it is possible to have the ring full (e.g cons = 19 and prod = 1043). However, XTF will consider that there is no data and therefore wait for more input. This will result to block indefinitely as the ring is