[pve-devel] [PATCH v3 qemu-server 2/7] Use parse_drive for EFI disk

Fabian Ebner f.ebner at proxmox.com
Mon Mar 2 11:33:43 CET 2020


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 7953154..1580514 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -3522,7 +3522,7 @@ sub config_to_command {
 	my $path;
 	my $format;
 	if (my $efidisk = $conf->{efidisk0}) {
-	    my $d = PVE::JSONSchema::parse_property_string($efidisk_fmt, $efidisk);
+	    my $d = parse_drive('efidisk0', $efidisk);
 	    my ($storeid, $volname) = PVE::Storage::parse_volume_id($d->{file}, 1);
 	    $format = $d->{format};
 	    if ($storeid) {
-- 
2.20.1





More information about the pve-devel mailing list