diff options
| author | Anthony Liguori <aliguori@us.ibm.com> | 2012-11-14 08:49:54 -0600 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-11-14 08:49:54 -0600 |
| commit | bf0dfb69f860a7894958068fba45f5268dddd6be (patch) | |
| tree | 86619beaf800fdc5edd2a56193e0417d53957a0c /console.h | |
| parent | f5022a135e4309a54d433c69b2a056756b2d0d6b (diff) | |
| parent | bdd4df332a1bdb20b7fa39ea741f7830e41e1187 (diff) | |
| download | focaccia-qemu-bf0dfb69f860a7894958068fba45f5268dddd6be.tar.gz focaccia-qemu-bf0dfb69f860a7894958068fba45f5268dddd6be.zip | |
Merge remote-tracking branch 'spice/spice.v63' into staging
* spice/spice.v63: spice: fix initialization order pflib: unused, remove it. spice: switch to pixman qxl: call dpy_gfx_resize when entering vga mode qxl: fix cursor reset hw/qxl: qxl_send_events: nop if stopped hw/qxl: guest bug on primary create with stride %4 != 0 Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'console.h')
| -rw-r--r-- | console.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/console.h b/console.h index 70c9a55942..50a0512f32 100644 --- a/console.h +++ b/console.h @@ -377,6 +377,11 @@ static inline pixman_format_code_t ds_get_format(DisplayState *ds) return ds->surface->format; } +static inline pixman_image_t *ds_get_image(DisplayState *ds) +{ + return ds->surface->image; +} + static inline int ds_get_depth(DisplayState *ds) { return ds->surface->pf.depth; |