[libvirt] [PATCH 3/5] libvirt/qemu - support persistent modification of devices.

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Wed Mar 16 02:25:41 UTC 2011


On Wed, 16 Mar 2011 09:28:46 +0800
Hu Tao <hutao at cn.fujitsu.com> wrote:

>  
> > > > +
> > > > +static int qemuDomainModifyDevicePersistent(virDomainPtr dom,
> > > >                                          const char *xml,
> > > 
> > > Indentation is not consistent.
> > > 
> > ok.
> 
> FYI, if you use vim as your editor, the following configuration can save
> you a lot of time:
> 
> set autoindent
> set smartindent
> set cindent
> set tabstop=4
> set shiftwidth=4
> set expandtab
> set cinoptions=(0,:0,l1,t0
> 
> Just select the code snippet and press `=' will indent the code nicely.
> 
Thank you. it's helpful.

-Kame

> -- 
> Thanks,
> Hu Tao
> 




More information about the libvir-list mailing list