Re: [libvirt] [PATCH] Deprecate several CURRENT/LIVE/CONFIG enums

2011-06-15 Thread Hu Tao
On Mon, Jun 13, 2011 at 02:06:49PM -0600, Eric Blake wrote: > On 06/08/2011 12:33 AM, Hu Tao wrote: > > This patch deprecates following enums: > > > > VIR_DOMAIN_MEM_CURRENT > > VIR_DOMAIN_MEM_LIVE > > VIR_DOMAIN_MEM_CONFIG > > > > VIR_DOMAIN_VCPU_LIVE > > VIR_DOMAIN_VCPU_CONFIG > > > > VIR_DOMA

Re: [libvirt] [PATCH] Deprecate several CURRENT/LIVE/CONFIG enums

2011-06-13 Thread Eric Blake
On 06/08/2011 12:33 AM, Hu Tao wrote: > This patch deprecates following enums: > > VIR_DOMAIN_MEM_CURRENT > VIR_DOMAIN_MEM_LIVE > VIR_DOMAIN_MEM_CONFIG > > VIR_DOMAIN_VCPU_LIVE > VIR_DOMAIN_VCPU_CONFIG > > VIR_DOMAIN_DEVICE_MODIFY_CURRENT > VIR_DOMAIN_DEVICE_MODIFY_LIVE > VIR_DOMAIN_DEVICE_MODIF

[libvirt] [PATCH] Deprecate several CURRENT/LIVE/CONFIG enums

2011-06-07 Thread Hu Tao
This patch deprecates following enums: VIR_DOMAIN_MEM_CURRENT VIR_DOMAIN_MEM_LIVE VIR_DOMAIN_MEM_CONFIG VIR_DOMAIN_VCPU_LIVE VIR_DOMAIN_VCPU_CONFIG VIR_DOMAIN_DEVICE_MODIFY_CURRENT VIR_DOMAIN_DEVICE_MODIFY_LIVE VIR_DOMAIN_DEVICE_MODIFY_CONFIG And modify internal codes to use virDomainModifycati