]> git.proxmox.com Git - qemu-server.git/commit
hotplug_pending: remove redundant write/load config calls
authorOguz Bektas <o.bektas@proxmox.com>
Fri, 13 Dec 2019 11:41:51 +0000 (12:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 20 Dec 2019 09:51:52 +0000 (10:51 +0100)
commit4df15a03770c571ad190674d694b3e029422aeab
tree1c1161b5122f3e1081d9bef95c8ae2a84df83680
parent9f4e1abf3beac435303344b4ac8e5163fa963d13
hotplug_pending: remove redundant write/load config calls

instead of writing the config after every change, we can do it once for
all the changes in the end to avoid redundant i/o.

we also don't need to load_config after writing fastplug changes.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
PVE/QemuServer.pm