Virsh update device

Replacement for PR #991