[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How to set "full update mode" in QEMU (in regards to display output)



On Wed, Apr 08, 2015 at 11:10:00AM +0100, Wei Liu wrote:
> CC Anthony who once told me a trick to do that.
> 
> On Tue, Apr 07, 2015 at 10:44:18PM -0400, mailing lists wrote:
> > Following the guide for nested virtualization here:
> > 
> > http://wiki.xenproject.org/wiki/Nested_Virtualization_in_Xen
> > 
> > It states that one option for display issues is to force "full update mode"
> > in QEMU.  How is that done?  I can't seem to find any documentation on it,
> > and in the QEMU source, full_update isn't a config option.
> > 
> > Does it require a code patch, or is there another way?

I'm not sure what the wiki page is speaking about, but I think the only way
is to patch the code, the following patch should do the trick:

diff --git a/hw/display/vga.c b/hw/display/vga.c
index d1d296c..ced956e 100644
--- a/hw/display/vga.c
+++ b/hw/display/vga.c
@@ -1706,7 +1706,7 @@ static void vga_update_display(void *opaque)
     if (surface_bits_per_pixel(surface) == 0) {
         /* nothing to do */
     } else {
-        full_update = 0;
+        full_update = 1;
         if (!(s->ar_index & 0x20)) {
             graphic_mode = GMODE_BLANK;
         } else {


-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.