[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [libvirt] [PATCH LIBVIRT] libxl: Recognise ARM architectures



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>
>     <clock offset='utc'/>
>     <on_poweroff>destroy</on_poweroff>
>     <on_reboot>restart</on_reboot>
>     <on_crash>destroy</on_crash>
>     <devices>
>       <disk type='block' device='disk'>
>         <source dev='/dev/marilith-n0/debian-disk'/>
>         <target dev='xvda1'/>
>       </disk>
>       <interface type='bridge'>
>         <mac address='8e:a7:8e:3c:f4:f6'/>
>         <source bridge='xenbr0'/>
>       </interface>
>     </devices>
>   </domain>
> 
> Using virsh create and I can destroy it too.
> 
> Currently virsh console fails with:
>   Connected to domain libvirt-test
>   Escape character is ^]
>   error: internal error: cannot find character device <null>
> 
> I haven't investigated yet.

That'll be because no <console> or <serial> device is
listed in your config above I expect. Also looks like
bogus error handling in the console API, not checking
for <null>.


ACK

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.