Skip to content

Commit

Permalink
Add VirtIO support for VirtualBox
Browse files Browse the repository at this point in the history
  • Loading branch information
ttg-public committed Jan 1, 1970
1 parent e3f62f6 commit 5df3ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/DS3615xs/6.2.4-25556/ramdisk-002-init-script.patch
Expand Up @@ -22,7 +22,7 @@
if [ "$UniqueRD" = "kvmx64" -o \
"$UniqueRD" = "nextkvmx64" -o \
- "$UniqueRD" = "kvmcloud" ]; then
+ "$UniqueRD" = "kvmcloud" ] || (dmesg | grep -q "DMI: QEMU"); then
+ "$UniqueRD" = "kvmcloud" ] || (dmesg | grep -q -E "DMI: .*(QEMU|VirtualBox)"); then
insmod /lib/modules/virtio.ko
insmod /lib/modules/virtio_ring.ko
insmod /lib/modules/virtio_pci.ko
Expand Down

0 comments on commit 5df3ace

Please sign in to comment.