From ecbfeb2e73a9f8cbeb8e65de9de0269d61f37104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 23 May 2017 00:10:10 +0200 Subject: [PATCH] admin-api update 1. Drop separate admin.vm.microphone.* calls - lets use admin.vm.device.mic.* for this. Yes, this means microphone cannot be attached to multiple VMs at the same time (which is regression vs Qubes 3.2). But this is a good thing from security point of view. 2. Drop admin.backup.Restore - use standard Admin API methods (admin.vm.Create, admin.vm.volume.Import etc) Cc: @kalkin --- services/admin-api.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/services/admin-api.md b/services/admin-api.md index f957af92..7b317b57 100644 --- a/services/admin-api.md +++ b/services/admin-api.md @@ -62,8 +62,6 @@ to set the policy using current mechanism. | `admin.vm.device..Detach` | vm | device | - | - | `device` is in form `+` | `admin.vm.device..List` | vm | - | - | ` \n` | options can include `persistent=yes` for "persistently" attached devices (default is temporary) | `admin.vm.device..Available` | vm | device-ident | - | ` description=\n` | optional service argument may be used to get info about a single device,
optional (device class specific) properties are in `key=value` form,
`description` must be the last one and is the only one allowed to contain spaces -| `admin.vm.microphone.Attach` | vm | - | - | - | -| `admin.vm.microphone.Detach` | vm | - | - | - | | `admin.pool.List` | `dom0` | - | - | `\n` | | `admin.pool.ListDrivers` | `dom0` | - | - | ` ...\n` | Properties allowed in `admin.pool.Add` | `admin.pool.Info` | `dom0` | pool | - | `=\n` | @@ -88,9 +86,8 @@ to set the policy using current mechanism. | `admin.vm.Pause` | vm | - | - | - | | `admin.vm.Unpause` | vm | - | - | - | | `admin.vm.Kill` | vm | - | - | - | -| `admin.backup.Execute` | `dom0` | config i | - | - | config in `/etc/qubes/backup/.conf` | -| `admin.backup.Info` | `dom0` | ? | content? | ? | -| `admin.backup.Restore` | `dom0` | ? | content | ? | +| `admin.backup.Execute` | `dom0` | config id | - | - | config in `/etc/qubes/backup/.conf`, only one backup operation of given `config id` can be running at once | +| `admin.backup.Info` | `dom0` | config id | - | backup info | info what would be included in the backup | `admin.Events` | `dom0|vm` | - | - | events | Volume properties: