]> git.proxmox.com Git - mirror_qemu.git/commit - monitor.c
monitor: Prevent removing fd from set during init
authorCorey Bryant <coreyb@linux.vnet.ibm.com>
Thu, 18 Oct 2012 19:19:33 +0000 (15:19 -0400)
committerKevin Wolf <kwolf@redhat.com>
Wed, 24 Oct 2012 08:26:19 +0000 (10:26 +0200)
commitebe52b592dd5867fce7238f49b8c0416c3eedb6c
treeb9ada7102011fd42931b981a3c03b611f50dc106
parente446f70d54b4920e8ca5af509271b69eab86e37b
monitor: Prevent removing fd from set during init

If an fd is added to an fd set via the command line, and it is not
referenced by another command line option (ie. -drive), then clean
it up after QEMU initialization is complete.

Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
monitor.c