Test suite uses invalid libvirt/QEMU settings when no CDROM is inserted which breaks tests
Originally created by @bertagaz on #11874 (Redmine)
Since what seems to be this test run in Jenkins, a lot of scenarios fail with this error:
Call to virDomainRevertToSnapshot failed: internal error: process exited while connecting to monitor: \
2016-10-10T21:06:02.792162Z qemu-system-x86_64: -drive if=none,media=cdrom,id=drive-sata0-0-2,readonly=on,format=raw: \
Can't use 'raw' as a block driver for the protocol level
(Libvirt::Error)
./features/support/helpers/vm_helper.rb:616:in `revert_to_snapshot'
./features/support/helpers/vm_helper.rb:616:in `restore_snapshot'
./features/step_definitions/snapshots.rb:156:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:200:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/persistence.feature:24:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
There has been an upgrade approx. at that time to qemu 2.6 in Jessie backports, that might explain why.
Feature Branch: test/11874-plug-cdrom-only-when-used