* [Qemu-devel] Split vga module
@ 2008-06-25 16:35 Màrius Montón
2008-06-25 17:03 ` Blue Swirl
2008-06-25 17:14 ` Andreas Färber
0 siblings, 2 replies; 6+ messages in thread
From: Màrius Montón @ 2008-06-25 16:35 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 844 bytes --]
Hello all,
My question is how I can split VGA module in a different process from QEMU.
I need it in order to simulate a VGA module described in SystemC into
QEMU (http://www.greensocs.com/en/projects/QEMUSystemC) where all
SystemC stuff runs in other process than QEMU.
I look at the code, and vga code seems to be too merged with QEMU itself
to be splitted.. but, there's any solution?
Thank you,
Màrius
--
Màrius Montón i Macián marius.monton@uab.cat
<mailto:marius.monton@uab.cat> http://cephis.uab.es
<http://www.mariusmonton.name>
Hardware Engineer
CEPHIS
Centre de Prototips i Solucions Hardware-Software
Dep. Microelectrònica i Sistemes Electrònics
ETSE - Universitat Autònoma de Barcelona (UAB) Phone: +34 935 813 534
Fax: +34 935 813 033
QC-2090D. ETSE. Campus UAB.
080193 Bellaterra
[-- Attachment #2: Type: text/html, Size: 1985 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Split vga module
2008-06-25 16:35 [Qemu-devel] Split vga module Màrius Montón
@ 2008-06-25 17:03 ` Blue Swirl
2008-06-25 17:23 ` Màrius Montón
2008-06-25 17:14 ` Andreas Färber
1 sibling, 1 reply; 6+ messages in thread
From: Blue Swirl @ 2008-06-25 17:03 UTC (permalink / raw)
To: qemu-devel
On 6/25/08, Màrius Montón <marius.monton@uab.cat> wrote:
>
> Hello all,
>
> My question is how I can split VGA module in a different process from QEMU.
>
> I need it in order to simulate a VGA module described in SystemC into QEMU (http://www.greensocs.com/en/projects/QEMUSystemC) where all SystemC stuff runs in other process than QEMU.
>
> I look at the code, and vga code seems to be too merged with QEMU itself to be splitted.. but, there's any solution?
Interesting. You could try to catch all IO and MMIO towards VGA and
redirect those to the other process with some kind of IPC. You must
change the MMIO area registration, because now the VGA MMIO accesses
are optimised so that no callbacks are involved.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Split vga module
2008-06-25 16:35 [Qemu-devel] Split vga module Màrius Montón
2008-06-25 17:03 ` Blue Swirl
@ 2008-06-25 17:14 ` Andreas Färber
1 sibling, 0 replies; 6+ messages in thread
From: Andreas Färber @ 2008-06-25 17:14 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]
Hello,
Am 25.06.2008 um 18:35 schrieb Màrius Montón:
> My question is how I can split VGA module in a different process
> from QEMU.
>
> I need it in order to simulate a VGA module described in SystemC
> into QEMU (http://www.greensocs.com/en/projects/QEMUSystemC) where
> all SystemC stuff runs in other process than QEMU.
>
> I look at the code, and vga code seems to be too merged with QEMU
> itself to be splitted.. but, there's any solution?
I believe the Q frontend is trying something similar for Q2, you might
want to contact Mike Kronenberg for details on that.
Andreas
[-- Attachment #2: Type: text/html, Size: 988 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Split vga module
2008-06-25 17:03 ` Blue Swirl
@ 2008-06-25 17:23 ` Màrius Montón
2008-06-25 17:33 ` Blue Swirl
0 siblings, 1 reply; 6+ messages in thread
From: Màrius Montón @ 2008-06-25 17:23 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1535 bytes --]
Hello, and thank you for your quick answer,
the problem I see is not with the register access (this is done for
other devices) but with the graphics side.
I don't understand how VGA device draws the screen, (I guess is done
using SDL), and I think this part is too merged with QEMU itself. Is it
true?
Màrius
Blue Swirl wrote:
> On 6/25/08, Màrius Montón <marius.monton@uab.cat> wrote:
>
>> Hello all,
>>
>> My question is how I can split VGA module in a different process from QEMU.
>>
>> I need it in order to simulate a VGA module described in SystemC into QEMU (http://www.greensocs.com/en/projects/QEMUSystemC) where all SystemC stuff runs in other process than QEMU.
>>
>> I look at the code, and vga code seems to be too merged with QEMU itself to be splitted.. but, there's any solution?
>>
>
> Interesting. You could try to catch all IO and MMIO towards VGA and
> redirect those to the other process with some kind of IPC. You must
> change the MMIO area registration, because now the VGA MMIO accesses
> are optimised so that no callbacks are involved.
>
--
Màrius Montón i Macián marius.monton@uab.cat
<mailto:marius.monton@uab.cat> http://cephis.uab.es
<http://www.mariusmonton.name>
Hardware Engineer
CEPHIS
Centre de Prototips i Solucions Hardware-Software
Dep. Microelectrònica i Sistemes Electrònics
ETSE - Universitat Autònoma de Barcelona (UAB) Phone: +34 935 813 534
Fax: +34 935 813 033
QC-2090D. ETSE. Campus UAB.
080193 Bellaterra
[-- Attachment #2: Type: text/html, Size: 2930 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Split vga module
2008-06-25 17:23 ` Màrius Montón
@ 2008-06-25 17:33 ` Blue Swirl
2008-06-25 17:55 ` Màrius Montón
0 siblings, 1 reply; 6+ messages in thread
From: Blue Swirl @ 2008-06-25 17:33 UTC (permalink / raw)
To: qemu-devel
On 6/25/08, Màrius Montón <marius.monton@uab.cat> wrote:
>
> Hello, and thank you for your quick answer,
>
> the problem I see is not with the register access (this is done for other devices) but with the graphics side.
> I don't understand how VGA device draws the screen, (I guess is done using SDL), and I think this part is too merged with QEMU itself. Is it true?
>
> Màrius
>
>
> Blue Swirl wrote:
> On 6/25/08, Màrius Montón <marius.monton@uab.cat> wrote:
>
>
> Hello all,
>
> My question is how I can split VGA module in a different process from QEMU.
>
> I need it in order to simulate a VGA module described in SystemC into QEMU (http://www.greensocs.com/en/projects/QEMUSystemC) where all SystemC stuff runs in other process than QEMU.
>
> I look at the code, and vga code seems to be too merged with QEMU itself to be splitted.. but, there's any solution?
>
> Interesting. You could try to catch all IO and MMIO towards VGA and
> redirect those to the other process with some kind of IPC. You must
> change the MMIO area registration, because now the VGA MMIO accesses
> are optimised so that no callbacks are involved.
Well, the graphics side can be SDL, VNC or dummy. I wonder why would
you want to handle that area, because from the emulated system point
of view, your device would be between the screen and the VGA card.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Split vga module
2008-06-25 17:33 ` Blue Swirl
@ 2008-06-25 17:55 ` Màrius Montón
0 siblings, 0 replies; 6+ messages in thread
From: Màrius Montón @ 2008-06-25 17:55 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 2140 bytes --]
Blue Swirl wrote:
> On 6/25/08, Màrius Montón <marius.monton@uab.cat> wrote:
>
>> Hello, and thank you for your quick answer,
>>
>> the problem I see is not with the register access (this is done for other devices) but with the graphics side.
>> I don't understand how VGA device draws the screen, (I guess is done using SDL), and I think this part is too merged with QEMU itself. Is it true?
>>
>> Màrius
>>
>>
>> Blue Swirl wrote:
>> On 6/25/08, Màrius Montón <marius.monton@uab.cat> wrote:
>>
>>
>> Hello all,
>>
>> My question is how I can split VGA module in a different process from QEMU.
>>
>> I need it in order to simulate a VGA module described in SystemC into QEMU (http://www.greensocs.com/en/projects/QEMUSystemC) where all SystemC stuff runs in other process than QEMU.
>>
>> I look at the code, and vga code seems to be too merged with QEMU itself to be splitted.. but, there's any solution?
>>
>> Interesting. You could try to catch all IO and MMIO towards VGA and
>> redirect those to the other process with some kind of IPC. You must
>> change the MMIO area registration, because now the VGA MMIO accesses
>> are optimised so that no callbacks are involved.
>>
>
> Well, the graphics side can be SDL, VNC or dummy. I wonder why would
> you want to handle that area, because from the emulated system point
> of view, your device would be between the screen and the VGA card.
>
In fact my idea is to replace the vga module with a new one, using
SystemC stuff, and because this stuff is in a different process
(communicated with qemu using sockets) I need to split VGA part (both
emulated part and graphics part) from QEMU
--
Màrius Montón i Macián marius.monton@uab.cat
<mailto:marius.monton@uab.cat> http://cephis.uab.es
<http://www.mariusmonton.name>
Hardware Engineer
CEPHIS
Centre de Prototips i Solucions Hardware-Software
Dep. Microelectrònica i Sistemes Electrònics
ETSE - Universitat Autònoma de Barcelona (UAB) Phone: +34 935 813 534
Fax: +34 935 813 033
QC-2090D. ETSE. Campus UAB.
080193 Bellaterra
[-- Attachment #2: Type: text/html, Size: 3557 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-06-25 17:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-25 16:35 [Qemu-devel] Split vga module Màrius Montón
2008-06-25 17:03 ` Blue Swirl
2008-06-25 17:23 ` Màrius Montón
2008-06-25 17:33 ` Blue Swirl
2008-06-25 17:55 ` Màrius Montón
2008-06-25 17:14 ` Andreas Färber
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.