mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-06-26 20:19:38 +00:00
trivial: indentation/formatting fixup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f9dde219f2
commit
2b9ee9441a
@ -187,8 +187,7 @@ my $create_disks = sub {
|
|||||||
} elsif ($ds eq 'tpmstate0') {
|
} elsif ($ds eq 'tpmstate0') {
|
||||||
# swtpm can only use raw volumes, and uses a fixed size
|
# swtpm can only use raw volumes, and uses a fixed size
|
||||||
$size = PVE::Tools::convert_size(PVE::QemuServer::Drive::TPMSTATE_DISK_SIZE, 'b' => 'kb');
|
$size = PVE::Tools::convert_size(PVE::QemuServer::Drive::TPMSTATE_DISK_SIZE, 'b' => 'kb');
|
||||||
$volid = PVE::Storage::vdisk_alloc($storecfg, $storeid, $vmid,
|
$volid = PVE::Storage::vdisk_alloc($storecfg, $storeid, $vmid, "raw", undef, $size);
|
||||||
"raw", undef, $size);
|
|
||||||
} else {
|
} else {
|
||||||
$volid = PVE::Storage::vdisk_alloc($storecfg, $storeid, $vmid, $fmt, undef, $size);
|
$volid = PVE::Storage::vdisk_alloc($storecfg, $storeid, $vmid, $fmt, undef, $size);
|
||||||
}
|
}
|
||||||
|
@ -339,8 +339,8 @@ my %tpmversion_fmt = (
|
|||||||
version => {
|
version => {
|
||||||
type => 'string',
|
type => 'string',
|
||||||
enum => [qw(v1.2 v2.0)],
|
enum => [qw(v1.2 v2.0)],
|
||||||
description => "The TPM interface version. v2.0 is newer and should be "
|
description => "The TPM interface version. v2.0 is newer and should be preferred."
|
||||||
. "preferred. Note that this cannot be changed later on.",
|
." Note that this cannot be changed later on.",
|
||||||
optional => 1,
|
optional => 1,
|
||||||
default => 'v2.0',
|
default => 'v2.0',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user