diff options
| -rw-r--r-- | meta/classes-recipe/qemuboot.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes-recipe/qemuboot.bbclass b/meta/classes-recipe/qemuboot.bbclass index e30b380c3d..5c4bbd6737 100644 --- a/meta/classes-recipe/qemuboot.bbclass +++ b/meta/classes-recipe/qemuboot.bbclass | |||
| @@ -107,6 +107,13 @@ QB_ROOTFS_EXTRA_OPT ?= "" | |||
| 107 | QB_GRAPHICS ?= "" | 107 | QB_GRAPHICS ?= "" |
| 108 | QB_NFSROOTFS_EXTRA_OPT ?= "" | 108 | QB_NFSROOTFS_EXTRA_OPT ?= "" |
| 109 | 109 | ||
| 110 | # With 6.5+ (specifically, if DMA_BOUNCE_UNALIGNED_KMALLOC is set) the SW IO TLB | ||
| 111 | # is used, and it defaults to 64MB. This is too much when there's only 256MB of | ||
| 112 | # RAM, so request 0 slabs and lets the kernel round up to the appropriate minimum | ||
| 113 | # (1MB, typically). In virtual hardware there's very little need for these bounce | ||
| 114 | # buffers, so the 64MB would be mostly wasted. | ||
| 115 | QB_KERNEL_CMDLINE_APPEND:append = " swiotlb=0" | ||
| 116 | |||
| 110 | # This should be kept align with ROOT_VM | 117 | # This should be kept align with ROOT_VM |
| 111 | QB_DRIVE_TYPE ?= "/dev/sd" | 118 | QB_DRIVE_TYPE ?= "/dev/sd" |
| 112 | 119 | ||
