-----Original Message-----
From: Daniel Veillard [mailto:veillard@redhat.com]
Sent: Monday, December 10, 2007 2:47 PM
To: Katti, Vadiraj (STSD-Openview)
Cc: libvir-list(a)redhat.com
Subject: Re: [Libvir] C bindings
On Mon, Dec 10, 2007 at 01:06:38PM +0530, Katti, Vadiraj (STSD-Openview)
wrote:
Hi All,
I'm new to Xen world and am in the process of collecting
performance
information of various guests from dom0. Can somebody help me out
with
these problems.
1. I downloaded libvirt-0.3.3 src and did a 'make' and I'm seeing
this
problem.
xen_internal.c: In function 'xenHypervisorDomainGetOSType':
xen_internal.c:2711: error: 'DOMFLAGS_HVM' undeclared (first use
in
this function)
xen_internal.c:2711: error: (Each undeclared identifier is
reported
only once
DOMFLAGS_HVM is defined in xen_internal.c please check why the
definition in the file ended up not being found, that's a mystery to me.
> Yeah. I've done this cross check already and was puzzled to
see the
error. I had to uncomment the ifdef to make it compile but I'm not sure
if that's the right way to go about.
2. I want to know what are the rpm that the Xen server must
have
to
pull out the performance data of various guests.
3. My Xen server now has these rpms :
# rpm -qa |grep libvirt
libvirt-0.2.0-0.16
libvirt-python-0.2.0-0.16
you need libvirt-0.3.3 or something based on CVS version. Also make
sure you don't have outdated Xen versions too.
document which says how I can compile my c-program using libvirt
? I
tried running info1 example in debug mode and I get this error :
Your installed version of libvirt is too old. update, then start the
daemon, then retry
> can I get a rpm of libvirt which I can directly use to upgrade my
current libvirt. I'm using Xen 3.0 and I guess its not out of date.
4. what is libvirt_proxy ? What is its use ?
Allows to do some access as non-root.
Daniel
--
Red Hat Virtualization group
http://redhat.com/virtualization/
Daniel Veillard | virtualization library
http://libvirt.org/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/