Fix code for avoiding overrides of non-existant functions
Fix code for avoiding overrides of non-existant functions

When reading/writing a global variable from inside a method
it must be declared as a global, otherwise a local variable
by the same name will be used.

Special case the virConnectListDomainsID method which is
bizarrely renamed for no obvious reason.

Signed-off-by: Daniel P. Berrange <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>

libvirt/libvirt-python,libvirt/libvirt-python,libvirt/libvirt-python