[Libvir] xen long-list s-expression

Daniel P. Berrange berrange at redhat.com
Tue Jul 10 02:53:28 UTC 2007


On Mon, Jul 09, 2007 at 04:12:26PM -0600, Daniel Miles wrote:
> Hello everone, does anybody know if libvirt has any way of getting the full 
> s-expression that xm list --long <domID> produces?

Nope, the SEXPR is a Xen specific format. For configuration options that
we currently support, the libvirt XML format is the equivalent that is
not Xen specific.

> Or failing that, some way to get the location property under 
> device(vfb(location <location string>)) ?

I don't recall there being a location tag under VFB... What information is
it supposed to contain ?   On my Xen 3.1.0  Fedora 7 box I don't see any
location tag in the SEXPR:

# xm list --long  rhel4x86_64 | grep --after 5 vfb
        (vfb
            (vncunused 1)
            (vnclisten 0.0.0.0)
            (type vnc)
            (uuid 42b3fa64-921b-513e-07ea-00cca86dea8d)
        )


Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list