[pve-devel] [PATCH qemu-server v3 4/4] Add support for TDX quote-generation-socket object
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Nov 13 12:54:55 CET 2025
Am 13.11.25 um 12:35 schrieb Fiona Ebner:
> Am 28.10.25 um 1:56 PM schrieb Anton Iacobaeus:
>> + } elsif ($type eq 'vsock') {
>> + my ($cid, $port) = @{$conf}{ 'vsock-cid', 'vsock-port' };
>
> Style nit: our code base uses the following style:
> $conf->@{qw(vsock-cid vsock-port)};
The main important thing here is IMO using postfix reference notation though.
As personally, I'm not a huge fan of qw if not needed, I'm certainly fine with
others using it, but would not promote it over:
$conf->@{'vsock-cid', 'vsock-port'};
More information about the pve-devel
mailing list