kvmvapic: Replace FROM_SYSBUS() with QOM type cast
commitf1fc3e66581f638ba72d93c1a4912cfa573dd187
authorIgor Mammedov <imammedo@redhat.com>
Fri, 5 Apr 2013 14:36:59 +0000 (5 16:36 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 15 Apr 2013 23:19:46 +0000 (16 01:19 +0200)
tree271eca1c7f0dcab9329a1f5c8799245f85a42fa6
parentd3c64d6a1874f94246af91963927fb4d924332f1
kvmvapic: Replace FROM_SYSBUS() with QOM type cast

... and define type name and type cast macro for kvmvapic according
to accepted convention.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/i386/kvmvapic.c