mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
spice: add qxl device
qxl is a paravirtual graphics card. The qxl device is the bridge between the guest and the spice server (aka libspice-server). The spice server will send the rendering commands to the spice client, which will actually render them. The spice server is also able to render locally, which is done in case the guest wants read something from video memory. Local rendering is also used to support display over vnc and sdl. qxl is activated using "-vga qxl". qxl supports multihead, additional cards can be added via '-device qxl". [ v2: add copyright to files ] [ v2: use qemu-common.h for standard includes ] [ v2: create separate qxl-vga device for primary ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
7943a2fac7
commit
a19cbfb346
12 changed files with 2222 additions and 4 deletions
3
sysemu.h
3
sysemu.h
|
@ -102,7 +102,7 @@ extern int incoming_expected;
|
|||
extern int bios_size;
|
||||
|
||||
typedef enum {
|
||||
VGA_NONE, VGA_STD, VGA_CIRRUS, VGA_VMWARE, VGA_XENFB
|
||||
VGA_NONE, VGA_STD, VGA_CIRRUS, VGA_VMWARE, VGA_XENFB, VGA_QXL,
|
||||
} VGAInterfaceType;
|
||||
|
||||
extern int vga_interface_type;
|
||||
|
@ -110,6 +110,7 @@ extern int vga_interface_type;
|
|||
#define std_vga_enabled (vga_interface_type == VGA_STD)
|
||||
#define xenfb_enabled (vga_interface_type == VGA_XENFB)
|
||||
#define vmsvga_enabled (vga_interface_type == VGA_VMWARE)
|
||||
#define qxl_enabled (vga_interface_type == VGA_QXL)
|
||||
|
||||
extern int graphic_width;
|
||||
extern int graphic_height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue