mgmt1: add device options handling

Device may be attached with some options - for example "ro=True" for
block devices.
This commit is contained in:
Marek Marczykowski-Górecki 2017-04-29 01:55:18 +02:00
parent 7ec63f5395
commit 4301f735ce
No known key found for this signature in database
GPG Key ID: F32894BE9684938A

View File

@ -55,9 +55,9 @@ to set the policy using current mechanism.
| `mgmt.vm.firewall.InsertRule` | vm | rule id | rule | rule id | insert before given rule, use `END` as rule id to add rule at the end
| `mgmt.vm.firewall.RemoveRule` | vm | rule id | - | - |
| `mgmt.vm.firewall.Flush` | vm | - | - | - |
| `mgmt.vm.device.<class>.Attach` | vm | device | - | - |
| `mgmt.vm.device.<class>.Attach` | vm | device | options | - | optional options given in `key=value` format, separated with spaces
| `mgmt.vm.device.<class>.Detach` | vm | device | - | - |
| `mgmt.vm.device.<class>.List` | vm | - | - | `<device>\n` |
| `mgmt.vm.device.<class>.List` | vm | - | - | `<device> <options>\n` |
| `mgmt.vm.device.<class>.Available` | vm | - | - | `<device>\n` |
| `mgmt.vm.microphone.Attach` | vm | - | - | - |
| `mgmt.vm.microphone.Detach` | vm | - | - | - |