Re: [Qemu-devel] [PATCH] vga: fix vram double-mapping with -vga std and -M pc-0.12

2012-05-29 Thread Anthony Liguori
On 05/09/2012 11:23 PM, Avi Kivity wrote: With pc-0.12, we map the video RAM both through the PCI BAR (the guest does this) and through a fixed mapping at 0xe000. The memory API doesn't allow this double map, and aborts. Fix by using an alias. Reported-by: Michael Tokarev Signed-off-by: Av

Re: [Qemu-devel] [PATCH] vga: fix vram double-mapping with -vga std and -M pc-0.12

2012-05-14 Thread Avi Kivity
On 05/09/2012 06:23 PM, Avi Kivity wrote: > With pc-0.12, we map the video RAM both through the PCI BAR (the guest does > this) and through a fixed mapping at 0xe000. The memory API doesn't allow > this double map, and aborts. > > Fix by using an alias. > > Ping; should be 1.1ed. -- error c

Re: [Qemu-devel] [PATCH] vga: fix vram double-mapping with -vga std and -M pc-0.12

2012-05-09 Thread Michael Tokarev
On 09.05.2012 19:23, Avi Kivity wrote: > With pc-0.12, we map the video RAM both through the PCI BAR (the guest does > this) and through a fixed mapping at 0xe000. The memory API doesn't allow > this double map, and aborts. > > Fix by using an alias. This appears to work now, at least with -

[Qemu-devel] [PATCH] vga: fix vram double-mapping with -vga std and -M pc-0.12

2012-05-09 Thread Avi Kivity
With pc-0.12, we map the video RAM both through the PCI BAR (the guest does this) and through a fixed mapping at 0xe000. The memory API doesn't allow this double map, and aborts. Fix by using an alias. Reported-by: Michael Tokarev Signed-off-by: Avi Kivity --- hw/vga.c |7 ++-