[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 12/16] vmware_vga: remove !EMBED_STDVGA code
From: |
andrzej zaborowski |
Subject: |
[Qemu-devel] Re: [PATCH 12/16] vmware_vga: remove !EMBED_STDVGA code |
Date: |
Wed, 14 Oct 2009 21:42:18 +0200 |
2009/10/14 Juan Quintela <address@hidden>:
> andrzej zaborowski <address@hidden> wrote:
>> 2009/10/14 Juan Quintela <address@hidden>:
>>> It don't compile. And the trivial fixes (change vga.foo field to foo field
>>> don't work either. No output
>>
>> Just a note that there's supposed to be no output because your guest
>> OS (and BIOS) expect the standard VGA functionality to be there. The
>> define is only useful for debugging vmware_vga or OS driver. It's ok
>> to drop it if you want.
>
> I preffer to drop it because it has no chance of working (suspend/resume
> code is not there for instance).
>
> Once that we are there. I did a fast try at enabling DIRECT_VRAM with
> the same not working result. Any idea if it would make things
> better/fast/... whatever?
Currently it probably makes things slower. I have not digged through
the newer SDL code deep enough, to tell if it's possible to create a
SDL surface directly from guest RAM provided it's contiguously mapped
on host -- this is what VMware does and it's one of the expected
benefits from using vmware_vga that isn't there, and I think using DGA
saves them another unneeded copy. This would need reimplementing the
pieces guarded by #ifdef DIRECT_VRAM.
Cheers
- [Qemu-devel] [PATCH 06/16] vga: port vmware std vga to vmstate, (continued)
- [Qemu-devel] [PATCH 06/16] vga: port vmware std vga to vmstate, Juan Quintela, 2009/10/14
- [Qemu-devel] [PATCH 04/16] vga: port vga-isa-mm to vmstate, Juan Quintela, 2009/10/14
- [Qemu-devel] [PATCH 05/16] vga: port vga-isa to vmstate, Juan Quintela, 2009/10/14
- [Qemu-devel] [PATCH 07/16] vga: port vga-pci to vmstate, Juan Quintela, 2009/10/14
- [Qemu-devel] [PATCH 10/16] vmware_vga: Remove uselss casts from void *, Juan Quintela, 2009/10/14
- [Qemu-devel] [PATCH 09/16] vmware_vga: Pass pci_vmsga_state_t arg no VGACommonState, Juan Quintela, 2009/10/14
- [Qemu-devel] [PATCH 08/16] vga: remove unused vga_common_save/load, Juan Quintela, 2009/10/14
- [Qemu-devel] [PATCH 12/16] vmware_vga: remove !EMBED_STDVGA code, Juan Quintela, 2009/10/14
[Qemu-devel] [PATCH 11/16] vmware_vga: qemu_malloc() returns void *, Juan Quintela, 2009/10/14
[Qemu-devel] [PATCH 14/16] vmware_vga: scratch is really an array of uint32_t, Juan Quintela, 2009/10/14
[Qemu-devel] [PATCH 15/16] vmware_vga: the support to change dinamically depth is not there, Juan Quintela, 2009/10/14
[Qemu-devel] [PATCH 13/16] vmstate: Add VMSTATE_UINT32_VARRAY support, Juan Quintela, 2009/10/14
[Qemu-devel] [PATCH 16/16] vmware_vga: port to vmstate, Juan Quintela, 2009/10/14