When compliling qemu with `--enable-virtfs` and musl libc, XATTR_SIZE_MAX is undeclared in v9fs_xattrcreate. Things compile fine with glibc as linux/limits.h is indirectly included via dirent.h.
Dan Robertson (1): 9pfs: include linux/limits.h for XATTR_SIZE_MAX hw/9pfs/9p.c | 1 + 1 file changed, 1 insertion(+)