Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com>
---
 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index fe7984eb..e1ee328c 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -3210,7 +3210,7 @@ sub start_swtpm {
 
     my $state;
     my $tpm = parse_drive("tpmstate0", $tpmdrive);
-    my ($storeid, $volname) = PVE::Storage::parse_volume_id($tpm->{file}, 1);
+    my ($storeid) = PVE::Storage::parse_volume_id($tpm->{file}, 1);
     if ($storeid) {
        my $format = checked_volume_format($storecfg, $tpm->{file});
        die "swtpm currently only supports 'raw' state volumes" if $format ne 
'raw';
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to