Re: File sharing over virtio-9p
"Greg A. Woods" <[email protected]>
| Newsgroups | gmane.os.netbsd.current,gmane.os.netbsd.devel.kernel |
|---|---|
| Organization | Planix, Inc. |
| Message-ID | <[email protected]> |
At Tue, 25 Mar 2025 19:31:21 +0900, Ryota Ozaki <[email protected]> wrote: Subject: Re: File sharing over virtio-9p > > vio9p is not optimized for performance yet, for example, it can serve > each request synchronously. Good to know. > > I wonder is there anything NetBSD, i.e. vio9p(4), can do to cleanly shut > > down the 9p connection and allow it to be reused without having to > > restart the host QEMU process? This would be nice as then a VM could > > reboot itself without having to use the host tools to restart. > > umount /9pfs before rebooting might help you. > > vio9p itself is just a bridge between a client and a server of 9p, so > it doesn't help for shutting down the 9p connection over it, I think. Indeed -- I tried a unmounting before a reboot and the mount worked again with no problem this time. I'm not sure why there could or would be any difference between vfs_shutdown() calling dounmount() vs. the call from sys_unmount(). Perhaps it is just a matter of timing, or whether or not some previous activity had occurred, or maybe it's entirely an issue on the QEMU side. -- Greg A. Woods <[email protected]> Kelowna, BC +1 250 762-7675 RoboHack <[email protected]> Planix, Inc. <[email protected]> Avoncote Farms <[email protected]>
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRuK6dmwVAucmRxuh9mfXG3eL/0fwUCZ+cyvwAKCRBmfXG3eL/0 fx5JAKDyMLuXIu1M23XbiJCgdPTNAYrfIACgu4FTbKYDh7cm339ubieGBNgljsM= =azK/ -----END PGP SIGNATURE-----