[libvirt-users] when save the domain, the following errors occured

Hi, I have create one vm by libvirt api, And I goto virsh, when I doing save the domain, the following errors occurred: virsh # save demo2 /home/wk/libvirt/demo2.save error: Failed to save domain demo2 to /home/wk/libvirt/demo2.save error: internal error unable to send file handle 'migrate': No file descriptor supplied via SCM_RIGHTS virsh # list Id Name State ---------------------------------------------------- 18 demo2 running What was the problem? I cannot find it. Thanks, Kevin.

I have solved this problem after do like this: 1. change the qemu version to 0.15.1 2. configure libvirt with yajl Kevin 发件人: libvirt-users-bounces@redhat.com [mailto:libvirt-users-bounces@redhat.com] 代表 Wangkai (Kevin,C) 发送时间: 2013年4月8日 16:31 收件人: libvirt-users@redhat.com 主题: [libvirt-users] when save the domain, the following errors occured Hi, I have create one vm by libvirt api, And I goto virsh, when I doing save the domain, the following errors occurred: virsh # save demo2 /home/wk/libvirt/demo2.save error: Failed to save domain demo2 to /home/wk/libvirt/demo2.save error: internal error unable to send file handle 'migrate': No file descriptor supplied via SCM_RIGHTS virsh # list Id Name State ---------------------------------------------------- 18 demo2 running What was the problem? I cannot find it. Thanks, Kevin.

On 04/09/2013 02:19 AM, Wangkai (Kevin,C) wrote:
I have solved this problem after do like this:
1. change the qemu version to 0.15.1
What qemu version were you using before you solved the problem? Although older qemu is rare these days, it would be nice to know if upstream libvirt has introduced a regression in managing older qemu. Meanwhile, why not go all the way to qemu 1.4, for even more improvements in qemu?
2. configure libvirt with yajl
Yes, this part is necessary when targetting qemu 0.15 or newer. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

-----Original Message----- From: Eric Blake [mailto:eblake@redhat.com] Sent: Tuesday, April 09, 2013 9:10 PM To: Wangkai (Kevin,C) Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] when save the domain, the following errors occured
On 04/09/2013 02:19 AM, Wangkai (Kevin,C) wrote:
I have solved this problem after do like this:
1. change the qemu version to 0.15.1
What qemu version were you using before you solved the problem? Although older qemu is rare these days, it would be nice to know if upstream libvirt has introduced a regression in managing older qemu.
Meanwhile, why not go all the way to qemu 1.4, for even more improvements in qemu?
[Wangkai (Kevin,C)] Before I used qemu 0.12, and I was not sure, whether the qemu would work, if I update qemu to the latest version. Later, I will try qemu 1.4.
2. configure libvirt with yajl
Yes, this part is necessary when targetting qemu 0.15 or newer.
-- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
Wangkai (Kevin,C)