Small cleanup changes. The first removes the helper function by directly checking the property and the second adds a error message if user tries to use "-machine iommu=on" with i440fx.
v3: error_report does not need a \n! v2: 2/2: use error_report for the warning message Bandan Das (2): q35: Check propery to determine if iommu is set i440fx: print an error message if user tries to enable iommu hw/core/machine.c | 5 ----- hw/pci-host/piix.c | 5 +++++ hw/pci-host/q35.c | 2 +- include/hw/boards.h | 1 - 4 files changed, 6 insertions(+), 7 deletions(-) -- 2.5.0