summaryrefslogtreecommitdiffstats
path: root/include/hw/arm/virt.h
diff options
context:
space:
mode:
authorDaniel P. Berrange2016-01-11 14:02:16 +0100
committerDaniel P. Berrange2016-01-20 12:30:56 +0100
commite155494cf0b876c45c3c68a9ab6c641aac22dfdf (patch)
treede2151068a6d5db9350210d3d9a540537f84d96e /include/hw/arm/virt.h
parentio: increment counter when killing off subcommand (diff)
downloadqemu-e155494cf0b876c45c3c68a9ab6c641aac22dfdf.tar.gz
qemu-e155494cf0b876c45c3c68a9ab6c641aac22dfdf.tar.xz
qemu-e155494cf0b876c45c3c68a9ab6c641aac22dfdf.zip
io: some fixes to handling of /dev/null when running commands
The /dev/null file handle was leaked in a couple of places. There is also the possibility that both readfd and writefd point to the same /dev/null file handle, so care must be taken not to close the same file handle twice. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'include/hw/arm/virt.h')
0 files changed, 0 insertions, 0 deletions