mirror of
https://github.com/copy/v86.git
synced 2025-12-31 04:23:15 +00:00
Nuke some old stuff from virtio console thats fixed in the overall virtio impl. now
This commit is contained in:
parent
c004ebb3ab
commit
ec90cede42
1 changed files with 2 additions and 4 deletions
|
|
@ -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) =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue