libvirt/src/qemu
Wen Congyang 9741f3461b unlock the monitor when unwatching the monitor
Steps to reproduce this bug:
# virsh qemu-monitor-command domain 'cpu_set 2 online' --hmp
The domain has 2 cpus, and we try to set the third cpu online.
The qemu crashes, and this command will hang.

The reason is that the refs is not 1 when we unwatch the monitor.
We lock the monitor, but we do not unlock it. So virCondWait()
will be blocked.

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
2011-03-17 17:29:38 -06:00
..
libvirtd_qemu.aug qemu: fix augeas support for vnc_auto_unix_socket 2011-01-28 15:28:30 -07:00
qemu_audit.c audit: audit use of /dev/net/tun, /dev/tapN, /dev/vhost-net 2011-03-10 08:35:42 -07:00
qemu_audit.h audit: audit use of /dev/net/tun, /dev/tapN, /dev/vhost-net 2011-03-10 08:35:42 -07:00
qemu_bridge_filter.c Remove conn parameter from virReportSystemError 2010-02-09 01:04:54 +01:00
qemu_bridge_filter.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu_capabilities.c qemu: Support vram for video of qxl type 2011-03-06 22:00:27 +08:00
qemu_capabilities.h qemu: Support vram for video of qxl type 2011-03-06 22:00:27 +08:00
qemu_cgroup.c virsh: fix memtune's help message for swap_hard_limit 2011-03-17 16:45:06 -06:00
qemu_cgroup.h audit: prepare qemu for listing vm in cgroup audits 2011-02-24 13:31:05 -07:00
qemu_command.c qemu: use more appropriate error 2011-03-15 08:49:04 -06:00
qemu_command.h audit: audit use of /dev/net/tun, /dev/tapN, /dev/vhost-net 2011-03-10 08:35:42 -07:00
qemu_conf.c qemu: Implement blkio tunable XML configuration and parsing. 2011-02-08 11:43:45 -07:00
qemu_conf.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
qemu_domain.c Move all the QEMU migration code to a new file 2011-02-17 12:56:10 +00:00
qemu_domain.h Move all the QEMU migration code to a new file 2011-02-17 12:56:10 +00:00
qemu_driver.c virsh: fix memtune's help message for swap_hard_limit 2011-03-17 16:45:06 -06:00
qemu_driver.h Split all QEMU process mangement code into separate file 2011-02-17 12:48:55 +00:00
qemu_hostdev.c Move QEMU hostdev helper code out of the QEMU driver 2010-12-17 13:50:21 +00:00
qemu_hostdev.h Move QEMU hostdev helper code out of the QEMU driver 2010-12-17 13:50:21 +00:00
qemu_hotplug.c audit: audit use of /dev/net/tun, /dev/tapN, /dev/vhost-net 2011-03-10 08:35:42 -07:00
qemu_hotplug.h rename qemuDomainDetachSCSIDiskDevice to qemuDomainDetachDiskDevice 2011-03-07 11:28:15 -07:00
qemu_migration.c qemu: use lighter-weight fd:n on incoming tunneled migration 2011-03-14 21:57:42 -06:00
qemu_migration.h Move all the QEMU migration code to a new file 2011-02-17 12:56:10 +00:00
qemu_monitor_json.c qemu: Fallback to HMP when cpu_set QMP command is not found 2011-03-15 09:55:06 -06:00
qemu_monitor_json.h qemu: consolidate duplicated monitor migration code 2011-03-14 21:57:43 -06:00
qemu_monitor_text.c qemu: consolidate duplicated monitor migration code 2011-03-14 21:57:43 -06:00
qemu_monitor_text.h qemu: consolidate duplicated monitor migration code 2011-03-14 21:57:43 -06:00
qemu_monitor.c unlock the monitor when unwatching the monitor 2011-03-17 17:29:38 -06:00
qemu_monitor.h qemu: support migration to fd 2011-03-15 16:35:43 -06:00
qemu_process.c qemu: Fix warnings in event handlers 2011-03-10 14:18:37 +01:00
qemu_process.h Split all QEMU process mangement code into separate file 2011-02-17 12:48:55 +00:00
qemu.conf qemu: don't request cgroup ACL access for /dev/net/tun 2011-03-10 08:32:43 -07:00
test_libvirtd_qemu.aug qemu: fix augeas support for vnc_auto_unix_socket 2011-01-28 15:28:30 -07:00
THREADS.txt docs: more on qemu locking patterns 2011-02-02 09:19:31 -07:00