]> git.proxmox.com Git - qemu-server.git/commitdiff
shorten and subjectively improve code comment
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Jun 2022 13:08:31 +0000 (15:08 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 30 Aug 2022 06:32:43 +0000 (08:32 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Qemu.pm

index 24d0f5914d336ff73022d6d9dca9672c6d96a739..5a068a9e5fb644650e924dd26db5c832a9392191 100644 (file)
@@ -2979,8 +2979,7 @@ __PACKAGE__->register_method({
            $rpcenv->check_vm_perm($authuser, $vmid, undef, ['VM.Config.Disk']);
            my $conf = PVE::QemuConfig->load_config($vmid);
 
-           # check for hostpci devices (suspend will maybe work, resume won't),
-           # so prevent users from suspending in the first place
+           # cannot save the state of a non-virtualized PCIe device, so resume cannot really work
            for my $key (keys %$conf) {
                next if $key !~ /^hostpci\d+/;
                die "Cannot suspend VM to disk with assigned PCI devices\n";