Jim Fehlig
2703b0b5bf
qemu: Do not report eof when processing monitor IO
...
There have been countless reports from users concerned about the following
error reported by libvirtd when qemu domains are shutdown
internal error: End of file from qemu monitor
While the error is harmless, users often mistaken it for real problem with
their deployments. EOF from the monitor can't be entirely ignored since
other threads may be using the monitor and must be able to detect the EOF
condition.
One potential fix is to delay reporting EOF until the monitor is used
after EOF is detected. This patch adds a 'goteof' member to the
qemuMonitor structure, which is set when EOF is detected on the monitor
socket. If another thread later tries to send data on the monitor, the
EOF error is reported.
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-10-15 11:16:31 -06:00
..
2020-08-03 09:27:04 +02:00
2021-04-06 17:07:05 +02:00
2021-02-10 09:30:41 -07:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-10-06 12:03:12 +02:00
2021-10-06 12:03:12 +02:00
2021-09-24 10:37:00 +02:00
2021-04-13 17:00:38 +02:00
2021-10-12 10:26:01 +02:00
2021-07-26 20:25:22 +02:00
2021-04-26 17:22:52 +02:00
2021-04-13 17:00:38 +02:00
2021-10-15 12:49:11 +02:00
2021-10-15 12:49:11 +02:00
2021-04-21 10:20:46 +02:00
2021-09-21 12:25:42 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-10-15 09:40:58 +02:00
2021-10-12 11:11:13 +02:00
2021-10-05 14:58:52 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-10-01 11:02:53 +02:00
2021-06-15 16:58:23 +02:00
2021-10-06 12:03:12 +02:00
2021-10-12 10:26:02 +02:00
2021-04-13 17:00:38 +02:00
2021-05-03 12:08:26 +02:00
2021-10-12 14:41:13 +02:00
2021-10-12 14:12:11 +02:00
2021-10-12 14:12:11 +02:00
2021-08-09 10:09:00 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-10-15 09:40:58 +02:00
2021-10-06 12:03:12 +02:00
2021-04-15 15:42:21 +02:00
2021-04-13 17:00:38 +02:00
2021-07-23 11:30:46 +02:00
2021-08-25 15:32:44 +02:00
2021-08-25 15:32:44 +02:00
2021-09-24 10:37:00 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-10-13 12:43:54 +02:00
2021-04-13 17:00:38 +02:00
2021-10-12 11:11:13 +02:00
2021-10-12 11:11:13 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-10-15 11:16:31 -06:00
2021-10-12 11:11:13 +02:00
2021-09-21 12:25:42 +02:00
2021-07-15 12:00:24 +02:00
2021-10-12 14:12:11 +02:00
2021-10-12 10:26:00 +02:00
2021-07-23 10:01:48 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-16 09:24:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-26 16:06:45 -06:00
2021-08-26 16:06:45 -06:00
2021-03-12 17:05:52 +01:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-09-24 10:37:00 +02:00
2021-05-24 20:38:07 +02:00
2021-09-15 09:54:06 +02:00
2021-04-13 17:00:38 +02:00
2021-10-15 14:38:35 +02:00
2021-08-25 15:32:44 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-07-26 10:01:59 -04:00
2021-04-13 17:00:38 +02:00
2021-10-12 14:12:11 +02:00
2021-10-12 14:12:11 +02:00
2021-09-27 10:11:21 +02:00
2021-04-06 17:07:05 +02:00
2021-04-13 17:00:38 +02:00
2021-08-31 13:40:33 +01:00
2020-04-03 11:50:57 +02:00