mirror of
https://github.com/mii443/qemu.git
synced 2025-12-17 01:28:52 +00:00
hw/9pfs: Rename fstype to fsdriver to make it consistent across VirtFS code
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
This commit is contained in:
@@ -29,29 +29,29 @@
|
||||
* -----------------
|
||||
* etc
|
||||
*/
|
||||
typedef struct FsTypeTable {
|
||||
typedef struct FsDriverTable {
|
||||
const char *name;
|
||||
FileOperations *ops;
|
||||
} FsTypeTable;
|
||||
} FsDriverTable;
|
||||
|
||||
/*
|
||||
* Structure to store the various fsdev's passed through command line.
|
||||
*/
|
||||
typedef struct FsTypeEntry {
|
||||
typedef struct FsDriverEntry {
|
||||
char *fsdev_id;
|
||||
char *path;
|
||||
char *security_model;
|
||||
int export_flags;
|
||||
FileOperations *ops;
|
||||
} FsTypeEntry;
|
||||
} FsDriverEntry;
|
||||
|
||||
typedef struct FsTypeListEntry {
|
||||
FsTypeEntry fse;
|
||||
QTAILQ_ENTRY(FsTypeListEntry) next;
|
||||
} FsTypeListEntry;
|
||||
typedef struct FsDriverListEntry {
|
||||
FsDriverEntry fse;
|
||||
QTAILQ_ENTRY(FsDriverListEntry) next;
|
||||
} FsDriverListEntry;
|
||||
|
||||
int qemu_fsdev_add(QemuOpts *opts);
|
||||
FsTypeEntry *get_fsdev_fsentry(char *id);
|
||||
FsDriverEntry *get_fsdev_fsentry(char *id);
|
||||
extern FileOperations local_ops;
|
||||
extern FileOperations handle_ops;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user