hw/9pfs: Replace the direct call to xxxat() APIs with a wrapper
authorBin Meng <bin.meng@windriver.com>
Mon, 19 Dec 2022 10:20:07 +0000 (18:20 +0800)
committerChristian Schoenebeck <qemu_oss@crudebyte.com>
Fri, 23 Dec 2022 10:48:13 +0000 (11:48 +0100)
commit6ca60cd7a388a776d72739e5a404e65c19460511
tree5b2d35c82e6804a685770cdfbf90a20f5d576333
parent09f0080ecd9238ee1f23414935eead36d5b2b31c
hw/9pfs: Replace the direct call to xxxat() APIs with a wrapper

xxxat() APIs are only available on POSIX platforms. For future
extension to Windows, let's replace the direct call to xxxat()
APIs with a wrapper.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Message-Id: <20221219102022.2167736-4-bin.meng@windriver.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
hw/9pfs/9p-local.c
hw/9pfs/9p-util.h