mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
hw/9pfs: Add handle based fs driver
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
This commit is contained in:
parent
bccacf6c79
commit
5f5422258e
4 changed files with 617 additions and 4 deletions
|
@ -23,6 +23,7 @@ static QTAILQ_HEAD(FsTypeEntry_head, FsTypeListEntry) fstype_entries =
|
|||
|
||||
static FsTypeTable FsTypes[] = {
|
||||
{ .name = "local", .ops = &local_ops},
|
||||
{ .name = "handle", .ops = &handle_ops},
|
||||
};
|
||||
|
||||
int qemu_fsdev_add(QemuOpts *opts)
|
||||
|
|
|
@ -52,4 +52,5 @@ typedef struct FsTypeListEntry {
|
|||
int qemu_fsdev_add(QemuOpts *opts);
|
||||
FsTypeEntry *get_fsdev_fsentry(char *id);
|
||||
extern FileOperations local_ops;
|
||||
extern FileOperations handle_ops;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue