Chardev websocket might not support pasting more than a few chars
Bug #1828608 reported by
Anisse Astier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
When sending more than 4-5 characters on the websocket serial console (with pasting for example), the guest might not receive all of them, or worse interpret the input as Magic SysRq keys.
This might be due to the io loop not checking the backend readiness before calling the read function.
Attached patched fixes the problem on my system. I'm not sure it's the proper approach, this is just to start discussion.
To post a comment you must log in.
If the problem only happens with a websockets channel enabled, it possibly a bug in the QIOChannelWebsock impl rather than the chardev