On 07/17/2014 05:28 PM, Chen Hanxiao wrote:
> Before:
> virsh # dominfo chx3
> State: shut off
> Max memory: 92160 KiB
> Used memory:92160 KiB
>
> After:
> virsh # dominfo container1
> State: shut off
> Max memory: 92160 KiB
> Used memory:0 KiB
>
> Similar to qem
ping
> -Original Message-
> From: libvir-list-boun...@redhat.com [mailto:libvir-list-boun...@redhat.com]
> On Behalf Of Chen Hanxiao
> Sent: Thursday, July 17, 2014 5:28 PM
> To: libvir-list@redhat.com
> Subject: [libvirt] [PATCH] LXC: show used memory as 0 when domai
Before:
virsh # dominfo chx3
State: shut off
Max memory: 92160 KiB
Used memory:92160 KiB
After:
virsh # dominfo container1
State: shut off
Max memory: 92160 KiB
Used memory:0 KiB
Similar to qemu cases.
Signed-off-by: Chen Hanxiao
---
src/lxc/lxc_driver.c | 2