diff options
author | Ross Lagerwall | 2017-11-01 15:25:26 +0100 |
---|---|---|
committer | Daniel P. Berrangé | 2018-02-15 17:54:57 +0100 |
commit | b8f244b13ca3c754c34c0ab1c2b0e7241b54318a (patch) | |
tree | 60c33e6c042275113aeae02d1d2ed72cf2fb4409 /migration/vmstate-types.c | |
parent | io: Don't call close multiple times in QIOChannelFile (diff) | |
download | qemu-b8f244b13ca3c754c34c0ab1c2b0e7241b54318a.tar.gz qemu-b8f244b13ca3c754c34c0ab1c2b0e7241b54318a.tar.xz qemu-b8f244b13ca3c754c34c0ab1c2b0e7241b54318a.zip |
io: Add /dev/fdset/ support to QIOChannelFile
Add /dev/fdset/ support to QIOChannelFile by calling qemu_open() instead
of open() and qemu_close() instead of close(). There is a subtle
semantic change since qemu_open() automatically sets O_CLOEXEC, but this
doesn't affect any of the users of the function.
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'migration/vmstate-types.c')
0 files changed, 0 insertions, 0 deletions