Skip to content

Instantly share code, notes, and snippets.

pacifist@gagarin> make battle_room
Scanning dependencies of target Networking
[ 10%] Built target Networking
Scanning dependencies of target Common
[ 39%] Built target Common
Scanning dependencies of target Graphics
[ 59%] Built target Graphics
make[2]: *** No rule to make target 'src/game/CMakeFiles/Game.dir/build'. Stop.
CMakeFiles/Makefile2:312: recipe for target 'src/game/CMakeFiles/Game.dir/all' failed
make[1]: *** [src/game/CMakeFiles/Game.dir/all] Error 2
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.15.0-nitro-kairos (root@stubb) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) ) #41 SMP PREEMPT Wed Jun 18 13:54:22 EDT 2014
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.15.0-nitro-kairos root=UUID=3a949b5a-86d6-47a0-a1ac-588add842c68 ro isolcpus=7 quiet
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009e7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009e800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bf78ffff] usable
#include <sched.h>
#include <linux/sched.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <inttypes.h>
#include <sched.h>
#include <time.h>
#include <sys/types.h>
#include <stdio.h>
/*
* Kernel-based Virtual Machine driver for Linux
*
* This module enables machines with Intel VT-x extensions to run virtual
* machines without emulation or binary translation.
*
* Copyright (C) 2006 Qumranet, Inc.
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* Authors:
#!/bin/bash
if [ ${1} -z ]
then
echo "usage: sudo ./run_test.sh <kairos, vanilla, or nitro>"
exit 1
fi
modprobe edf;
rm temp_overheads.results
#./sched_test_app -s GEDF -f ../Task\ Sets/12t_nl_g -c 100 -r 10
2813 execve("./sched_test_app", ["./sched_test_app", "-s", "EDF", "-c", "100", "-r", "1", "-f", "../Task Sets/12t_nl"], [/* 14 vars */]) = 0
26813 brk(0) = 0x1686000
26813 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
26813 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f73f1565000
26813 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
26813 open("/etc/ld.so.cache", O_RDONLY) = 3
26813 fstat(3, {st_mode=S_IFREG|0644, st_size=25121, ...}) = 0
26813 mmap(NULL, 25121, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f73f155e000
26813 close(3) = 0
26813 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
/*
* QEMU monitor
*
* Copyright (c) 2003-2004 Fabrice Bellard
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
/*
* Kernel-based Virtual Machine driver for Linux
*
* This module enables machines with Intel VT-x extensions to run virtual
* machines without emulation or binary translation.
*
* Copyright (C) 2006 Qumranet, Inc.
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* Authors:
diff --git a/Makefile b/Makefile
index ee80efa..c332def 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 3
PATCHLEVEL = 4
SUBLEVEL = 82
-EXTRAVERSION =
+EXTRAVERSION = -nitro
64,66d63
< #include <linux/nitro.h>
< #include <linux/nitro_main.h>
<
77d73
< //static DEFINE_RAW_SPINLOCK(kvm_count_lock);
148c144
< mutex_lock_killable(&vcpu->mutex);
---
> mutex_lock(&vcpu->mutex);