mirror of
https://git.proxmox.com/git/pve-guest-common
synced 2025-08-11 08:29:28 +00:00
mapping: pci: add 'live-migration-capable' flag to mappings
so that we can decide in qemu-server to allow live-migration. The driver and QEMU must be capable of that, and it's the admin's responsibility to know and configure that Mark the option as experimental in the description. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Reviewed-by: Christoph Heiss <c.heiss@proxmox.com> Reviewed-by: Fiona Ebner <f.ebner@proxmox.com> Tested-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
parent
57cd454c42
commit
ef051db594
@ -105,6 +105,13 @@ my $defaultData = {
|
||||
optional => 1,
|
||||
default => 0,
|
||||
},
|
||||
'live-migration-capable' => {
|
||||
description => "Marks the device(s) as being able to be live-migrated (Experimental)."
|
||||
." This needs hardware and driver support to work.",
|
||||
type => 'boolean',
|
||||
optional => 1,
|
||||
default => 0,
|
||||
},
|
||||
map => {
|
||||
type => 'array',
|
||||
description => 'A list of maps for the cluster nodes.',
|
||||
@ -125,6 +132,7 @@ sub options {
|
||||
return {
|
||||
description => { optional => 1 },
|
||||
mdev => { optional => 1 },
|
||||
'live-migration-capable' => { optional => 1 },
|
||||
map => {},
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user