mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
monitor: Accept input only byte-wise
This allows to suspend command interpretation and execution synchronously, e.g. during migration. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
acb6685fea
commit
c62313bbdc
1 changed files with 1 additions and 1 deletions
|
|
@ -3864,7 +3864,7 @@ static int monitor_can_read(void *opaque)
|
|||
{
|
||||
Monitor *mon = opaque;
|
||||
|
||||
return (mon->suspend_cnt == 0) ? 128 : 0;
|
||||
return (mon->suspend_cnt == 0) ? 1 : 0;
|
||||
}
|
||||
|
||||
typedef struct CmdArgs {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue