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

runqemu: add virtio block device #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

muvarov
Copy link
Contributor

@muvarov muvarov commented Nov 22, 2019

Implement new QB_DRIVE_TYPE="/dev/vdb" which falls back
to virtio block device emulated by qemu.
That is needed to support following qemu command line:
-drive id=disk0,file=%s,if=none,format=%s
-device virtio-blk-device,drive=disk0'

Real use case is arm64 emulation with qemu with atf+optee+uboot,
so that uboot driver sees this disk and able to load from it.

Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org

Implement new QB_DRIVE_TYPE="/dev/vdb" which falls back
to virtio block device emulated by qemu.
That is needed to support following qemu command line:
-drive id=disk0,file=%s,if=none,format=%s \
  -device virtio-blk-device,drive=disk0'

Real use case is arm64 emulation with qemu with atf+optee+uboot,
so that uboot driver sees this disk and able to load from it.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
muvarov added a commit to muvarov/ledge-oe-manifest that referenced this pull request Nov 22, 2019
apply ledge specific patch, which sent to upstream:
runqemu: add virtio block device
openembedded/openembedded-core#56

Change-Id: I3f0eb41d460d9ca66a69b49fee105734d31a720c
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
apalos added a commit to Linaro/ledge-oe-manifest that referenced this pull request Nov 22, 2019
apply ledge specific patch, which sent to upstream:
runqemu: add virtio block device
openembedded/openembedded-core#56

Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
@muvarov
Copy link
Contributor Author

muvarov commented Dec 12, 2019

ping.

@kraj
Copy link
Contributor

kraj commented Dec 12, 2019

OE-Core we use mailing list to submit patches. Your patch looks ok. Please send it to openembedded-core@lists.openembedded.org

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.

2 participants