On Wed, Apr 18, 2007 at 08:24:28AM -0400, Aron Griffis wrote:
Hi Daniel,
Yesterday in your libvirt presentation at Xen
Summit, you listed sparc and ppc as architectures
with explicit support in libvirt. I looked
through the code to see how to add ia64 to that
list, but I'm not seeing much mention of sparc or
ppc except in the qemud backend. Is there
somewhere else I should be looking?
That wasn't listing supported archs from libvirt compilation, it was instead
refering to the capabilities APIs. So it was listing archs that might be
supported by the current hypervisor connection. eg, the archs that might be
returned by a call to
virConnectGetCapabilities()
So with Xen on x86_64, it'd list 'x86_64' and 'i386', for Xen on i64
it'd
list 'ia64', for QEMU it'd list i386, x86_64, ppc, sparc.
For Xen we're basically pulling the info out of
/sys/hypervisor/properties/capabilities
We've already got ia64 support there - including a number of test cases to
verify correct parsing
$ ls tests/xencapsdata/*ia64*
tests/xencapsdata/xen-ia64-be.caps tests/xencapsdata/xen-ia64.caps
tests/xencapsdata/xen-ia64-be.cpuinfo tests/xencapsdata/xen-ia64.cpuinfo
tests/xencapsdata/xen-ia64-be-hvm.caps tests/xencapsdata/xen-ia64-hvm.caps
tests/xencapsdata/xen-ia64-be-hvm.cpuinfo tests/xencapsdata/xen-ia64-hvm.cpuinfo
tests/xencapsdata/xen-ia64-be-hvm.xml tests/xencapsdata/xen-ia64-hvm.xml
tests/xencapsdata/xen-ia64-be.xml tests/xencapsdata/xen-ia64.xml
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 -=|