aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi-gen.py
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-08-17 15:52:23 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-02 19:09:11 +0200
commitdfe9ea200ab1ba941149e90a6b3d220afc2dcc4c (patch)
tree5fb5ccd3195c92c7c8cd6fe0af38b23d82246177 /scripts/qapi-gen.py
parent5573f98fa66df133154529beaabf9d6a331d94bd (diff)
downloadqemu-dfe9ea200ab1ba941149e90a6b3d220afc2dcc4c.zip
qemu-dfe9ea200ab1ba941149e90a6b3d220afc2dcc4c.tar.gz
qemu-dfe9ea200ab1ba941149e90a6b3d220afc2dcc4c.tar.bz2
char-socket: update all ioc handlers when changing context
So far, tcp_chr_update_read_handler() only updated the read handler. Let's also update the hup handler. Factorize the code while at it. (note that s->ioc != NULL when s->connected) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20180817135224.22971-4-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-gen.py')
0 files changed, 0 insertions, 0 deletions