Re: [PATCH v7 5/6] make /proc/meminfo isolate with host through fuse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 06, 2012 at 02:07:21PM +0800, Gao feng wrote:
> +    unsigned long long meminfo[VIR_LXC_FUSE_MEMMAX];
> +enum {
> +    VIR_LXC_FUSE_MEMTOTAL,
> +    VIR_LXC_FUSE_MEMUSAGE,
> +    VIR_LXC_FUSE_CACHED,
> +    VIR_LXC_FUSE_ACTIVE_ANON,
> +    VIR_LXC_FUSE_INACTIVE_ANON,
> +    VIR_LXC_FUSE_ACTIVE_FILE,
> +    VIR_LXC_FUSE_INACTIVE_FILE,
> +    VIR_LXC_FUSE_UNEVICTABLE,
> +    VIR_LXC_FUSE_SWAPTOTAL,
> +    VIR_LXC_FUSE_SWAPUSAGE,
> +    VIR_LXC_FUSE_MEMMAX,
> +};

Any particular reason not to use a struct here?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]