]> www.infradead.org Git - users/dwmw2/qemu.git/commit
io: Stop using qemu_open_old in channel-file
authorFabiano Rosas <farosas@suse.de>
Mon, 17 Jun 2024 18:57:25 +0000 (15:57 -0300)
committerFabiano Rosas <farosas@suse.de>
Fri, 21 Jun 2024 12:47:22 +0000 (09:47 -0300)
commit46cec74c1b71973756d8960a305bae1491ae6259
tree213820d238664d23e74053542271f5754110888c
parent960f29b347ad34a53580fa822083d51ba7851b7b
io: Stop using qemu_open_old in channel-file

We want to make use of the Error object to report fdset errors from
qemu_open_internal() and passing the error pointer to qemu_open_old()
would require changing all callers. Move the file channel to the new
API instead.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
io/channel-file.c