monitor: Allow add-fd to any specified fd set
authorCorey Bryant <coreyb@linux.vnet.ibm.com>
Thu, 18 Oct 2012 19:19:31 +0000 (15:19 -0400)
committerKevin Wolf <kwolf@redhat.com>
Wed, 24 Oct 2012 08:26:19 +0000 (10:26 +0200)
commit9ac54af0c35d3f931653efae5698ef0f465eac7c
tree4637c2d3cc23b11660f6305015dce8ab16aa1a6e
parent80168bff43760bde98388480dc7c93f94693421c
monitor: Allow add-fd to any specified fd set

The first call to add an fd to an fd set was previously not
allowed to choose the fd set ID.  The ID was generated as
the first available and ensuing calls could add more fds by
specifying the fd set ID.  This change allows users to
choose the fd set ID on the first call.

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
qapi-schema.json