]> git.proxmox.com Git - mirror_qemu.git/commit
spapr: Assume msi_nonbroken
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 8 Dec 2017 03:11:49 +0000 (14:11 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 14 Dec 2017 22:49:24 +0000 (09:49 +1100)
commit4f441474c61f317de7927edfdb1d042b0b6f3882
tree3ddcfc0f0b6a8748c5b891f3033be2bfa27256ff
parentbcb5ce08cf3ddf69af87cc0fe750c3b564f1e6af
spapr: Assume msi_nonbroken

We conditionally adjust part of the guest device tree based on the
global msi_nonbroken flag.  However, the main machine type code
initializes msi_nonbroken to true and there's nothing that would set
it to false again.

So replace the test with an assert().

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
hw/ppc/spapr.c