Home
last modified time | relevance | path

Searched hist:e598dee7522bba2b525730cb6e888c5a69c8aead (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A DVirtioSCSIPrivate.he598dee7522bba2b525730cb6e888c5a69c8aead Wed Jul 17 15:48:33 UTC 2013 Jérôme Duval <jerome.duval@gmail.com> virtio_scsi: now handles events like capacity data changed.

* push event requests on the event queue, handles them.
* activate feature VIRTIO_SCSI_F_CHANGE.
* when a capacity data changed event is received, schedule a rescan of the scsi device node
on the scsi dpc queue. we find out unique child node and call the rescan_node() hook.
* Haiku only handles media changed events on removable devices, so the feature
only actually works when the device is defined as such, aka for QEMU the following option:
-device scsi-hd,drive=hd,removable=true
H A DVirtioSCSIController.cppe598dee7522bba2b525730cb6e888c5a69c8aead Wed Jul 17 15:48:33 UTC 2013 Jérôme Duval <jerome.duval@gmail.com> virtio_scsi: now handles events like capacity data changed.

* push event requests on the event queue, handles them.
* activate feature VIRTIO_SCSI_F_CHANGE.
* when a capacity data changed event is received, schedule a rescan of the scsi device node
on the scsi dpc queue. we find out unique child node and call the rescan_node() hook.
* Haiku only handles media changed events on removable devices, so the feature
only actually works when the device is defined as such, aka for QEMU the following option:
-device scsi-hd,drive=hd,removable=true