]> git.proxmox.com Git - qemu-server.git/commit
qmeventd: further improve getting VMID from PID
authorFiona Ebner <f.ebner@proxmox.com>
Mon, 10 Jul 2023 08:53:00 +0000 (10:53 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 17 Jul 2023 09:30:47 +0000 (11:30 +0200)
commita9f2e2d6f99ea4a5a47ec78ffa434afbbb59565f
tree85fa14a952a3b0c93761fdd53e02e8087c428963
parentd0b587533ca9e450aaa3ab2de5c6f53e16414ad5
qmeventd: further improve getting VMID from PID

by also expecting the ".scope" part and trying the next entry if it is
not present instead of immediately failing.

It's still unexpected to encounter such entries, so keep the log line.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
qmeventd/qmeventd.c