On 27 September 2011 19:24, Eric Blake <eblake(a)redhat.com> wrote:
On 09/27/2011 11:19 AM, Eric Blake wrote:
>
> On 09/27/2011 10:07 AM, Mauro wrote:
>>
>> Thanks for your replay.
>> I've augmented debug level, run virsh domxml-from-native xen-xm
>> backupsrv.cfg and this is the error:
>>
>>
>> virsh: malloc.c:3097: sYSMALLOc: Assertion `(old_top == (((mbinptr)
>
> That's evil :( - this is a failure from glibc, which implies we've
> corrupted the heap. Try running things under valgrind to find the culprit.
If I do virsh domxml-to-native xen-xm prova.xml it works with no
problems but if I do
virsh domxml-from-native xen-xm backupsrv.cfg I have the error.
Here is my backupsrv.cfg:
#
# Configuration file for the Xen instance backupsrv, created
# by xen-tools 4.2 on Mon Sep 26 13:29:57 2011.
#
#
# Kernel + memory size
#
bootloader = '/usr/lib/xen-default/bin/pygrub'
vcpus = '1'
memory = '1024'
#
# Disk device(s).
#
root = '/dev/xvda2 ro'
disk = [
'phy:/dev/vg-xen-domUs/backupsrv-disk,xvda2,w',
'phy:/dev/vg-xen-domUs/backupsrv-swap,xvda1,w',
]
#
# Physical volumes
#
#
# Hostname
#
name = 'backupsrv'
#
# Networking
#
vif = [ 'ip=192.168.245.10,mac=00:16:3E:65:8E:86,bridge=xenbr.119' ]
#
# Behaviour
#
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'