def _qemu_support_spice(self): qemu_path = find_qemu_binary(find_emulator=True) out, err, rc = run_command(["ldd", qemu_path]) if rc != 0: wok_log.error("Failed to find qemu binary dependencies: %s", err) return False for line in out.split("\n"): if line.lstrip().startswith("libspice-server.so"): return True return False
def _qemu_support_spice(self): qemu_path = find_qemu_binary(find_emulator=True) out, err, rc = run_command(['ldd', qemu_path]) if rc != 0: wok_log.error('Failed to find qemu binary dependencies: %s', err) return False for line in out.split('\n'): if line.lstrip().startswith('libspice-server.so'): return True return False
def _qemu_support_spice(self): qemu_path = find_qemu_binary(find_emulator=True) out, err, rc = run_command(['ldd', qemu_path]) if rc != 0: wok_log.error(f'Failed to find qemu binary dependencies: {err}') return False for line in out.split('\n'): if line.lstrip().startswith('libspice-server.so'): return True return False