diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-22 22:58:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-23 12:06:52 +0100 |
commit | ca940601b889fde1f3ad37c13540383c3516bb96 (patch) | |
tree | 8b9a74778f5d3146f96015712ac7c3ce7c25a651 /meta/lib | |
parent | eb9264cf31c5b11831f9cdcaac8d533e2296290b (diff) | |
download | poky-ca940601b889fde1f3ad37c13540383c3516bb96.tar.gz |
runqemu: Use virtio to mount cdrom drives
The IDE driver in the kernel is fragile and in 4.12 is causing backtraces.
To unblock 4.12 kernel merging use the virtio CD driver instead to mount
iso images which should be faster and more stable.
(From OE-Core rev: f59e729f98ef9b506b0cfdc415567e03ec87f2a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/runqemu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runqemu.py b/meta/lib/oeqa/selftest/cases/runqemu.py index 8805a3837e..1991be7d0c 100644 --- a/meta/lib/oeqa/selftest/cases/runqemu.py +++ b/meta/lib/oeqa/selftest/cases/runqemu.py | |||
@@ -62,7 +62,7 @@ SYSLINUX_TIMEOUT = "10" | |||
62 | cmd = "%s %s iso" % (self.cmd_common, self.machine) | 62 | cmd = "%s %s iso" % (self.cmd_common, self.machine) |
63 | with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu: | 63 | with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu: |
64 | with open(qemu.qemurunnerlog) as f: | 64 | with open(qemu.qemurunnerlog) as f: |
65 | self.assertTrue(' -cdrom ' in f.read(), "Failed: %s" % cmd) | 65 | self.assertTrue('media=cdrom' in f.read(), "Failed: %s" % cmd) |
66 | 66 | ||
67 | @OETestID(2004) | 67 | @OETestID(2004) |
68 | def test_boot_recipe_image(self): | 68 | def test_boot_recipe_image(self): |