aboutsummaryrefslogtreecommitdiff
path: root/os-posix.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-09-14 13:42:35 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-09-26 13:05:28 +0200
commit2a1cce9058698d384b7c1b6c6b744d928d32dfba (patch)
tree6ea4e450f55a990bd9855e09a66f520627b8e299 /os-posix.c
parent1e3ee834083227f552179f6e43902cba5a866e6b (diff)
downloadqemu-2a1cce9058698d384b7c1b6c6b744d928d32dfba.zip
qemu-2a1cce9058698d384b7c1b6c6b744d928d32dfba.tar.gz
qemu-2a1cce9058698d384b7c1b6c6b744d928d32dfba.tar.bz2
add qemu_add_data_dir()
Add helper function to add a directory to the qemu search path, so we don't duplicate the checks. Add a check for duplicate entries, so we stop trying to open files twice. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20170914114236.25343-2-kraxel@redhat.com
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions