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

Hu Tao hutao at cn.fujitsu.com
Wed Mar 16 01:28:46 UTC 2011


 
> > > +
> > > +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.

-- 
Thanks,
Hu Tao




More information about the libvir-list mailing list