Skip to content

Commit

Permalink
9p: Rename 9p-util -> 9p-util-linux
Browse files Browse the repository at this point in the history
The current file only has the Linux versions of these functions.
Rename the file accordingly and update the Makefile to only build
it on Linux. A Darwin version of these will follow later in the
series.

Signed-off-by: Keno Fischer <[email protected]>
[Michael Roitzsch: - Rebase for NixOS]
Signed-off-by: Michael Roitzsch <[email protected]>
Signed-off-by: Will Cohen <[email protected]>
Reviewed-by: Greg Kurz <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
  • Loading branch information
Keno authored and willcohen committed Feb 27, 2022
1 parent 414b9a7 commit c99f2b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hw/9pfs/9p-util.c → hw/9pfs/9p-util-linux.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* 9p utilities
* 9p utilities (Linux Implementation)
*
* Copyright IBM, Corp. 2017
*
Expand Down
2 changes: 1 addition & 1 deletion hw/9pfs/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ fs_ss.add(files(
'9p-posix-acl.c',
'9p-proxy.c',
'9p-synth.c',
'9p-util.c',
'9p-xattr-user.c',
'9p-xattr.c',
'9p.c',
Expand All @@ -14,6 +13,7 @@ fs_ss.add(files(
'coth.c',
'coxattr.c',
))
fs_ss.add(when: 'CONFIG_LINUX', if_true: files('9p-util-linux.c'))
fs_ss.add(when: 'CONFIG_XEN', if_true: files('xen-9p-backend.c'))
softmmu_ss.add_all(when: 'CONFIG_FSDEV_9P', if_true: fs_ss)

Expand Down

0 comments on commit c99f2b9

Please sign in to comment.