From afc2f2659bee6060f6e9ceb78aad968dc8b5b2d9 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Wed, 16 Dec 2020 18:02:40 +0100 Subject: [PATCH] xen: Wait for console backend to process data Left-over from development. Fixes #489. --- bindings/xen/console.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bindings/xen/console.c b/bindings/xen/console.c index 012b421c..9a87e2e9 100644 --- a/bindings/xen/console.c +++ b/bindings/xen/console.c @@ -125,11 +125,9 @@ void console_write(const char *buf, size_t len) } while (written < len); -#if 0 /* For debugging only, no need to wait synchronously here. */ /* Wait for xenconsoled to consume all the data we gave. */ while (ACCESS_ONCE(console_ring->out_cons) != console_ring->out_prod) hypercall_yield(); -#endif } void console_init(void)