Allow use of pc machine type (accel=xen) for Xen HVM domains.
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 25 Jun 2013 11:46:37 +0000 (11:46 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 25 Jun 2013 12:00:48 +0000 (12:00 +0000)
commita97d6fe6fbb97630d77253d20bdce78f76d01850
treecd79fb71f911826f90882c5c00277bf2979afddb
parentfc744bb10cde3ba7b9ecbaf9e723e99d3b7fa25c
Allow use of pc machine type (accel=xen) for Xen HVM domains.

Xen HVM domains normally spawn QEMU with a dedicated xenfv machine type. The
initialization code for this machine type can easily be pulled into the
generic pc initialization code and guarded with a test for whether the xen
accelerator options is specified, which is more consistent with the way
other accelerators are used.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/i386/pc_piix.c
xen-stub.c