@LocalContext
def get_qemu_user():
 arch = get_qemu_arch()
 normal = ('qemu-' + arch)
 static = (normal + '-static')
 if misc.which(static):
  return static
 if misc.which(normal):
  return normal
 log.warn_once(('Neither %r nor %r are available' % (normal, static)))

@ LocalContext def get_qemu_user ( ) : arch = get_qemu_arch ( ) normal = ( 'qemu-' + arch ) static = ( normal + '-static' ) if misc . which ( static ) : return static if misc . which ( normal ) : return normal log . warn_once ( ( 'Neither %r nor %r are available' % ( normal , static ) ) )
returns the path to the qemu-user binary for the currently selected architecture .