Nuke some old stuff from virtio console thats fixed in the overall virtio impl. now

This commit is contained in:
Rob Blanckaert 2025-11-22 11:10:21 -08:00 committed by Fabian
parent c004ebb3ab
commit ec90cede42

View file

@ -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) =>
{