qemu-server/PVE
Dominik Csapak fc23c72a42 pci: device selection: don't reserve PCI IDs when VM is already running
Since the only way this could happen is when we're being called
from 'qm showcmd' and there we don't want to reserve or create anything.

In case the VM was not running, we actually reserve the devices, so we
want to call 'cleanup_pci_devices' after to remove those again. This
minimizes the timespan where those devices are not available for real vm
starts.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Christoph Heiss <c.heiss@proxmox.com>
Reviewed-by: Christoph Heiss <c.heiss@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-10-24 18:39:37 +02:00
..
API2 fix typos in user-visible strings 2024-10-24 13:15:06 +02:00
CLI fix typos in user-visible strings 2024-10-24 13:15:06 +02:00
QemuServer pci: device selection: don't reserve PCI IDs when VM is already running 2024-10-24 18:39:37 +02:00
VZDump backup: prepare: remove outdated QEMU version check 2024-07-03 15:08:51 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm config: define machine schema as property-string 2024-04-11 10:18:27 +02:00
QemuMigrate.pm remote migration: fix online migration via API clients 2024-09-06 19:02:46 +02:00
QemuServer.pm pci: device selection: don't reserve PCI IDs when VM is already running 2024-10-24 18:39:37 +02:00
QMPClient.pm fix typos in user-visible strings 2024-10-24 13:15:06 +02:00