mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-06-17 18:37:39 +00:00
cleanup: reorder code so that emacs font-lock-mode works again
This is just a work around for emacs bugs.
This commit is contained in:
parent
f38c5e270f
commit
c07a9e3d64
@ -2510,10 +2510,8 @@ __PACKAGE__->register_method({
|
|||||||
proxyto => 'node',
|
proxyto => 'node',
|
||||||
description => "Move volume to different storage.",
|
description => "Move volume to different storage.",
|
||||||
permissions => {
|
permissions => {
|
||||||
description => "You need 'VM.Config.Disk' permissions on /vms/{vmid}, " .
|
description => "You need 'VM.Config.Disk' permissions on /vms/{vmid}, and 'Datastore.AllocateSpace' permissions on the storage.",
|
||||||
"and 'Datastore.AllocateSpace' permissions on the storage.",
|
check => [ 'and',
|
||||||
check =>
|
|
||||||
[ 'and',
|
|
||||||
['perm', '/vms/{vmid}', [ 'VM.Config.Disk' ]],
|
['perm', '/vms/{vmid}', [ 'VM.Config.Disk' ]],
|
||||||
['perm', '/storage/{storage}', [ 'Datastore.AllocateSpace' ]],
|
['perm', '/storage/{storage}', [ 'Datastore.AllocateSpace' ]],
|
||||||
],
|
],
|
||||||
@ -2696,14 +2694,11 @@ __PACKAGE__->register_method({
|
|||||||
migration_type => {
|
migration_type => {
|
||||||
type => 'string',
|
type => 'string',
|
||||||
enum => ['secure', 'insecure'],
|
enum => ['secure', 'insecure'],
|
||||||
description => "Migration traffic is encrypted using an SSH " .
|
description => "Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.",
|
||||||
"tunnel by default. On secure, completely private networks " .
|
|
||||||
"this can be disabled to increase performance.",
|
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
migration_network => {
|
migration_network => {
|
||||||
type => 'string',
|
type => 'string', format => 'CIDR',
|
||||||
format => 'CIDR',
|
|
||||||
description => "CIDR of the (sub) network that is used for migration.",
|
description => "CIDR of the (sub) network that is used for migration.",
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
@ -2859,7 +2854,7 @@ __PACKAGE__->register_method({
|
|||||||
command => {
|
command => {
|
||||||
type => 'string',
|
type => 'string',
|
||||||
description => "The QGA command.",
|
description => "The QGA command.",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
returns => { type => 'object' },
|
returns => { type => 'object' },
|
||||||
|
Loading…
Reference in New Issue
Block a user