pc: Require xen when initializing xenfv machine
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 28 Sep 2015 20:01:23 +0000 (17:01 -0300)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 19 Oct 2015 10:16:01 +0000 (10:16 +0000)
commita88ae0d44b6b5830b752641b2198735272f13eaf
tree2a2cec585e226d733debd1ff25df5dc7d080c064
parentaedc8806172dd1ae904f04169ee3b19fce1d7893
pc: Require xen when initializing xenfv machine

Without this check, the xen-platform device will crash on reset
if using the accel option with anything other than xen (e.g.
"-machine xenfv,accel=kvm").

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/i386/pc_piix.c