qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [SeaBIOS] [PATCH 03/18] virtio: add struct vp_device


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [SeaBIOS] [PATCH 03/18] virtio: add struct vp_device
Date: Tue, 30 Jun 2015 08:31:04 +0200

  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

[Prev in Thread] Current Thread [Next in Thread]