def _chown_console_log_for_instance(self, instance):
    console_log = self._get_console_log_path(instance)
    if os.path.exists(console_log):
        libvirt_utils.chown(console_log, os.getuid())
def _chown_console_log_for_instance(self, instance):
    console_log = self._get_console_log_path(instance)
    if os.path.exists(console_log):
        libvirt_utils.chown(console_log, os.getuid())