[haiku-bugs] Re: [Haiku] #17238: [virtio] Support "direct attach" PCI virtio block

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 03 Sep 2021 19:52:57 -0000

#17238: [virtio] Support "direct attach" PCI virtio block
----------------------------------+---------------------------------
  Reporter:  kallisti5            |      Owner:  nobody
      Type:  bug                  |     Status:  new
  Priority:  normal               |  Milestone:  R1/beta4
 Component:  Drivers/Disk/Virtio  |    Version:  R1/beta3
Resolution:                       |   Keywords:  virtio virtio_block
Blocked By:                       |   Blocking:
  Platform:  All                  |
----------------------------------+---------------------------------
Comment (by kallisti5):

 Oddly looking at these devices.. our virtio_pci bus driver checks for the
 virtio vendor and a device in the ranges:

 {{{
 #define VIRTIO_PCI_VENDORID     0x1AF4
 #define VIRTIO_PCI_DEVICEID_MIN 0x1000
 #define VIRTIO_PCI_DEVICEID_MAX 0x103F
 }}}

 The virtio block device in this VM is 1af4:1042 which is outside of that
 MIN/MAX range :-|   Does that guide the user to attach directly, or does
 the min/max need expanded to pick up the devices?
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17238#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: