Skip to content

Commit

Permalink
Add the virtiofs element of openfiles
Browse files Browse the repository at this point in the history
Signed-off-by: Lili Zhu <[email protected]>
  • Loading branch information
iccaszhulili committed Dec 29, 2024
1 parent 80ca89f commit 5ca64de
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions virttest/libvirt_xml/devices/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class Binary(base.base.LibvirtXMLBase):
"lock_posix",
"flock",
"thread_pool_size",
"open_files",
"sandbox_mode",
)

Expand All @@ -96,6 +97,13 @@ def __init__(self, virsh_instance=base.base.virsh):
accessors.XMLAttribute(
"flock", self, parent_xpath="/", tag_name="lock", attribute="flock"
)
accessors.XMLAttribute(
"open_files",
self,
parent_xpath="/",
tag_name="openfiles",
attribute="max",
)
accessors.XMLAttribute(
"thread_pool_size",
self,
Expand Down

0 comments on commit 5ca64de

Please sign in to comment.