Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two fixes for virtio-scsi #1

Open
wants to merge 3 commits into
base: hostos-stable
Choose a base branch
from

Conversation

cuinutanix
Copy link

First is a minor change to be strictly compliant with virtio spec which says the scsi command request header should be 51 bytes, not 56.

The second fixes open-power-host-os/qemu#2. The code structure is lifted from vio-vscsi with some small modifications for virtio-pci.

cuinutanix added 2 commits May 3, 2017 13:12
Otherwise this code leaves the PCI function in a disabled state. The fact
that you can boot from virtio-scsi at all today is due to a separate bug
in QEMU.
Copy link
Member

@nikunjad nikunjad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

: virtio-scsi-add-disk
" scsi-disk.fs" included
;

scsi-disk.fs does have the open and the close functions

https://github.com/open-power-host-os/slof/blob/hostos-devel/slof/fs/scsi-disk.fs#L311

Use the public domain unscii-16 font, the ASCII subset.
@cuinutanix cuinutanix force-pushed the hostos-2.0-nutanix branch from 0027db6 to e1ba266 Compare June 22, 2018 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot boot using vhost-scsi controller.
2 participants