The virObject usage is deprecated in libvirt and so switching to GObject will be needed for upstreaming.