Re: [libvirt] Two core dumps are generated in multi-thread scenarios

2012-09-23 Thread Daniel Veillard
On Sun, Sep 23, 2012 at 03:32:52AM +, Benjamin Wang (gendwang) wrote: Hi, I found two core dumps generated in multi-thread scenarios in ESX part. Case1: libcurl support multi-thread core dump: #12 0x2aaabea89712 in addbyter () from /usr/local/lib/libcurl.so.4 #13 0x2aaabea89b86

Re: [libvirt] TSC scaling interface to management

2012-09-23 Thread Dor Laor
On 09/23/2012 04:06 AM, Marcelo Tosatti wrote: On Fri, Sep 21, 2012 at 11:30:31PM +0300, Dor Laor wrote: On 09/21/2012 05:51 AM, Marcelo Tosatti wrote: On Fri, Sep 21, 2012 at 12:02:46AM +0300, Dor Laor wrote: On 09/12/2012 06:39 PM, Marcelo Tosatti wrote: HW TSC scaling is a feature of

Re: [libvirt] [PATCH v8][re-send] support offline migration

2012-09-23 Thread li guang
Hi, Daniel I did experience what you did, but when I prepared disk images which domain required, then run virsh start domain_name, It be started normally, so, there's maybe something wrong with virsh list for domain state can't be listed. did you try further to start the migrated domain? so, try

Re: [libvirt] Two core dumps are generated in multi-thread scenarios

2012-09-23 Thread Benjamin Wang (gendwang)
Hi, Old code(in esx_vi.c) is as below: curl_easy_setopt(curl-handle, CURLOPT_USERAGENT, libvirt-esx); curl_easy_setopt(curl-handle, CURLOPT_HEADER, 0); New code: curl_easy_setopt(curl-handle, CURLOPT_NOSIGNAL, 1); curl_easy_setopt(curl-handle, CURLOPT_USERAGENT, libvirt-esx);

[libvirt] [PATCH] Network: LXC generic ethernet interface

2012-09-23 Thread Takayuki Usui
The patch adds generic ethernet type to LXC, that allows you to make an arbitrary virtual network interface and associate it to an LXC domain. That does not, however, provide a means to execute a script, that is still available only for QEMU. 1. Create a virtual ethernet device pair

Re: [libvirt] [PATCH] Temporarily shutoff CPUSET cgroup in libvirt.

2012-09-23 Thread Wen Congyang
At 09/22/2012 03:04 AM, Eric Blake Wrote: On 09/21/2012 02:20 AM, Tang Chen wrote: When a cpu or memory is offlined and onlined again, cgroup will not recover any corresponding values. This is a problem in kernel. Do not use CPUSET cgroup to limit threads using cpu and memory until the

Re: [libvirt] [PATCH] Temporarily shutoff CPUSET cgroup in libvirt.

2012-09-23 Thread Tang Chen
Hi Eric, On 09/22/2012 03:04 AM, Eric Blake wrote: -#cgroup_controllers = [ cpu, devices, memory, blkio, cpuset, cpuacct ] +# When a cpu or memory is offlined and onlined again, cgroup will not +# recover any corresponding values. This is a problem in kernel. +# So DO NOT use cpuset cgroup

Re: [libvirt] [PATCH v8][re-send] support offline migration

2012-09-23 Thread li guang
在 2012-09-21五的 11:50 +0100,Daniel P. Berrange写道: # virsh -c avocado dominfo vm1 Id: - Name: vm1 UUID: c7b3edbd-edaf-9455-926a-d65c16db1800 OS Type:hvm State: shut off CPU(s): 1 Max memory: 219200 kB Used memory:219136 kB

Re: [libvirt] [RFC] [PATCH v3 1/6] add a configure option --with-fuse to prepare introduction of fuse support for libvirt lxc

2012-09-23 Thread Gao feng
于 2012年09月17日 13:04, Gao feng 写道: 于 2012年09月11日 10:54, Gao feng 写道: add a configure option --with-fuse to prepare introduction of fuse support for libvirt lxc. With help from Daniel Signed-off-by: Gao feng gaof...@cn.fujitsu.com --- ping... Any comments? -- libvir-list mailing list

Re: [libvirt] [PATCH] Don't install legacy initscripts at same time as systemd ones

2012-09-23 Thread Daniel Veillard
On Fri, Sep 21, 2012 at 11:24:31AM +0100, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The Fedora policies don't want us installing the legacy initscripts in parallel with the systemd ones, so switch to only install the systemd unit Signed-off-by: Daniel P.

[libvirt] RFC: Check if the host device is assignable earlier

2012-09-23 Thread Osier Yang
Hi, I think we already got enough bugs which are about try to assign a host device, then it fails for not assignable, clearly this try and then fails approach is not nice. The reason for not assignable can be various. E.g. * IOMMU or AMD-V is not enabled/supported * platform doesn't

[libvirt] Need help of guest lifecycle control

2012-09-23 Thread Zhimou Peng
Hi, I have a question about guest lifecycle control, many content of element not works, i don't know if i use it in a wrong way. #virsh shutdown aaa on_poweroffdestroy/on_poweroff Domain aaa shut off and not power up again. - expect on_poweroffrestart/on_poweroff should power up again but