https://github.com/torvalds/linux
Raw File
Tip revision: 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d authored by Linus Torvalds on 09 April 2023, 18:15:57 UTC
Linux 6.3-rc6
Tip revision: 09a9639
guestmount.txt
--guestmount=<path>::
	Guest OS root file system mount directory. Users mount guest OS
	root directories under <path> by a specific filesystem access method,
	typically, sshfs.
	For example, start 2 guest OS, one's pid is 8888 and the other's is 9999:
[verse]
	$ mkdir \~/guestmount
	$ cd \~/guestmount
	$ sshfs -o allow_other,direct_io -p 5551 localhost:/ 8888/
	$ sshfs -o allow_other,direct_io -p 5552 localhost:/ 9999/
	$ perf {GMEXAMPLECMD} --guestmount=~/guestmount {GMEXAMPLESUBCMD}
back to top