libvirt/src/qemu
Nikolay Shirokovskiy b47e3b9b5c qemu: agent: sync once if qemu has serial port event
Sync was introduced in [1] to check for ga presence. This
check is racy but in the era before serial events are available
there was not better solution I guess.

In case we have the events the sync function is different. It allows us
to flush stateless ga channel from remnants of previous communications.
But we need to do it only once. Until we get timeout on issued command
channel state is ok.

[1] qemu_agent: Issue guest-sync prior to every command

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-03-12 18:07:50 +01:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug qemu: add virtiofsd_debug to qemu.conf 2020-03-04 12:08:50 +01:00
Makefile.inc.am qemu: add code for handling virtiofsd 2020-03-04 12:08:50 +01:00
MIGRATION.txt
qemu_agent.c qemu: agent: sync once if qemu has serial port event 2020-03-12 18:07:50 +01:00
qemu_agent.h qemu: agent: sync once if qemu has serial port event 2020-03-12 18:07:50 +01:00
qemu_alias.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
qemu_alias.h
qemu_backup.c qemu: Tell secdrivers which images are top parent 2020-03-09 14:14:55 +01:00
qemu_backup.h qemu: process: Terminate backup job on VM destroy 2020-01-06 10:15:36 +01:00
qemu_block.c qemu: Don't request nested entries in qemuBlockGetNamedNodeData 2020-03-04 14:39:24 +01:00
qemu_block.h qemu: Add support for slices of type 'storage' 2020-02-14 16:32:21 +01:00
qemu_blockjob.c qemu: Tell secdrivers which images are top parent 2020-03-09 14:14:55 +01:00
qemu_blockjob.h qemu: blockjob: Store 'flags' for all the block job types 2020-02-04 13:45:33 +01:00
qemu_capabilities.c qemu: capabilities: Add capability for the 'flat' argument of 'query-named-block-nodes' 2020-03-04 14:39:24 +01:00
qemu_capabilities.h qemu: capabilities: Add capability for the 'flat' argument of 'query-named-block-nodes' 2020-03-04 14:39:24 +01:00
qemu_capspriv.h qemu: capabilities: Add accessor to qemu caps machine types presence 2020-01-27 14:55:03 +01:00
qemu_cgroup.c qemu: pass virDomainObjPtr to qemuExtDevicesSetupCgroup 2020-03-04 12:08:50 +01:00
qemu_cgroup.h
qemu_checkpoint.c qemu: Tell secdrivers which images are top parent 2020-03-09 14:14:55 +01:00
qemu_checkpoint.h qemu: checkpoint: Track and relabel images for bitmap merging 2020-02-04 13:45:32 +01:00
qemu_command.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
qemu_command.h qemu: check iotune params same for all disk in group 2020-01-29 11:46:51 +01:00
qemu_conf.c qemu: add virtiofsd_debug to qemu.conf 2020-03-04 12:08:50 +01:00
qemu_conf.h qemu: add virtiofsd_debug to qemu.conf 2020-03-04 12:08:50 +01:00
qemu_dbus.c
qemu_dbus.h
qemu_domain_address.c conf: qemu: add virtiofs fsdriver type 2020-03-04 12:08:50 +01:00
qemu_domain_address.h qemu_domain_address.c: turn qemuDomainFillDeviceIsolationGroup to void 2020-01-31 15:25:33 +01:00
qemu_domain.c qemu: Create multipath targets for PRs 2020-03-12 08:04:40 +01:00
qemu_domain.h qemu: start/stop an event loop thread for domains 2020-03-11 14:44:44 +00:00
qemu_driver.c qemu: Tell secdrivers which images are top parent 2020-03-09 14:14:55 +01:00
qemu_driver.h
qemu_extdevice.c qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +01:00
qemu_extdevice.h qemu: pass virDomainObjPtr to qemuExtDevicesSetupCgroup 2020-03-04 12:08:50 +01:00
qemu_firmware.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
qemu_firmware.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
qemu_hostdev.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
qemu_hostdev.h
qemu_hotplug.c conf: rename virNetDevSupportBandwidth to virNetDevSupportsBandwidth 2020-02-25 17:49:26 +01:00
qemu_hotplug.h
qemu_interface.c qemu/lxc: plumb isolatedPort from config down through bridge attachment 2020-02-20 23:13:15 -05:00
qemu_interface.h
qemu_interop_config.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
qemu_interop_config.h
qemu_migration_cookie.c qemu: Don't compare local and remote hostnames on migration 2020-03-05 10:01:32 +01:00
qemu_migration_cookie.h qemuMigrationCookieNBD: Extract embedded struct 2020-01-31 14:28:28 +01:00
qemu_migration_params.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
qemu_migration_params.h
qemu_migration_paramspriv.h
qemu_migration.c src: improve thread naming with human targetted names 2020-03-05 12:23:04 +00:00
qemu_migration.h
qemu_monitor_json.c qemuMonitorJSONSetMigrationParams: Refactor command construction and cleanup 2020-03-05 11:31:38 +01:00
qemu_monitor_json.h qemu: Don't request nested entries in qemuBlockGetNamedNodeData 2020-03-04 14:39:24 +01:00
qemu_monitor_priv.h
qemu_monitor_text.c
qemu_monitor_text.h
qemu_monitor.c qemu: convert monitor to use the per-VM event loop 2020-03-11 14:44:55 +00:00
qemu_monitor.h qemu: convert monitor to use the per-VM event loop 2020-03-11 14:44:55 +00:00
qemu_process.c qemu: agent: sync once if qemu has serial port event 2020-03-12 18:07:50 +01:00
qemu_process.h qemu: start/stop an event thread for QMP probing 2020-03-11 14:44:47 +00:00
qemu_processpriv.h
qemu_qapi.c
qemu_qapi.h
qemu_security.c qemu: Tell secdrivers which images are top parent 2020-03-09 14:14:55 +01:00
qemu_security.h qemu: Tell secdrivers which images are top parent 2020-03-09 14:14:55 +01:00
qemu_shim.c qemu_shim: Ignore SIGPIPE 2020-03-05 11:24:51 +01:00
qemu_slirp.c
qemu_slirp.h
qemu_tpm.c src: convert code to use virPipe APIs 2020-02-04 14:00:44 +00:00
qemu_tpm.h
qemu_vhost_user_gpu.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
qemu_vhost_user_gpu.h
qemu_vhost_user.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
qemu_vhost_user.h qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +01:00
qemu_virtiofs.c qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +01:00
qemu_virtiofs.h qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +01:00
qemu.conf qemu: add virtiofsd_debug to qemu.conf 2020-03-04 12:08:50 +01:00
test_libvirtd_qemu.aug.in qemu: add virtiofsd_debug to qemu.conf 2020-03-04 12:08:50 +01:00
THREADS.txt qemu: remove qemuDomainObjBegin/EndJobWithAgent() 2020-01-16 16:35:47 +01:00
virtqemud.init.in
virtqemud.service.in daemon: set default memlock limit for systemd service 2020-02-26 17:56:49 +01:00