[pve-devel] [PATCH qemu-server 1/4] config: add vmstatestorage option

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed May 10 12:00:18 CEST 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 PVE/QemuServer.pm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 2fb419d..c2b5ba2 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -478,6 +478,10 @@ EODESCR
 	type => 'string', format => 'pve-volume-id',
 	description => "Reference to a volume which stores the VM state. This is used internally for snapshots.",
     },
+    vmstatestorage => get_standard_option('pve-storage-id', {
+	description => "Default storage for VM state volumes/files.",
+	optional => 1,
+    }),
     machine => {
 	description => "Specific the Qemu machine type.",
 	type => 'string',
-- 
2.1.4





More information about the pve-devel mailing list