qemu_monitor: rephrase error message if qemu closes monitor

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2016-06-08 11:59:57 +02:00
parent 8f2cbe73f3
commit c1b8d87bab

View File

@ -719,8 +719,7 @@ qemuMonitorIO(int watch, int fd, int events, void *opaque)
* "connection reset by peer" message.
*/
mon->logFunc(mon,
_("early end of file from monitor, "
"possible problem"),
_("qemu unexpectedly closed the monitor"),
mon->logOpaque);
virCopyLastError(&mon->lastError);
virResetLastError();