On Mon, Sep 18, 2017 at 04:37:49PM +0200, Mohammed Gamal wrote: > Now that the calling x86_iommu_realize() calls object_dynamic_cast(), > doing the cast in amdvi_realize() and vtd_realize() is not needed. > > Use PC_MACHINE macro directly. > > Signed-off-by: Mohammed Gamal <mga...@redhat.com>
Reviewed-by: Eduardo Habkost <ehabk...@redhat.com> I suggest squashing this into patch 1/3. It doesn't need to be a separate patch. -- Eduardo