WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

Re: [Xen-API] xen_vm_get_record give me some bad messages

To: Jim Fehlig <jfehlig@xxxxxxxxxx>
Subject: Re: [Xen-API] xen_vm_get_record give me some bad messages
From: nikolanikov@xxxxxxx
Date: Thu, 14 Jun 2007 19:05:38 +0300
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 14 Jun 2007 09:05:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46704F17.2080606@xxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <1181760675.9f434decd6be1@xxxxxxx> <46704F17.2080606@xxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: mail.bG Webmail 4.0-cvs
yes it is from Xen API c-bindings
in guest_metrics there are some interesting things

One more question

How I can get actual cpu usage for some guest machine?

Replay From Jim Fehlig <jfehlig@xxxxxxxxxx>:

> nikolanikov@xxxxxxx wrote:
> > when I use xen_vm_get_record I get
> >
> > Struct did not contain expected field suspend_VDI.
> > Struct did not contain expected field crash_dumps.
> > Struct did not contain expected field guest_metrics.
> >
> > How can I fix this I use Xen 3.1
> >
>
> I presume you are using the Xen API c-bindings?  I see
> such messages as
> well.  Xend is not populating these fields and hence the
> c-bindings
> complain when unmarshalling the on-wire structure.  I
> have been ignoring
> them unless it is a field of interest - in which case a
> patch is sent to
> xen-devel :-).
>
> Regards,
> Jim
>
>
>
>




-----------------------------

SCENA - Единственото БЕЗПЛАТНО списание за мобилни комуникации и технологии.
http://www.bgscena.com/


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>