Hi,

> > Is there a reason to make this a pointer as opposed to just placing
> > the vp_device struct directly in struct virtiodrive_s?
> 
> That'll work too, both blk and scsi have a struct where we can place
> vp_device inside.  I'll change it for v2.

Oops, wrong.  For virtio-blk it works, but for virtio-scsi all devices
connected to the host adapter share one vp_device instance.  And a
per-hostadapter data structure doesn't exist because we don't need one.

cheers,
  Gerd



Reply via email to