]> xenbits.xensource.com Git - libvirt.git/commit
qemuBuildDriveDevStr: Prefer default aliases for IDE bus
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 9 Nov 2017 12:34:43 +0000 (13:34 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 10 Nov 2017 14:23:55 +0000 (15:23 +0100)
commit9324f67a572f9b32f25bc088fb9f34e736edc612
tree65d1da929fec5559add3b8fcf1b6263a4f0beb35
parent010f88d5cb4eee45eaaf13c26164fd80dae1c942
qemuBuildDriveDevStr: Prefer default aliases for IDE bus

https://bugzilla.redhat.com/show_bug.cgi?id=1434451

When testing user aliases it was discovered that for 440fx
machine type which has default IDE bus builtin, domain cannot
start if IDE controller has the user provided alias. This is
because for 440fx we don't put the IDE controller onto the
command line (since it is builtin) and therefore any device that
is plugged onto the bus must use the default alias.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-user-aliases.args