Re: [PATCH] mini-os: support event channel 0 for console

2021-12-06 Thread Juergen Gross
On 06.12.21 14:24, Jan Beulich wrote: On 06.12.2021 13:46, Juergen Gross wrote: The console event channel might be 0 for the console, so use the value of ~0 as invalid instead. I may be missing something mini-os specific here, but in Xen channel 0 is always invalid. It's not just here that thi

Re: [PATCH] mini-os: support event channel 0 for console

2021-12-06 Thread Juergen Gross
On 06.12.21 14:24, Jan Beulich wrote: On 06.12.2021 13:46, Juergen Gross wrote: The console event channel might be 0 for the console, so use the value of ~0 as invalid instead. I may be missing something mini-os specific here, but in Xen channel 0 is always invalid. It's not just here that thi

Re: [PATCH] mini-os: support event channel 0 for console

2021-12-06 Thread Jan Beulich
On 06.12.2021 13:46, Juergen Gross wrote: > The console event channel might be 0 for the console, so use the value > of ~0 as invalid instead. I may be missing something mini-os specific here, but in Xen channel 0 is always invalid. It's not just here that this value would be used as a sentinel.

[PATCH] mini-os: support event channel 0 for console

2021-12-06 Thread Juergen Gross
The console event channel might be 0 for the console, so use the value of ~0 as invalid instead. Signed-off-by: Juergen Gross --- console/xencons_ring.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/console/xencons_ring.c b/console/xencons_ring.c index b6db74e..5c2573