aboutsummaryrefslogtreecommitdiff
path: root/hw/xenpv/xen_machine_pv.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2020-01-21 17:05:31 +0100
committerThomas Huth <thuth@redhat.com>2020-02-04 09:00:57 +0100
commitd9018fbbd68bf3a8338828ee3038341518c74212 (patch)
treeea5f6aa9e7cdcb9484585eb9cab890aef3b9bc15 /hw/xenpv/xen_machine_pv.c
parent432b119be4a5d0902d71869f2a29c3c01d60eb45 (diff)
downloadqemu-d9018fbbd68bf3a8338828ee3038341518c74212.zip
qemu-d9018fbbd68bf3a8338828ee3038341518c74212.tar.gz
qemu-d9018fbbd68bf3a8338828ee3038341518c74212.tar.bz2
trivial: Remove xenfb_enabled from sysemu.h
The define is only used in one other place. Move the code there instead of keeping this xen-specific define in sysemu.h. Message-Id: <20200121161747.10569-1-thuth@redhat.com> Acked-by: Paul Durrant <paul@xen.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/xenpv/xen_machine_pv.c')
-rw-r--r--hw/xenpv/xen_machine_pv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xenpv/xen_machine_pv.c b/hw/xenpv/xen_machine_pv.c
index 3a8af1a..8df575a 100644
--- a/hw/xenpv/xen_machine_pv.c
+++ b/hw/xenpv/xen_machine_pv.c
@@ -60,7 +60,7 @@ static void xen_init_pv(MachineState *machine)
xen_be_register("qnic", &xen_netdev_ops);
/* configure framebuffer */
- if (xenfb_enabled) {
+ if (vga_interface_type == VGA_XENFB) {
xen_config_dev_vfb(0, "vnc");
xen_config_dev_vkbd(0);
}