run guests with some niceness
authorMartin Willi <martin@strongswan.org>
Fri, 22 Aug 2008 08:37:15 +0000 (08:37 -0000)
committerMartin Willi <martin@strongswan.org>
Fri, 22 Aug 2008 08:37:15 +0000 (08:37 -0000)
src/dumm/guest.c

index dbb4c6f..c1729d9 100644 (file)
@@ -257,6 +257,7 @@ static bool start(private_guest_t *this, invoke_function_t invoke, void* data,
        
        notify = write_arg(&pos, &left, "%s/%s", this->dirname, NOTIFY_FILE);
        
+       args[i++] = write_arg(&pos, &left, "nice");
        args[i++] = write_arg(&pos, &left, "%s/%s", this->dirname, KERNEL_FILE);
        args[i++] = write_arg(&pos, &left, "root=/dev/root");
        args[i++] = write_arg(&pos, &left, "rootfstype=hostfs");