diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-03-15 19:34:43 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-03-21 21:29:01 +0100 |
commit | ba5970a178ef927c34cb8a6dfff54de0a58497c6 (patch) | |
tree | 86224b312b9686d01b9409af8d6375c8c2bb5b87 /qjson.c | |
parent | a3feb08639e7982f47c3981fea79d527d3dfc0ac (diff) |
ivshmem: Drop the hackish test for UNIX domain chardev
The chardev must be capable of transmitting SCM_RIGHTS ancillary
messages. We check it by comparing CharDriverState member filename to
"unix:". That's almost as brittle as it is disgusting.
When the actual transmission all happened asynchronously, this check
was all we could do in realize(), and thus better than nothing. But
now we receive at least one SCM_RIGHTS synchronously in realize(),
it's not worth its keep anymore. Drop it.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <1458066895-20632-29-git-send-email-armbru@redhat.com>
Diffstat (limited to 'qjson.c')
0 files changed, 0 insertions, 0 deletions