]>
git.proxmox.com Git - mirror_qemu.git/blob - hw/9pfs/cofile.c
5 * Copyright IBM, Corp. 2011
8 * Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
10 * This work is licensed under the terms of the GNU GPL, version 2. See
11 * the COPYING file in the top-level directory.
15 #include "fsdev/qemu-fsdev.h"
16 #include "qemu-thread.h"
17 #include "qemu-coroutine.h"
18 #include "virtio-9p-coth.h"
20 int v9fs_co_lstat(V9fsState
*s
, V9fsString
*path
, struct stat
*stbuf
)
24 v9fs_co_run_in_worker(
26 err
= s
->ops
->lstat(&s
->ctx
, path
->data
, stbuf
);