[pve-devel] [PATCH 1/6] Add hotplug option
Dietmar Maurer
dietmar at proxmox.com
Mon Oct 10 19:08:11 CEST 2011
why is that option 'integer' (instead of 'boolean')?
> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Derumier Alexandre
> Sent: Montag, 10. Oktober 2011 16:47
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH 1/6] Add hotplug option
>
>
> Signed-off-by: Derumier Alexandre <aderumier at odiso.com>
> ---
> PVE/QemuServer.pm | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 82cadf5..f5b5103
> 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -153,6 +153,12 @@ my $confdesc = {
> description => "Automatic restart after crash (currently ignored).",
> default => 0,
> },
> + hotplug => {
> + optional => 1,
> + type => 'integer',
> + description => "Activate hotplug for disk and network device",
> + default => 0,
> + },
> reboot => {
> optional => 1,
> type => 'boolean',
> --
> 1.7.2.5
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list