Skip to content

Commit 3f56dda

Browse files
committed
Nuke some old stuff from virtio console thats fixed in the overall virtio impl. now
1 parent db22e06 commit 3f56dda

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/virtio_console.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,9 @@ export function VirtioConsole(cpu, bus)
107107
{
108108
dbg_assert(false, "VirtioConsole Notified for wrong queue: " + queue_id +
109109
" (expected queue_id of 2)");
110-
return;
110+
111111
}
112-
const queue = this.virtio.queues[queue_id];
113-
// Full buffer looks like an empty buffer so prevent it from filling
114-
while(queue.count_requests() > queue.size - 2) queue.pop_request();
112+
115113
},
116114
(queue_id) =>
117115
{

0 commit comments

Comments
 (0)