Re: [pve-devel] [PATCH qemu-server v3 04/13] PCI: reuse parsed info from print_hostpci_devices

2022-11-09 Thread Thomas Lamprecht
Am 20/09/2022 um 14:50 schrieb Dominik Csapak: > instead of parsing the config again when trying to reserver/prepare the > pci devices. also split the preparing into non-mdev devices and mdev > devices, this will come in handy later. I'd rather factor out the parsing parts, see below. > diff --

[pve-devel] [PATCH qemu-server v3 04/13] PCI: reuse parsed info from print_hostpci_devices

2022-09-20 Thread Dominik Csapak
instead of parsing the config again when trying to reserver/prepare the pci devices. also split the preparing into non-mdev devices and mdev devices, this will come in handy later. Signed-off-by: Dominik Csapak --- PVE/QemuServer.pm | 20 +--- PVE/QemuServer/PCI.pm | 8 +