projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acb6685
)
monitor: Accept input only byte-wise
author
Jan Kiszka
<jan.kiszka@siemens.com>
Fri, 4 Dec 2009 13:05:29 +0000
(14:05 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 18 Dec 2009 17:26:33 +0000
(11:26 -0600)
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>
monitor.c
patch
|
blob
|
history
diff --git
a/monitor.c
b/monitor.c
index ebd0282ce4e217de25fbdeddd5c70a147cdce85c..96f7876d9656541bd4a1d8847e10d24dcaf4a5ef 100644
(file)
--- a/
monitor.c
+++ b/
monitor.c
@@
-3864,7
+3864,7
@@
static int monitor_can_read(void *opaque)
{
Monitor *mon = opaque;
- return (mon->suspend_cnt == 0) ? 1
28
: 0;
+ return (mon->suspend_cnt == 0) ? 1 : 0;
}
typedef struct CmdArgs {