

def get_disk(self, device):
    'Returns the disk mounted at device\n\n        :returns LivirtConfigGuestDisk: mounted at device or None\n        '
    try:
        doc = etree.fromstring(self._domain.XMLDesc(0))
    except Exception:
        return None
    node = conf.find(("./devices/disk/target[@dev='%s'].." % device))
    if (node is not None):
        conf = vconfig.LibvirtConfigGuestDisk()
        conf.parse_dom(node)
        return conf

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/guest.py Guest.get_disk/VarMisuse@46/93 `doc`->`conf`