Re: [PATCH v6 1/9] hw: Add check for queue number

2021-04-28 Thread Cindy Lu
On Tue, Apr 27, 2021 at 1:39 PM Jason Wang wrote: > > > 在 2021/4/27 上午11:39, Cindy Lu 写道: > > In order to support configure interrupt. we will use queue number -1 > > as configure interrupt > > since all these device are not support the configure interrupt > > So we will add an check here, if the

Re: [PATCH v6 1/9] hw: Add check for queue number

2021-04-26 Thread Jason Wang
在 2021/4/27 上午11:39, Cindy Lu 写道: In order to support configure interrupt. we will use queue number -1 as configure interrupt since all these device are not support the configure interrupt So we will add an check here, if the idx is -1, the function will return; The title is confusing since

[PATCH v6 1/9] hw: Add check for queue number

2021-04-26 Thread Cindy Lu
In order to support configure interrupt. we will use queue number -1 as configure interrupt since all these device are not support the configure interrupt So we will add an check here, if the idx is -1, the function will return; Signed-off-by: Cindy Lu --- hw/display/vhost-user-gpu.c| 8 +++