mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-13 17:38:38 +00:00
Drive: add valid_drive_names_with_unused
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
This commit is contained in:
parent
2817091d33
commit
1071373027
@ -467,6 +467,10 @@ sub valid_drive_names {
|
||||
'tpmstate0');
|
||||
}
|
||||
|
||||
sub valid_drive_names_with_unused {
|
||||
return (valid_drive_names(), map {"unused$_"} (0 .. ($MAX_UNUSED_DISKS - 1)));
|
||||
}
|
||||
|
||||
sub is_valid_drivename {
|
||||
my $dev = shift;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user