Displaying 20 results from an estimated 2000 matches similar to: "9p host/guest permissions & selinux...?"
2018 Jan 21
2
best centos server setup for graphics intensive kvm vms?
Hallo list
I've been running fedora for donks as my production laptop os, but now
I want to set up one of those old laptops to run as a home server
running a number of home type vm appliances. I don't want to risk
having to tear down and rebuild the setup every 6 months to a year -
so, figure centos is my best canditate to run as a stable server.
The sort of home type vms I envisage
2018 Jan 22
0
best centos server setup for graphics intensive kvm vms?
You'd need to run virt-manager GUI somehow to manage the VMs. If you run Fedora already on another machine then you can just yum install it and use it from there.
You might run into a problem though with your Libreelec VM as you'd need to enable GPU passthrough for it and for that you need Intel VT-d or AMD-Vi enabled in the BIOS. If your laptop is old it may not have that feature.
2013 Mar 29
1
[LLVMdev] How to use the llvm::Linker?
Hi,All
this one pass that will use the Linker
namespace {
// Hello2 - The second implementation with getAnalysisUsage implemented.
llvm::StringRef programNametest("");
struct Hello2 : public ModulePass {
static char ID; // Pass identification, replacement for typeid
Hello2() : ModulePass(ID) {}
virtual bool runOnModule(llvm::Module &M){
llvm::Linker
2012 Jul 23
2
[LLVMdev] building a pass with cmake
Dear all,
I want to build an LLVM pass by using CMake.
After reading the ralevant part of the documentation (
http://llvm.org/releases/3.1/docs/CMake.html#passdev),
I copied the files in the llvm/lib/Transforms/Hello to another folder in
order to give a try.
Then I renamed the folder as Hello2.
Then I have changed CMakeLists.txt as following:
cmake_minimum_required(VERSION 2.8)
# A
2012 Jul 23
0
[LLVMdev] building a pass with cmake
erkan diken <erkandiken at gmail.com> writes:
[snip]
> It seems that cmake is ok. When I run make install, it gives errors (see
> below) and i think the reason is that it can not find the directory to llvm
> header files.
> I could not figure it out which variable to set and how to use it in order
> to point the required directory ?
> ( as in the make pass build which
2010 Nov 15
1
[LLVMdev] --enable-optimized breaks pass registration for dynamically loadable passes?
Hello all,
Is it well known that building LLVM with --enable-optimized causes
RegisterPass calls to be removed from dynamically loadable libraries
(i.e., those built with LOADABLE_MODULE=1)?
For example, here's what happens to the Hello pass (ToT on Darwin,
both with and without --enable-optimized):
$ pwd
/Users/ransford/llvm/lib/Transforms/Hello
$ nm -j Release+Asserts/Hello.o | c++filt -p
2005 Dec 27
1
Odd Behavior with render
I''d been trying to iterate through an array of hashes using the
ActionController''s render method. Unfortunately, it appears that when
I use a hash as one of the array elements, it gets passed as a nil to
the partial. Here''s some code:
@books = [ ''hello'', ''hello2'' ]
render :partial => "book",
2012 Nov 20
1
[LLVMdev] Removing unused global constant
Hi
I create a simple bytecode file with clang -c -emit-llvm test.c -o test.bc
#include <stdio.h>
void hello(){
printf("hello\n");
}
void hello2(){
printf("hello2\n");
}
Then i want to keep only the hello function so i do :
llvm-extract -func=hello -o test2.bc test.bc
but the string constants are removed and "@.str" is marked as external
@str
2004 Aug 06
1
[LLVMdev] Why I cannot use PgmDependenceGraph?
I want to use PgmDependenceGraph pass , but my pass cannot work with PgmDependenceGraph.
I tried again in Hello2 pass, and it could not work also.
The following is I did with llvm/lib/Transforms/Hello.cpp:
1.insert #include "llvm/Analysis/PgmDependenceGraph.h" in Hello.cpp.
2.insert AU.addRequired<PgmDependenceGraph>() in the getAnalysisUsage(AnalysisUsage &AU) of Hello2.
2007 Feb 08
1
Help with interfacing C & R
Hi all,
I was trying to set up an interface for using C functions in R. For this, my R file hello2.r is:
---------------------------------------------------------------------------------
hello2 <- function(n) {
.C("hello", as.integer(n))
}
hello2(3)
--------------------------------------------------------------------------------
and my hello.c file is:
2017 Oct 26
2
LLVM v6.0 Internalize and GlobalDCE PASS can not work together?
Hi Hal,
Thanks for your hint!
$ /opt/llvm-svn/bin/opt -S -internalize
-internalize-public-api-list=main -globaldce hello3.ll -o
hello3.dce.ll it works :)
But I argue that `main` Function should be inserted into ExternalNames
by default:
Index: lib/Transforms/IPO/Internalize.cpp
===================================================================
--- lib/Transforms/IPO/Internalize.cpp
2008 Jul 18
2
matrix multiplication question
Hello,
I am a newcomer to R and therefore apologize for posting such a
basic question. I am
trying to multiply 2 matrices t(X1)%*%X1, where t(X1) is:
1 2 3 4 5 8 12 13 20 24 26 27 31 33 34 36 37 40 41 42 45 46
47 48 49
ones 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1
Shadow 0 1 1 1 1 1 1 1 0 1 1 1 1 0 1 0
2017 Oct 25
3
LLVM v6.0 Internalize and GlobalDCE PASS can not work together?
Hi LLVM developers,
$ cat hello.c
#include <stdio.h>
void foo() {
}
int main(int argc, char *argv[]) {
for (int i = 0; i < 10; i++) {
printf("%d\n", i);
}
return 0;
}
$ /opt/llvm-svn/bin/clang --version
Fedora clang version 6.0.0 (trunk 316308) (based on LLVM 6.0.0svn)
Target: x86_64-redhat-linux
Thread model: posix
InstalledDir: /opt/llvm-svn/bin
$
2009 Dec 18
1
[LLVMdev] Compiling a raw binary with llvm/clang
$ clang -ffunction-sections -fdata-sections -Os -nostartfiles -c -o hello.o
hello.c
$ clang -ffunction-sections -fdata-sections -Os -nostartfiles -c -o test.o
test.c
$ llvm-ld -s -o hello2 hello.o
$ llc hello2.bc -o hello3
$ ld -o hello_B hello3 --oformat binary
ld:hello3: file format not recognized; treating as linker script
ld:hello3:1: syntax error
I am guessing that is what you meant by the
2002 Dec 09
4
rsync stoped syncing
Hi,
I want to keep the home-Directorys of 2 machines in sync.
Therefor I start rsync every hour with cron.
In the Beginning all worked fine, but now ...
I searched, but can't see the problem.
The home-directorys on the "master" change very often, but the
changes are no longer replicated to the "slave". Both run Linux and
rsync 2.5.5.
The master calls (the long line may be
2018 Aug 15
1
vfs_shadow_copy2 with snapprefix & delimiter options
Hello all,
I already successfully configured shadow copy service without a delimiter and regex. But as soon as I try to get this to work with regex, nothing shows up on the win client.
My config looks like this:
[global]
shadow: localtime = yes
shadow: sort = desc
shadow: format = _%FT%T
shadow: delimiter = _
shadow: snapprefix = ^\(monthly\)\{0,1\}\(weekly\)\{0,1\}\(daily\)\{0,1\}$
2001 Jan 17
0
Couldn't open status file /var/adm/slh/samba/locks/STATUS..LC K
Gunnar,
Check (ll -d dirname) to make sure that there is at least x permission for
everyone in each directory down the /var/adm/slh/samba/locks path;
also, does the STATUS..LCK file exist in the named directory, and if so what
are the permissions on it?
Hope this helps,
Don
-----Original Message-----
From: Bakken, Gunnar [mailto:bakkengj@mail.slh.wisc.edu]
Sent: Tuesday, January 16, 2001 6:08 PM
2001 Jan 16
0
Couldn't open status file /var/adm/slh/samba/locks/STATUS..LCK
Every thing works fine but...
Samba 1.9.18 using default (oplocks = True)
$ /usr/local/samba/bin/smbstatus -d
No path in service weight4 - using /tmp
No path in service lj4d - using /tmp
No path in service lj3si - using /tmp
No path in service lj4si - using /tmp
No path in service lyle4 - using /tmp
No path in service steve4 - using /tmp
No path in service lp - using /tmp
No path in service lp2
2004 Oct 22
1
mounting win2003 server shares fails
I emailed about this before but didn't get any response. I am desperate.
I can mount the share of any computer in the domain. XP (even with sp2), 2000, etc... everything works no problem.
When I try to mount a share on a win2003 server, the command completes successfully, but when I try to view the folder, it is not showing.
I have tried several variations of commands:
mount -t smbfs -o
2007 Apr 26
0
Slow Samba
I am running a Snap 4200 fileserver, which is a network appliance that
uses Samba to share files on a windows network.
I've been experiencing slow performance on the Snap. The issue started
suddenly 5 to 6 weeks ago, so I don't think it's a performance-related
problem. I SSHed into the unit and noticed some odd errors in the samba
event logs. They look something like this: