summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/disabled.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-23 04:41:54 +0300
committerMaxim Devaev <[email protected]>2022-07-24 05:38:26 +0300
commit2eef9bd26394f5f98f1324012a3c77570e80a7e2 (patch)
tree5aef8e1650bc02b0bb65552a5d5f6d45cfb6eec8 /kvmd/plugins/msd/disabled.py
parent06bf0fcd17e58d0a719baed57fca9aa786340237 (diff)
basic msd rw api
Diffstat (limited to 'kvmd/plugins/msd/disabled.py')
-rw-r--r--kvmd/plugins/msd/disabled.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/kvmd/plugins/msd/disabled.py b/kvmd/plugins/msd/disabled.py
index 0545b86b..13def45e 100644
--- a/kvmd/plugins/msd/disabled.py
+++ b/kvmd/plugins/msd/disabled.py
@@ -50,6 +50,7 @@ class Plugin(BaseMsd):
"features": {
"multi": False,
"cdrom": False,
+ "rw": False,
},
}
@@ -63,7 +64,13 @@ class Plugin(BaseMsd):
# =====
- async def set_params(self, name: Optional[str]=None, cdrom: Optional[bool]=None) -> None:
+ async def set_params(
+ self,
+ name: Optional[str]=None,
+ cdrom: Optional[bool]=None,
+ rw: Optional[bool]=None,
+ ) -> None:
+
raise MsdDisabledError()
async def set_connected(self, connected: bool) -> None: