[libvirt] virtio-scsi support proposal, v2

Paolo Bonzini pbonzini at redhat.com
Fri Dec 23 15:07:30 UTC 2011


On 12/23/2011 12:57 PM, Osier Yang wrote:
> IMHO "device=lun" is the right way to go here, per we want the
> the device is exposed to guest as a LUN but not a normal disk.
> But it seems for Laine's patch, it's also right to use "type=lun",
> as it tries to disable/enable SG_IO for normal disk?

That's a guest-visible property...  it's a bit confusing, but you're
right that device="lun" is preferrable here.  SG_IO on virtio-blk is in
general not the cleanest thing, so it's somewhat expected that the
mapping to XML is not perfect.

Paolo




More information about the libvir-list mailing list