]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Introduce qemuDomainDeviceDefValidateControllerIDE
authorLin Ma <lma@suse.com>
Mon, 27 Nov 2017 15:53:00 +0000 (10:53 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Sat, 9 Dec 2017 16:16:58 +0000 (11:16 -0500)
commit07adbd4b1f82a9f09584dfa5fb6ca9063bd24bd0
tree2b60713d12761447ed9fa3ffd6df20521d628121
parent29d8c17b9863a48c04810436468e8fda5eda9dd2
qemu: Introduce qemuDomainDeviceDefValidateControllerIDE

Move the IDE controller check from command line building to
controller def validation. Also explicitly include the avoidance
check for the implicit IDE controller from qemuBuildSkipController.

Cause the IDE case for command line building to generate a
failure if called to add an IDE since that shouldn't happen
if the Validate code did the right thing.
src/qemu/qemu_command.c
src/qemu/qemu_domain.c