Statistics
| Branch: | Revision:

root / hw / vga_int.h @ 4eccfec4

History | View | Annotate | Download (8 kB)

# Date Author Comment
af92284b 04/08/2010 12:11 pm Gerd Hoffmann

update bochs vbe interface

The bochs vbe interface got a new register a while back, which specifies
the linear framebuffer size in 64k units. This patch adds support for
the new register to qemu. With this patch applied vgabios 0.6c works
with qemu.

Signed-off-by: Gerd Hoffmann <>...

b5cc6e32 12/18/2009 07:26 pm Anthony Liguori

VMware VGA: Only enable dirty log tracking when fifo is disabled

This patch enables dirty log tracking whenever it's needed and disables it
when it is not.

We unconditionally enable dirty log tracking on reset, restart dirty log
tracking when PCI IO regions are remapped, and disable/enable it based on...

f0138a63 12/18/2009 07:26 pm Anthony Liguori

Make sure to enable dirty tracking of VBE vram mapping

Apparently, VBE maps the VGA vram to a fixed physical location. KVM requires
that all mappings of the VGA vram have dirty tracking enabled on them. Any
access to the VGA vram through the VBE mapping currently fails to result in...

3098b9fd 11/27/2009 07:42 pm Aurelien Jarno

Revert "vga: do not resize the screen on hw_invalidate"

This causes ctrl+alt+u or ctrl+alt+f to not work when windows hasn't been
resized first. Other graphic emulators do resize the screen on
hw_invalidate.

This reverts commit 0bd8246bfec1dfb2eb959f52db535572c0260f4c.

5245d57a 10/30/2009 03:39 pm Gerd Hoffmann

vga roms: move loading from pc.c to vga drivers.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

c3264663 10/27/2009 07:28 pm Juan Quintela

vga: remove unused vga_common_save/load

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

2a3138ab 10/27/2009 07:28 pm Juan Quintela

vga: create is_vbe_vmstate field

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

11b6b345 10/27/2009 07:28 pm Juan Quintela

vga: port vga_common_save/load to vmstate

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

c227f099 10/02/2009 12:12 am Anthony Liguori

Revert "Get rid of _t suffix"

In the very least, a change like this requires discussion on the list.

The naming convention is goofy and it causes a massive merge problem. Something
like this must be presented on the list first so people can provide input...

99a0949b 10/01/2009 09:45 pm malc

Get rid of _t suffix

Some not so obvious bits, slirp and Xen were left alone for the time
being.

Signed-off-by: malc <>

25a18cbd 09/09/2009 10:55 pm Juan Quintela

vga and cirrus_vga: create vga_ioport_invalid() and use it everywhere

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

0d65ddc3 09/09/2009 10:55 pm Juan Quintela

vga: split vga_{load, save} into pci and common parts

Once there adjust VGAState <-> VGACommonState
Export vga_common_save/vga_common_load (nreeded by wmvare_vga
Remove vga.pci_dev field, it is not needed anymore

Signed-off-by: Juan Quintela <>...

f97e36b9 09/09/2009 10:55 pm Juan Quintela

vga: export vga_mem_{read,write}

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

79b97bf2 09/09/2009 10:55 pm Juan Quintela

vga: split vga-isa-mm.o

It is only used in mips softmmu, compile only there.
it_shift field was only used for vga_isa_mm, move it from VGACommonState
to ISAVGAMMstate.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

43bf782b 09/09/2009 10:55 pm Juan Quintela

vga: export vga_ioport_{read,write}

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

03a3e7ba 08/28/2009 04:46 am Juan Quintela

Introduce vga_common_reset() to be able to typcheck vga_reset()

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

a4a2f59c 08/28/2009 04:46 am Juan Quintela

Everything outside of vga.c should use VGACommonState

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

df59cbc6 08/10/2009 09:11 pm Gerd Hoffmann

qdev/prop: convert vga.c to helper macros.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>
Message-Id:

0bd8246b 08/10/2009 09:05 pm Stefano Stabellini

vga: do not resize the screen on hw_invalidate

Hi all,
currently vga always resizes the screen when vga_hw_invalidate is called
while this is not required and all the other graphic emulators don't.
This patch fixes it, making vga invalidate behaviour consistent with the...

fbe1b595 05/13/2009 07:56 pm Paul Brook

Remove vga_ram_size

The vga_ram_size argument to machine init functions always has the same
value, and is ignored by many machines (including SPARC32 which has an
obsolete ifdef for VGA_RAM_SIZE).

Remove it and push VGA_RAM_SIZE into vga_int.h.

Signed-off-by: Paul Brook <>

4e12cd94 05/09/2009 12:11 am Avi Kivity

vga: Replace VGA_COMMON with a structure

All VGA devices share a common field subset; currently they do so by
a macro which defines the common fields inline their state structures,
relying on the the common state being placed at offset 0 in the structure....

4b16eb9d 04/17/2009 05:26 pm aliguori

vga: Cleanup dirty logging (Jan Kiszka)

In theory, there are no more quirks in the KVM slot management that
requires dirty log start/stop all over the place. We just have to start
the logging each time the mapping may have changed. This patch drops
vga_dirty_log_stop for both standard and cirrus VGA. It also reverts...

b584726d 04/10/2009 05:24 am pbrook

Clean up VGA ram allocation.

Signed-off-by: Paul Brook <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7063 c046a42c-6fe2-441c-8c8c-71466251a162

799e709b 04/07/2009 11:55 pm aliguori

Revert r6989

There is a much more elegant fix that will follow up after this commit.

Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7025 c046a42c-6fe2-441c-8c8c-71466251a162

9586fefe 04/05/2009 09:41 pm aliguori

Fix display breakage when resizing the screen (v2) (Avi Kivity)

When the vga resolution changes, a new display surface is not allocated
immediately; instead that is deferred until the next update. However,
if we're running without a display client attached, that won't happen...

e07d630a 01/16/2009 09:07 pm aliguori

fix screendump (Stefano Stabellini)

this patch fixes the screendump functionality that was recently broken;
it must be applied after PATCH 5, 6 and 7 of the original displaystate
change patch series.
In fact the other patches make much easier to solve the screendump...

3023f332 01/16/2009 09:04 pm aliguori

graphical_console_init change (Stefano Stabellini)

Patch 5/7

This patch changes the graphical_console_init function to return an
allocated DisplayState instead of a QEMUConsole.

This patch contains just the graphical_console_init change and few other
modifications mainly in console.c and vl.c....

7d957bd8 01/16/2009 12:14 am aliguori

DisplayState interface change (Stefano Stabellini)

This patch changes the DisplayState interface adding support for
multiple frontends at the same time (sdl and vnc) and implements most
of the benefit of the shared_buf patch without the added complexity....

4abc796d 01/05/2009 07:37 pm blueswir1

Add cirrus reset handler

The vga reset handler overwrites some cirrus registers, causing reboots
to corrupt cirrus state to the point that guests can only bring up 640x480
resolutions.

Fix by adding a dedicated cirrus reset handler (which calls the common vga...

8da3ff18 12/01/2008 08:59 pm pbrook

Change MMIO callbacks to use offsets, not absolute addresses.

Signed-off-by: Paul Brook <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5849 c046a42c-6fe2-441c-8c8c-71466251a162

2bec46dc 11/24/2008 10:21 pm aliguori

vga optimization (Glauber Costa)

Hypervisors like KVM perform badly while doing mmio on
a loop, because it'll generate an exit on each access.
This is the case with VGA, which results in very bad
performance.

In this patch, we map the linear frame buffer as RAM,...

b4fbd879 11/24/2008 09:35 pm aliguori

move vga_io_address to VGA State (Glauber Costa)

It'll be reused later by the vga optimization.

Signed-off-by: Glauber Costa <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5791 c046a42c-6fe2-441c-8c8c-71466251a162

4efe2755 11/24/2008 09:33 pm aliguori

better type checking for vga (Glauber Costa)

unsigned long is too bad of a type. Use ram_addr_t instead.

aligurori: fixed a compile warning in this patch

Signed-off-by: Glauber Costa <>
Signed-off-by: Anthony Liguori <>...

cb5a7aa8 09/28/2008 03:42 am malc

Optional "precise" VGA retrace support

Selected via: -vga <name>,retrace=precise

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5336 c046a42c-6fe2-441c-8c8c-71466251a162

c60e08d9 07/01/2008 07:24 pm pbrook

Implement resolution switching in common console code.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4812 c046a42c-6fe2-441c-8c8c-71466251a162

4d3b6f6e 02/10/2008 06:33 pm balrog

Add an ncurses UI.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3976 c046a42c-6fe2-441c-8c8c-71466251a162

3b46e624 09/17/2007 11:09 am ths

find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3177 c046a42c-6fe2-441c-8c8c-71466251a162

5fafdf24 09/17/2007 12:08 am ths

find -type f | xargs sed -i 's/[\t ]$//g' # on most files

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162

f707cfba 05/13/2007 04:26 pm balrog

Allow VMware-SVGA operation enable before command FIFO is configured. Implement "screendump" for 32 bit colour depth.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2808 c046a42c-6fe2-441c-8c8c-71466251a162

2abec30b 04/29/2007 04:47 am ths

Memory-mapped interface for VGA, by Herve Poussineau.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2740 c046a42c-6fe2-441c-8c8c-71466251a162

d34cab9f 04/02/2007 04:10 am ths

VMware SVGA II emulation, by Andrzej Zaborowski.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2579 c046a42c-6fe2-441c-8c8c-71466251a162

37dd208d 09/22/2006 12:46 am bellard

VBE: 8 bit DACs + support for VBE BIOS IDs (Volker Ruppert)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2163 c046a42c-6fe2-441c-8c8c-71466251a162

83acc96b 08/18/2006 12:32 pm bellard

fixed VGA resolutions with height > 1024

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2121 c046a42c-6fe2-441c-8c8c-71466251a162

d2269f6f 08/17/2006 01:44 pm bellard

save VGA PCI state

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2113 c046a42c-6fe2-441c-8c8c-71466251a162

8454df8b 06/13/2006 07:37 pm bellard

support for Bochs VBE GETCAPS call so that -std-vga works again with new VGA BIOSes - added support for modes up to 1600x1200x32 in -std-vga case

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1957 c046a42c-6fe2-441c-8c8c-71466251a162

d5295253 07/03/2005 05:00 pm bellard

VGA bios support for PowerPC

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1494 c046a42c-6fe2-441c-8c8c-71466251a162

546fa6ab 11/14/2004 07:52 pm bellard

vga font change detection

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1141 c046a42c-6fe2-441c-8c8c-71466251a162

a130a41e 06/08/2004 03:59 am bellard

interlace support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@915 c046a42c-6fe2-441c-8c8c-71466251a162

a8aa669b 06/06/2004 06:17 pm bellard

generic hardware cursor support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@903 c046a42c-6fe2-441c-8c8c-71466251a162

4e3e9d0b 06/05/2004 04:18 pm bellard

avoid using anonymous struct extension (not supported by all gcc 3.x)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@896 c046a42c-6fe2-441c-8c8c-71466251a162

798b0c25 06/05/2004 01:30 pm bellard

generic VGA API layer

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@890 c046a42c-6fe2-441c-8c8c-71466251a162