]> git.proxmox.com Git - mirror_qemu.git/commit - fsdev/qemu-fsdev.c
fsdev: Move some types definition to qemu-fsdev.c
authorGreg Kurz <groug@kaod.org>
Fri, 17 May 2019 15:34:48 +0000 (17:34 +0200)
committerGreg Kurz <groug@kaod.org>
Fri, 17 May 2019 15:34:48 +0000 (17:34 +0200)
commit202324357397435bb572734e3fd4e1eed86b04f9
tree431010b9d197c30c60c90e93712822a5732e7218
parent778f0fad5f93224b8657831cf82fa3bb644f21e7
fsdev: Move some types definition to qemu-fsdev.c

It would make sense for these types to be defined in a header file if
we had an API for fsdrivers to register themselves. In practice, we
only have three of them and it is very unlikely we add new ones since
the future of file sharing between host and guest is the upcoming
virtio-fs.

Move the types to qemu-fsdev.c instead since they are only used there.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
fsdev/qemu-fsdev.c
fsdev/qemu-fsdev.h