diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-12-04 14:05:29 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-18 11:26:33 -0600 |
commit | c62313bbdc48f72e93fa8196f2fff96ba35e4e9d (patch) | |
tree | e6ac8590ed8d5f586207e24381d01090b4752c10 /monitor.c | |
parent | acb6685feaeea0989d29b6f12e96fea48e8ce9d9 (diff) |
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>
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 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 { |