mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06: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:
parent
c98f1d4a8b
commit
fbcbf101aa
5 changed files with 33 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue