From ec90cede422e13ef4dc4bbd14e72a1f25cb2fa00 Mon Sep 17 00:00:00 2001 From: Rob Blanckaert Date: Sat, 22 Nov 2025 11:10:21 -0800 Subject: [PATCH] Nuke some old stuff from virtio console thats fixed in the overall virtio impl. now --- src/virtio_console.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/virtio_console.js b/src/virtio_console.js index a8c87c5e..9762ed44 100644 --- a/src/virtio_console.js +++ b/src/virtio_console.js @@ -107,11 +107,9 @@ export function VirtioConsole(cpu, bus) { dbg_assert(false, "VirtioConsole Notified for wrong queue: " + queue_id + " (expected queue_id of 2)"); - return; + } - const queue = this.virtio.queues[queue_id]; - // Full buffer looks like an empty buffer so prevent it from filling - while(queue.count_requests() > queue.size - 2) queue.pop_request(); + }, (queue_id) => {