mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-15 06:34:03 +00:00
runtime/qemu: Pass "--xattr" to virtiofsd instead of "-o xattr"
The "-o" syntax belongs to the legacy C virtiofsd. It is deprecated
with the rust implementation.
Signed-off-by: Greg Kurz <groug@kaod.org>
(cherry picked from commit 81536f21af
)
Signed-off-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
parent
03d712ab25
commit
4679aa7712
@ -513,7 +513,7 @@ func (q *qemu) createVirtiofsDaemon(sharedPath string) (VirtiofsDaemon, error) {
|
|||||||
// in virtiofs if SELinux on the guest side is enabled.
|
// in virtiofs if SELinux on the guest side is enabled.
|
||||||
if !q.config.DisableGuestSeLinux {
|
if !q.config.DisableGuestSeLinux {
|
||||||
q.Logger().Info("Set the xattr option for virtiofsd")
|
q.Logger().Info("Set the xattr option for virtiofsd")
|
||||||
q.config.VirtioFSExtraArgs = append(q.config.VirtioFSExtraArgs, "-o", "xattr")
|
q.config.VirtioFSExtraArgs = append(q.config.VirtioFSExtraArgs, "--xattr")
|
||||||
}
|
}
|
||||||
|
|
||||||
// default use virtiofsd
|
// default use virtiofsd
|
||||||
|
Loading…
Reference in New Issue
Block a user