On 02/26/2014 05:37 AM, Daniel P. Berrange wrote:
On Wed, Feb 26, 2014 at 12:34:17PM +0000, Ian Campbell wrote:
> Only tested on v7 but the v8 equivalent seems pretty obvious.
>
> XEN_CAP_REGEX already accepts more than it should (e.g. x86_64p or x86_32be)
> but I have stuck with the existing pattern.
>
> With this I can create a guest from:
> <domain type='xen'>
> <name>libvirt-test</name>
> <uuid>6343998e-9eda-11e3-98f6-77252a7d02f3</uuid>
> <memory>393216</memory>
> <currentMemory>393216</currentMemory>
> <vcpu>1</vcpu>
> <os>
> <type arch='armv7l' machine='xenpv'>linux</type>
> <kernel>/boot/vmlinuz-arm-native</kernel>
> <cmdline>console=hvc0 earlyprintk debug root=/dev/xvda1</cmdline>
> </os>
ACK
I've gone ahead and pushed the patch.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org