[PATCH 12/21] qemuMonitorJSON(Add|Remove)Netdev: Refactor cleanup