mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
xen: add -vga xenfb option, configure xenfb (Gerd Hoffmann)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7228 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
28b85ed8db
commit
94909d9fd9
4 changed files with 12 additions and 1 deletions
|
@ -82,6 +82,12 @@ static void xen_init_pv(ram_addr_t ram_size, int vga_ram_size,
|
|||
xen_be_register("qdisk", &xen_blkdev_ops);
|
||||
xen_be_register("qnic", &xen_netdev_ops);
|
||||
|
||||
/* configure framebuffer */
|
||||
if (xenfb_enabled) {
|
||||
xen_config_dev_vfb(0, "vnc");
|
||||
xen_config_dev_vkbd(0);
|
||||
}
|
||||
|
||||
/* configure disks */
|
||||
for (i = 0; i < 16; i++) {
|
||||
index = drive_get_index(IF_XEN, 0, i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue