Re: [Xen-devel] [PATCH] x86/hvm: make sure stdvga cache cannot be re-enabled

2015-11-05 Thread Paul Durrant
> -Original Message- > From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: 05 November 2015 12:32 > To: Paul Durrant; xen-de...@lists.xenproject.org > Cc: Keir (Xen.org); Jan Beulich > Subject: Re: [PATCH] x86/hvm: make sure stdvga cache cannot be re- > enabled > > On 05/11/15 1

Re: [Xen-devel] [PATCH] x86/hvm: make sure stdvga cache cannot be re-enabled

2015-11-05 Thread Andrew Cooper
On 05/11/15 12:17, Paul Durrant wrote: > As soon as the cache is disabled, it will become out-of-sync with the > VGA device model and since no mechanism exists to acquire current VRAM > state from the device model, re-enabling it leads to stale data > being seen by the guest. > > The problem can be

[Xen-devel] [PATCH] x86/hvm: make sure stdvga cache cannot be re-enabled

2015-11-05 Thread Paul Durrant
As soon as the cache is disabled, it will become out-of-sync with the VGA device model and since no mechanism exists to acquire current VRAM state from the device model, re-enabling it leads to stale data being seen by the guest. The problem can be seen by deliberately crashing a Windows guest; th