Displaying 20 results from an estimated 10000 matches similar to: "Designing libvirt client"
2013 Apr 11
2
Accessing libvirtd from multiple agents
Hi,
I was wondering if multiple remote agents can access the same libvirtd. How
do we prevent conflicting commands from the different agents. Can different
access permission be set for the agents? (The documentation usually goes
over the case where one agent can access multiple libvirtd and not this
case)
Thanks
Arvind
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Dec 14
3
[LLVMdev] clang and static functions
Hi,
Sorry for not being specific. I just wanted to know if there is any
way at all to force clang to generate intermediate code for static
functions when they are not being called anywhere inside the current
module. Other compilers seem to generate intermediate code (lcc, for
instance).
Thanks for your reply..Olivier.
Sincerely
Arvind
On Mon, Dec 14, 2009 at 1:10 PM, Olivier Meurant
2008 Jan 28
2
[LLVMdev] llc fails to generate code for arm
Hi all,
I had little success installing llvm inside scratchbox for an ARM
build so have been trying to generate assembly code for arm using the
llc utility. However, llc fails to generate code for arm. Output is as
below...
arvind at zeus:~/tools/llvm/del$ llc main.bc -o mainarm -filetype=asm
-march=arm -f
llc: ARMISelDAGToDAG.cpp:73: llvm::SDOperand
LowerCALL(llvm::SDOperand,
2009 Dec 14
0
[LLVMdev] clang and static functions
Ah ok. Sorry. :)
I think that argument "-femit-all-decls" will help you.
Olivier.
On Mon, Dec 14, 2009 at 9:18 PM, Arvind Sudarsanam <
arvind.sudarsanam at aggiemail.usu.edu> wrote:
> Hi,
>
> Sorry for not being specific. I just wanted to know if there is any
> way at all to force clang to generate intermediate code for static
> functions when they are not being
2009 Dec 14
2
[LLVMdev] clang and static functions
Hi,
I am trying to compile a single module (dgemm.c) using clang and
generate dgemm.ll.
Command: clang -emit-llvm dgemm.c -S -o dgemm.ll
Some of the functions are declared as static and clang ignores these functions:
One of the functions is:
static void innerloop(double a, const double* b, double* c, double beta)
{
*b = a*beta;
return;
}
Is there any way to make clang generate llvm code
2008 Jan 28
0
[LLVMdev] llc fails to generate code for arm
HI Arvind,
I think you are using an old llc version. VarArg support was
implemented a long time ago.
Lauro
2008/1/28, Arvind Ayyangar <arvind.ayyangar at gmail.com>:
> Hi all,
> I had little success installing llvm inside scratchbox for an ARM
> build so have been trying to generate assembly code for arm using the
> llc utility. However, llc fails to generate code for
2012 Nov 09
3
[LLVMdev] MODULE_CODE_GLOBALVAR error
Hi,
I have istalled LLVM 3.1 Release+Asserts build. I was just trying out the
hello world sequence of steps in the installation instructions. However
when I run lli or llvm-dis I get an error "invalid MODULE_CODE_GLOBALVAR
record".
I have searched the web and I am not able to fathom what the problem and
its fix is. I have GCC 4.6.3 running on a Ubuntu 12.04 LTS x86-64.
Please let me
2009 Dec 14
0
[LLVMdev] clang and static functions
Hi Arvind,
you need to use it effectively :
static int add(int a, int b) {
return a+b;
}
int use() {
return add(4,5);
}
==>
; ModuleID = '<stdin>'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i386-pc-linux-gnu"
define i32 @use()
2008 Jan 21
2
[LLVMdev] LLVM build freezes in scratchbox, ARM target
Hi,
I am new to LLVM and have been trying to get it working on
scratchbox (ARM target). When I try to build llvm-2.1, the build
freezes with the following output..
/scratchbox/compilers/arm-softfloat-linux-gcc-3.4.4-cs-2005q3-2-glibc-2.3.6/bin/sbox-arm-softfloat-linux-gnu-nm:
'libgcc/./_dvmd_lnx_s.o': No such file
mv -f libgcc/./_dvmd_lnx.visT libgcc/./_dvmd_lnx.vis
2011 Feb 18
1
Using Weights in R
I am new to R. I have a data set like this (given below is a fictional
dataset):
AgeCat FINWT
1 98
2 62
1 75
3 39
4 28
2 47
2 66
4 83
1 19
3 50
I need to calculate the weighted distribution of the variable AgeCat.
In SAS i can do:
proc freq data=ageval;
tables agecat;
weight finwt;
run;
What or is there an equivalent in R?
TIA,
Krishnan
--
Krishnan Viswanathan
1101 High Meadow Dr
2012 Apr 03
1
Compare by row and insert previous row value (Or non Time Series Lag)
I have the following sample dataset (CSV input here:http://goo.gl/YR8LP.
CSV output here: http://goo.gl/EFCC8) which I want to transform as follows.
For each person in a household I want to create two new variables OrigTAZ
and DestTAZ. It should take the value in TripendTAZ and put that in
DestTAZ. For OrigTAZ it should put value of TripendTAZ from the previous
row. For the first trip of every
2010 Jul 01
2
[LLVMdev] Qualitative comparisons between Open64 and llvm
Hi,
I have been working towards developing compiler optimization tools
targeting multi core processors while using LLVM IR as the starting
point and building on top of the analysis and optimization passes
available in the llvm source.
Recently, I looked into Open64 and its intermediate representation
WHIRL. Documentation for developers to use Open64 seems to be inadequate
(when compared to LLVM
2009 Dec 04
2
[LLVMdev] regarding getelementptr
Hi,
I have been working towards generating my own IR code from llvm IR. I
have hit a stumbling block with respect to "getelementptr" used inside
another llvm instruction.
Example: %arrayidx = getelementptr inbounds i32* getelementptr
inbounds ([10 x i32]* @k, i32 0, i32 0), i32 %tmp2 ; <i32*> [#uses=1]
I am unable to get a handle on the second "getelementptr" in this
2010 Jul 15
2
[LLVMdev] Trying to access the user defined variable name
Hi Devang,
Thanks for your reply. You mentioned
" First parameter is the compiler generated temp. and 3rd parameter
provides info about the variable, including its name 'u'."
I did manage to get this far. But, I am finding it difficult to access
this info using LLVM APIs. The third parameter is of type "metadata".
So I was able to access it by casting it to MDNode.
2014 Dec 10
2
[PATCH v1 0/2] Implement guestfs_add_libvirt_dom.
This is only lightly tested at the moment.
For context see:
https://bugzilla.redhat.com/show_bug.cgi?id=1138203#c40
https://bugzilla.redhat.com/show_bug.cgi?id=1075143
https://bugzilla.redhat.com/show_bug.cgi?id=1075164
Note this is not a complete fix. At least one more libguestfs patch
is required (to implement virDomainPtr in the python bindings). Plus
a virt-manager patch.
Rich.
2010 Jul 15
0
[LLVMdev] Trying to access the user defined variable name
On Thu, Jul 15, 2010 at 1:19 PM, Arvind Sudarsanam
<arvind.sudarsanam at aggiemail.usu.edu> wrote:
> Hi Devang,
>
> Thanks for your reply. You mentioned
> " First parameter is the compiler generated temp. and 3rd parameter
> provides info about the variable, including its name 'u'."
>
> I did manage to get this far. But, I am finding it difficult to
2010 Mar 25
4
[LLVMdev] source code information in LLVM IR
Hi,
I am generating llvm IR code for C source code using clang as the
front end. I am wondering if there is any way of mapping an llvm IR
line number back to its C source code line number.
Thanks
Sincerely
Arvind
--
Arvind Sudarsanam
Utah State University
Phone: (435) 512-7769
E-mail: theonemorpheus at gmail.com
Web-site: http://cc.usu.edu/~asudarsanam
2014 Dec 10
3
[PATCH v2 0/3] Implement guestfs_add_libvirt_dom.
This completes the implementation on the libguestfs side, allowing
python-libvirt dom pointers to be passed to guestfs_add_libvirt_dom.
For context see:
https://bugzilla.redhat.com/show_bug.cgi?id=1138203#c40
https://bugzilla.redhat.com/show_bug.cgi?id=1075143
https://bugzilla.redhat.com/show_bug.cgi?id=1075164
Rich.
2014 Dec 11
4
[PATCH v3 0/4] Implement guestfs_add_libvirt_dom.
A hopefully cleaner implementation this time. It doesn't
require any special insights into how libvirt-python is
implemented. Instead, it requires a change to libvirt-python
to add a .c_pointer() method:
https://www.redhat.com/archives/libvir-list/2014-December/msg00615.html
Rich.
2008 Jan 21
0
[LLVMdev] LLVM build freezes in scratchbox, ARM target
On 21/01/2008, Arvind Ayyangar <arvind.ayyangar at gmail.com> wrote:
> Hi,
> I am new to LLVM and have been trying to get it working on
> scratchbox (ARM target). When I try to build llvm-2.1, the build
> freezes with the following output..
>
I have build llvm inside scratchbox sometime ago. More recently Lauro
pointed out that one should use a patched qemu. Not sure