Lines Matching refs:logger

38     logger = logging.getLogger('runqemu')
39 logger.setLevel(logging.INFO)
52 logger.addHandler(ch)
54 return logger
56 logger = create_logger() variable
221 logger.debug("Acquiring lockfile %s..." % self.taplock)
228 logger.error(msg)
230 logger.info(msg)
239 logger.debug("Releasing lockfile for tap device '%s'" % self.tap)
267 logger.debug("Acquiring lockfile %s..." % lockfile)
274 logger.info(msg)
283 logger.debug("Releasing lockfile '%s'" % lockfile)
293 logger.debug("Releasing lockfile '%s'" % lockfile)
316 logger.debug("Can't find required *.qemuboot.conf in %s" % p)
319 logger.debug("Can't find *-image-* in %s" % p)
328 logger.warning("Maybe unsupported FSTYPE: %s" % fst)
340 logger.debug('MACHINE: %s' % machine)
342 logger.debug('DEPLOY_DIR_IMAGE: %s' % deploy_dir_image)
390 logger.warning("%s doesn't exist" % qb)
396 logger.debug('DEPLOY_DIR_IMAGE: %s' % p)
399 logger.debug("Assuming %s is an nfs rootfs" % p)
415 logger.debug('Assuming MACHINE = %s' % arg)
446 logger.error("%s not a directory valid DEPLOY_DIR_IMAGE" % deploy_dir_image)
478 logger.setLevel(logging.DEBUG)
483 logger.setLevel(logging.ERROR)
513 logger.info("Enabling audio in qemu")
514 logger.info("Please install sound drivers in linux host")
583 logger.error("You are trying to enable KVM on a cpu without VT support.")
584 logger.error("Remove kvm from the command-line, or refer:")
588 logger.error("Missing KVM device. Have you inserted kvm modules?")
589 logger.error("For further help see:")
600 logger.error("You have no read or write permission on /dev/kvm.")
601 logger.error("Please change the ownership of this file as described at:")
606 logger.error("Missing virtio net device. Have you inserted vhost-net module?")
607 logger.error("For further help see:")
611 logger.error("You have no read or write permission on /dev/vhost-net.")
612 logger.error("Please change the ownership of this file as described at:")
639 logger.warn('Unknown flag "%s:%s" in QB_FSINFO', fstype, fsflag)
642 logger.warn('QB_FSINFO is not supported for image type "%s"', fstype)
650 logger.error('Invalid parameter "%s" in QB_FSINFO', fsinfo)
806 logger.info('QB_MEM is not set, use 256M by default')
849 logger.warning('QB_AUDIO_OPT is NULL, you may need define it to make audio work')
872 logger.warning("Can't find qemuboot conf file, DEPLOY_DIR_IMAGE is NULL!")
884 logger.debug('Running %s...' % cmd)
909 logger.debug('CONFFILE: %s' % self.qemuboot)
929logger.info('Setting DEPLOY_DIR_IMAGE to folder containing %s (%s)' % (self.qemuboot, imgdir))
947logger.info('Overriding conf file setting of %s to %s from Bitbake environment' % (nv, s.group(1)))
957logger.info('Setting STAGING_DIR_NATIVE and STAGING_BINDIR_NATIVE relative to OE_TMPDIR (%s)' % tm…
963logger.info('Setting STAGING_DIR_NATIVE to OECORE_NATIVE_SYSROOT (%s)' % oecore_native_sysroot)
968 logger.info('Setting STAGING_BINDIR_NATIVE to %s' % staging_bindir_native)
995 logger.info('\n'.join(logoutput))
1032 logger.info('Use %s as NFS_DIR' % dest)
1044 logger.info('NFS_DIR not found, extracting %s to %s' % (src, dest))
1046 logger.info('Running %s...' % str(cmd))
1055 logger.info('Running %s...' % str(cmd))
1071 logger.info("Network configuration:%s", netconf)
1104 logger.info("Port forward changed: %s -> %s" % (p, p_new))
1110 logger.info('Port forward: %s' % ' '.join(hostfwd))
1125 logger.error("runqemu-ifup: %s" % self.qemuifup)
1126 logger.error("runqemu-ifdown: %s" % self.qemuifdown)
1127 logger.error("ip: %s" % ip)
1140 logger.debug('Running %s...' % str(cmd))
1148 logger.info('Found %s.skip, skipping %s' % (lockfile, p))
1153 logger.info("Using preconfigured tap device %s" % tap)
1154logger.info("If this is not intended, touch %s.skip to make runqemu skip %s." %(lockfile, tap))
1159 logger.error("Error: There are no available tap devices to use for networking,")
1160 logger.error("and I see %s exists, so I am not going to try creating" % nosudo_flag)
1165 logger.info("Setting up tap interface under sudo")
1170logger.error('Setting up tap device failed:\n%s\nRun runqemu-gen-tapdevs to manually create one.' …
1176 logger.debug('Created tap: %s' % tap)
1179 logger.error("Failed to setup tap device. Run runqemu-gen-tapdevs to manually create.")
1190 logger.info("Network configuration:%s", netconf)
1229 logger.info("Copying rootfs to %s" % newrootfs)
1232 logger.info("Copy done in %s seconds" % (time.time() - copy_start))
1259 logger.info('Using scsi drive')
1263 logger.info('Using ide drive')
1266 logger.info('Using block virtio drive');
1273 logger.warning("Unknown QB_DRIVE_TYPE: %s" % drive_type)
1274logger.warning("Failed to figure out drive type, consider define or fix QB_DRIVE_TYPE")
1275 logger.warning('Trying to use virtio block drive')
1340 logger.error("Unable to determine QEMU PC System emulator for %s machine." % mach)
1341 logger.error("As %s is not among valid QEMU machines such as," % mach)
1342logger.error("qemux86-64, qemux86, qemuarm64, qemuarm, qemumips64, qemumips64el, qemumipsel, qemum…
1424 logger.info("Interrupt character is '^]'")
1442 logger.info("QEMU binary not found in %s, trying host's QEMU" % qemu_bin)
1445 logger.info("Trying: %s" % qemu_bin_tmp)
1450 logger.info("Using host's QEMU: %s" % qemu_bin)
1504 logger.info('Running %s\n' % cmd)
1507 logger.info('Host uptime: %s\n' % uptime_seconds)
1519 logger.info("Qemu terminated by SIGTERM")
1521 logger.error("Failed to run qemu: %s", process.stderr.read().decode())
1530 logger.info("Cleaning up")
1542 logger.info('Host uptime: %s\n' % uptime_seconds)
1545 logger.debug('Running %s' % str(cmd))
1551 logger.info("Shutting down the userspace NFS server...")
1553 logger.debug('Running %s' % str(cmd))
1561 logger.info('Removing %s' % ent)
1589 logger.info('Running %s...' % cmd)
1600logger.warning("Couldn't run 'bitbake -e' to gather environment information:\n%s" % err.output.dec…
1619 logger.info('Running %s...' % str(cmd))
1642 logger.info('Using %s to renice' % renice)
1646 logger.info("Received signal: %s" % (signum))
1661 logger.error(err)