virt-libvirt: Use generic accessor methods

Signed-off-by: Chris Evich <cevich@redhat.com>