summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--softmmu/vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c
index c2919579fd..ad886fb878 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -934,10 +934,12 @@ static const VGAInterfaceInfo vga_interfaces[VGA_TYPE_MAX] = {
         .name = "CG3 framebuffer",
         .class_names = { "cgthree" },
     },
+#ifdef CONFIG_XEN_BACKEND
     [VGA_XENFB] = {
         .opt_name = "xenfb",
         .name = "Xen paravirtualized framebuffer",
     },
+#endif
 };
 
 static bool vga_interface_available(VGAInterfaceType t)