[libvirt] [PATCHv2 0/2] qemu: add new disk device='lun' for bus='virtio' & type='block'

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Thu Jan 5 05:49:37 UTC 2012


On Wed,  4 Jan 2012 23:17:51 -0500
Laine Stump <laine at laine.org> wrote:

> 
> This patch series supercedes an earlier series:
> 
>   https://www.redhat.com/archives/libvir-list/2011-December/msg00990.html
> 
> Just before posting those patches (and leaving for 10 days of
> holiday), Paolo Bonzini suggested an alternate XML representation
> (noted in that original message), which has since been discussed and
> agreed on as the proper way to go. These new patches implement that
> alternate method:
> 
>   <disk type='block' device='disk' dev='/dev/sda'> <!-- SG_IO off -->
>   <disk type='block' device='lun'  dev='/dev/sda'> <!-- SG_IO on -->
> 

Hmm, won't this force admins to rewrite their domain definitions ?
Some admin may need to reflesh 100s of domain defintions when he upgrade
distro...

How about

<disk type='block' device='disk' dev='/dev/sda'> <!-- SG_IO on -->
<disk type='block' device='sdisk' dev='/dev/sda'> <!-- SG_IO off -->
(sdisk = secure disk)

and make 'sdisk' as default ?

Thanks,
-Kame




More information about the libvir-list mailing list