disas: QOMify s390x specific disas setup
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Sun, 12 Jul 2015 01:59:58 +0000 (18:59 -0700)
committerAndreas Färber <afaerber@suse.de>
Thu, 22 Oct 2015 13:49:40 +0000 (15:49 +0200)
commitdbad6b74b3de6ce839bd870657b6bcc192e3b74a
treec6f32c0348614c033a668aa66781c7fe5cb2bda7
parentca3e40e233e87f7b29442311736a82da01c0df7b
disas: QOMify s390x specific disas setup

Move the target_disas() s390 specifics to the CPUClass::disas_set_info()
hook and delete the #ifdef specific code in disas.c.

Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andreas Färber <afaerber@suse.de>
disas.c
target-s390x/cpu.c