Revision 94909d9f

b/hw/xen_machine_pv.c
82 82
    xen_be_register("qdisk", &xen_blkdev_ops);
83 83
    xen_be_register("qnic", &xen_netdev_ops);
84 84

  
85
    /* configure framebuffer */
86
    if (xenfb_enabled) {
87
        xen_config_dev_vfb(0, "vnc");
88
        xen_config_dev_vkbd(0);
89
    }
90

  
85 91
    /* configure disks */
86 92
    for (i = 0; i < 16; i++) {
87 93
        index = drive_get_index(IF_XEN, 0, i);
b/qemu-options.hx
465 465
ETEXI
466 466

  
467 467
DEF("vga", HAS_ARG, QEMU_OPTION_vga,
468
    "-vga [std|cirrus|vmware|none]\n"
468
    "-vga [std|cirrus|vmware|xenfb|none]\n"
469 469
    "                select video card type\n")
470 470
STEXI
471 471
@item -vga @var{type}
b/sysemu.h
88 88
extern int cirrus_vga_enabled;
89 89
extern int std_vga_enabled;
90 90
extern int vmsvga_enabled;
91
extern int xenfb_enabled;
91 92
extern int graphic_width;
92 93
extern int graphic_height;
93 94
extern int graphic_depth;
b/vl.c
216 216
int cirrus_vga_enabled = 1;
217 217
int std_vga_enabled = 0;
218 218
int vmsvga_enabled = 0;
219
int xenfb_enabled = 0;
219 220
#ifdef TARGET_SPARC
220 221
int graphic_width = 1024;
221 222
int graphic_height = 768;
......
4225 4226
    cirrus_vga_enabled = 0;
4226 4227
    std_vga_enabled = 0;
4227 4228
    vmsvga_enabled = 0;
4229
    xenfb_enabled = 0;
4228 4230
    if (strstart(p, "std", &opts)) {
4229 4231
        std_vga_enabled = 1;
4230 4232
    } else if (strstart(p, "cirrus", &opts)) {
4231 4233
        cirrus_vga_enabled = 1;
4232 4234
    } else if (strstart(p, "vmware", &opts)) {
4233 4235
        vmsvga_enabled = 1;
4236
    } else if (strstart(p, "xenfb", &opts)) {
4237
        xenfb_enabled = 1;
4234 4238
    } else if (!strstart(p, "none", &opts)) {
4235 4239
    invalid_vga:
4236 4240
        fprintf(stderr, "Unknown vga type: %s\n", p);

Also available in: Unified diff