mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-08-03 04:21:54 +03:00
cpu config: sev type: small code style fix
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -831,12 +831,15 @@ sub get_hw_capabilities {
|
||||
}
|
||||
return $hw_capabilities;
|
||||
}
|
||||
|
||||
sub get_amd_sev_type {
|
||||
my ($conf) = @_;
|
||||
|
||||
return undef if !$conf->{'amd-sev'};
|
||||
|
||||
return PVE::JSONSchema::parse_property_string($sev_fmt, $conf->{'amd-sev'})->{type};
|
||||
my $sev = PVE::JSONSchema::parse_property_string($sev_fmt, $conf->{'amd-sev'});
|
||||
|
||||
return $sev->{type};
|
||||
}
|
||||
|
||||
sub get_amd_sev_object {
|
||||
|
Reference in New Issue
Block a user