Displaying 20 results from an estimated 400 matches similar to: "[PATCH] wild pointer in xenstat.c"
2005 Oct 27
2
[PATCH] Enable xenstat to use xenstore & fix bugzilla #311
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
--
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2012 Jan 09
1
[PATCH] xenstat: Correct copy of network device name
When xenstat library parse /proc/net/dev, it uses strpbrk function to get pointer
to device name. However, it miss capital letters in the array of valid characters
so it get incorrect name in case device name starts with capital letters or even
segfault if it contains only capital letters.
This patch adds missing characters to strpbrk call.
Signed-off-by: Miroslav Rezanina
2012 Mar 22
5
Regarding xenstat [test.c:3:24: fatal error: xenstat.h: No such file or directory]
Hi
I am using xen4.0.3 in Opensuse11.4. I need to do the monitoring of VM''s
and on that basis take the migration decision so I am trying to write my
own xentop like program. But I am facing trouble while using xenstat.h in
my C program.
test.c:3:24: fatal error: xenstat.h: No such file or directory
But my xentop is working fine. What to do in this case. How to use
libxenstat library in my
2005 Oct 17
2
libxenstat python bindings
Hi
I seem to be having a little trouble with libxenstat, and was wondering
if the xenstat guys might be able to help.
I''ve pulled the xen-unstable.hg tree and done a somewhat clean install
(ie, post-make uninstall, as well as deleting the relevant libxenstat
libraries).
Next, I entered the tools/xenstat/libxenstat directory and modified the
Makefile so that the shared libraries would
2006 Oct 17
0
[PATCH] Fixes for linking on Solaris
# HG changeset patch
# User john.levon@sun.com
# Date 1161090130 25200
# Node ID afeef751f9dafa771726bcfb00b29a10b0baeabd
# Parent 7147e57f18552bbb8d25155cc1c635315283ee31
On Solaris, GCC is configured to use Sun''s LD. Fix the build to use the correct
flags, and link against libsocket where necessary.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/config/Linux.mk
2010 Oct 22
0
[PATCH] tools/xenstat/xentop/xentop.c -- fix xentop so it returns the correct exit code on invalid argument
This patch fixes the problem with xentop where it returns an exit code
of 0 when passing it invalid options when it should return 1. The issue
comes from getopt() returning ''?'' and the case from switch matching it.
The solution was to remove the case ''?'' so that the default match
could be triggered.
Quote from `man 3 getopt`
"If getopt() does not
2006 Jul 31
1
[PATCH 5/6] xen, tools: calculate nr_cpus via num_online_cpus
Once Xen calculates nr_nodes properly, all nr_cpu calculations based on
nr_nodes * sockets_per_node * cores_per_socket * threads_per_core are
broken. The easy fix is to replace those calculations with a new field,
nr_cpus in physinfo which is calculated by num_online_cpus(). This
patch does so and attempts to change all users over to nr_cpus field in
physinfo. This patch touches
2009 Dec 04
0
Failed to initialize xenstat library.
Hi,
I got my system (Ubuntu Karmic 64bits) up and running with xen-3.4.2 and
the latest Linux from Jeremy pv_ops tree but, the xen wasn''t running
smootly...
When I try to start the xend and try to see it, I got:
root@tcmc-dell:~# /etc/init.d/xend stop
root@tcmc-dell:~# /etc/init.d/xend start
.........
root@tcmc-dell:~# xm top
*unable to open xenstore: Connection refused
Failed to
2009 Dec 04
0
Failed to initialize xenstat library.
Hi,
I got my system (Ubuntu Karmic 64bits) up and running with xen-3.4.2 and
the latest Linux from Jeremy pv_ops tree but, the xen wasn''t running
smootly...
When I try to start the xend and try to see it, I got:
root@tcmc-dell:~# /etc/init.d/xend stop
root@tcmc-dell:~# /etc/init.d/xend start
.........
root@tcmc-dell:~# xm top
*unable to open xenstore: Connection refused
Failed to
2007 Sep 24
0
[PATCH] xenstat/xenstore: NetBSD specific pieces
Hi!
Attached patch adds NetBSD specific pieces to xenstat and xenstore.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
--
AMD Saxony, Dresden, Germany
Operating System Research Center
Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
2010 May 19
0
[PATCH] xentop: fix sigsegv
On my system, I''m getting SIGSEGVs in xentop because xenstat_node_domain()
is returning NULL. Skip the loop if it does rather than crashing.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
diff -r 9dda78d7af3b -r 5895ad758076 tools/xenstat/libxenstat/src/xenstat_linux.c
--- a/tools/xenstat/libxenstat/src/xenstat_linux.c Tue May 18 15:38:36 2010 -0700
+++
2006 Oct 17
4
[PATCH] Fix tools build on Solaris
# HG changeset patch
# User john.levon@sun.com
# Date 1161090606 25200
# Node ID c6bfe43048f3becda6966deceb7b70baea833b7c
# Parent 03d4223c846b14fc415cfd05d970c7b4d688fddb
Many of the tools use C99 features such as bool, or expect certain functions.
Fix the CFLAGS to enable these on Solaris.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/config/SunOS.mk b/config/SunOS.mk
---
2010 May 25
0
Loss of hypervisor control - xm, xentop
I am running xen 3.2-1 (Debian 3.2.1-2) on Debian Lenny
(2.6.26-2-xen-amd64 #1 SMP Wed Mar 10) on two identical production
systems.
This morning on one of the systems, xentop stopped displaying. Running
xentop results in:
unable to open xenstore
: Connection refused
Failed to initialize xenstat library
xm list:
Error: (9, ''Bad file descriptor'')
xm dmseg:
Error: Subcommand
2006 Sep 25
1
[PATCH] fix build of gdbstub.c
Changeset 11598 broke the build with my gcc-4.1.2. You can''t forward-declare a static function within another function. Trivial patch attached to fix this.
Signed-off-by: Charles Coffing <ccoffing@novell.com>
gcc -O1 -fno-omit-frame-pointer -g -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
2006 Sep 29
4
[PATCH 4/6] xen: export NUMA topology in physinfo hcall
This patch modifies the physinfo hcall to export NUMA CPU and Memory
topology information. The new physinfo hcall is integrated into libxc
and xend (xm info specifically). Included in this patch is a minor
tweak to xm-test''s xm info testcase. The new fields in xm info are:
nr_nodes : 4
mem_chunks : node0:0x0000000000000000-0x0000000190000000
2006 Oct 12
0
[PATCH] always call SDL_Quit
When qemu-dm is using SDL and has the mouse captured, a "xm destroy" of the VM will cause control of the mouse to be lost. This happens because the qemu-dm is killed with SIGKILL, so atexit doesn''t run, so SDL_Quit doesn''t run. Other things could go wrong too -- for example, if the VM was fullscreen, the video mode probably wouldn''t be reset either.
There
2007 May 22
0
[PATCH] remove unnecessary execute perms
Hi,
rpmlint complains that various blktap files are installed with unnecessary execute permissions:
E: xen-devel spurious-executable-perm (Badness: 100) /usr/lib64/libblktap.a
E: xen-devel spurious-executable-perm (Badness: 100) /usr/include/blktaplib.h
The patch below fixes the problem. It applies against xen-unstable.
Thank you.
Signed-off-by: Charles Coffing <ccoffing@novell.com>
2008 Nov 27
1
Xguests 1.1.0 released
Hi,
We''re happy to announce the 1.1.0 release of xguests, which uses Xenstat
internals to print guest information in a variety of formats. Most of
the information in ''xm top'' is exported.
Formats include:
* XML 1.0
* PHP Arrays
* BASH arrays
* Perl
* CSV
* Easy to scrape text
* The standard ''xm list'' style format
Sample output of the program
2013 Oct 01
1
Bug#725082: libxen-dev: missing libraries
Package: libxen-dev
Version: 4.1.4-3+deb7u1
Severity: wishlist
Dear Maintainer,
I want to make some fine monitoring of my xen machines and the xentop utility does not exactly fits my needs
I saw in the sources that it uses some kind of library named libxenstat wich seems very acurate.
This library is already built to make the xentop utility but the debian package does not makes it available as
2006 Nov 01
1
iteration option for xentop?
Hello to all,
Does anyone know if there is an iteration option planned for xentop
(similar to top) to make it easier for simple shell scripts to scrape
the output?
I don''t see one in tools/xenstat/xentop/xentop.c , but I''ve been meaning
to play with stuff in libxenstat anyway. If its going to be added soon
I''ll tinker much later than sooner.
TIA :)
Best,
-Tim