[libvirt] [RFC] support memory reserved feature and optimize mlock guest memory propose

2014-03-05 Thread Zhanghailiang
this demo a few days, it seems to be worked well. But we are not sure is there any other problems , if the main thread and mlock thread access one memory zone at one time without a mutex lock. Is it workable?Or Is there any other idea to support memory reserved ? Thanks zhanghailiang -- libvir-list

Re: [libvirt] [RFC] support memory reserved feature and optimize mlock guest memory propose

2014-03-06 Thread Zhanghailiang
Il 05/03/2014 09:01, Zhanghailiang ha scritto: Hi all: Currently, we use cgroup(memory) to support memory QoS on KVM platform, and use mlock on qemu to support memory reserved. The mlock seems to be not appropriate. Now qemu mlock memory in the main thread, which would lock

Re: [libvirt] [PATCH v3 4/4] migration: Expose 'cancelling' status to user

2015-03-08 Thread zhanghailiang
On 2015/3/7 0:24, Eric Blake wrote: On 03/04/2015 07:09 AM, zhanghailiang wrote: 'cancelling' status is introduced by commit 51cf4c1a, which is mainly avoid s/is introduced/was introduced/ s/which is mainly avoid/mainly to avoid a/ possible starting a new migration process while

[libvirt] [PATCH v4 4/4] migration: Expose 'cancelling' status to user

2015-03-09 Thread zhanghailiang
, but that the migration is still properly cancelled. Newer libvirt will be patched to recognize the new state without the odd error message. Signed-off-by: zhanghailiang zhang.zhanghaili...@huawei.com Reviewed-by: Eric Blake ebl...@redhat.com Cc: libvir-list@redhat.com --- migration/migration.c | 6

[libvirt] [PATCH v5 for-2.3 4/4] migration: Expose 'cancelling' status to user

2015-03-13 Thread zhanghailiang
, but that the migration is still properly cancelled. Newer libvirt will be patched to recognize the new state without the odd error message. Signed-off-by: zhanghailiang zhang.zhanghaili...@huawei.com Reviewed-by: Eric Blake ebl...@redhat.com Cc: libvir-list@redhat.com --- migration/migration.c | 6 +- 1

[libvirt] [PATCH v3 4/4] migration: Expose 'cancelling' status to user

2015-03-04 Thread zhanghailiang
' status only occurs for a short window before the migration aborts, so for users, if they cancell a migration process, it will observe 'cancelling' status occasionally. Signed-off-by: zhanghailiang zhang.zhanghaili...@huawei.com Cc: libvir-list@redhat.com --- migration/migration.c | 6 +- 1 file

[libvirt] [Question] Any plan about supporting MBA (Memory Bandwidth Allocation) in libvirt ?

2018-04-04 Thread Zhanghailiang
Hi, Intel RDT/MBA has been supported by kernel for a time, we also support CAT in libvirt, which is part of RDT. but I didn't find any discussion or patches about MBA feature in Libvirt, does anyone propose supporting it in libvirt ? Thanks, Hailiang -- libvir-list mailing list