[libvirt] [PULL 30/45] memory-device: complete factoring out pre_plug handling