Re: [PATCH-SERIES qemu-server 0/2] hotplug pending: only issue QMP commands related to USB hotplug if actually needed

Manuel Federanko
2026-03-31T14:28:42Z

On 2026-03-30 1:09 PM, Fiona Ebner wrote:
> There is a report in the enterprise support about Veeam failing to set
> the 'lock' property in the VM configuration, because they are blocking
> the QMP socket. The proper fix would be for them to not block the QMP
> socket (at least not while interacting with our API), but there still
> is an improvement to be made on the Proxmox VE side, which is to avoid
> doing QMP commands related to USB hotplug if they are not actually
> needed.
>
> qemu-server:
>
> Fiona Ebner (2):
> hotplug pending: only check if USB devices are left when one was
> unplugged
> hotplug pending: only check for USB hoptplug support when actually
> needed
>
> src/PVE/QemuServer.pm | 41 ++++++++++++++++++++++++++++++-----------
> 1 file changed, 30 insertions(+), 11 deletions(-)
>
>
> Summary over all repositories:
> 1 files changed, 30 insertions(+), 11 deletions(-)
>

Thanks!

Tested this by blocking the QMP socket and acquiring a lock on the
guest afterwards, also tried to add a USB device while blocking the
socket, which times out as expected.

Tested-by: Manuel Federanko <m.federanko@proxmox.com>