ennweb / docker-kvm

QEMU/KVM docker image
MIT License
84 stars 47 forks source link

Allow more devices #6

Closed ragaar closed 7 years ago

ragaar commented 7 years ago

Added access to kvm -device ? via the already existing, and largely unused, DISK_DEVICE variable.

NOTE: This may create issue(s) for users that have DISK_DEVICE defined in a format that does not match an expected device.

ragaar commented 7 years ago

For my build, neither pre-defined option (e.g., the scsi driver and the virtio driver) worked. However, I was able to launch successfully using qemu's default, if=ide. Since this was hard-coded I couldn't resolve the conflict without writing the entrypoint, startup.sh. PR seemed easier.

aemr3 commented 7 years ago

That seems reasonable, thank you. Merged.