On Thu, Oct 16, 2025 at 11:04:59PM +0530, Vishal Chourasia wrote: > Replace open() with qemu_open() which provides better error handling > via the Error object, automatically sets O_CLOEXEC, and supports FD > passing with /dev/fdset. > > Remove redundant error_setg_file_open() call since qemu_open() now > handles error reporting internally. > > Suggested-by: Daniel P. Berrangé <[email protected]> > Signed-off-by: Vishal Chourasia <[email protected]> > --- > hw/core/loader.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-)
Reviewed-by: Daniel P. Berrangé <[email protected]> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
