Re: Building QEMU as a shared library

2022-01-06 Thread Peter Maydell
On Thu, 23 Dec 2021 at 09:49, Philippe Mathieu-Daudé wrote: > > Hi Peter, > > On 12/15/21 11:10, Peter Maydell wrote: > > On Wed, 15 Dec 2021 at 08:18, Amir Gonnen wrote: > >> My goal is to simulate a mixed architecture system. > >> > >> Today QEMU strongly assumes that the simulated system is a

Re: Building QEMU as a shared library

2021-12-25 Thread Stefan Hajnoczi
On Thu, Dec 23, 2021 at 10:49:46AM +0100, Philippe Mathieu-Daudé wrote: > What are your thoughts on Daniel idea to where (IIUC) cores can are > external processes wired via vhost-user. One problem is not all > operating systems supported provide this possibility. There is no fundamental limitation

Re: Building QEMU as a shared library

2021-12-23 Thread Philippe Mathieu-Daudé
Hi Peter, On 12/15/21 11:10, Peter Maydell wrote: > On Wed, 15 Dec 2021 at 08:18, Amir Gonnen wrote: >> My goal is to simulate a mixed architecture system. >> >> Today QEMU strongly assumes that the simulated system is a *single >> architecture*. >> Changing this assumption and supporting mixed

RE: Building QEMU as a shared library

2021-12-15 Thread Amir Gonnen
bal state. Thanks, Amir -Original Message- From: Stefan Hajnoczi Sent: Wednesday, December 15, 2021 11:46 AM To: Amir Gonnen Cc: qemu-devel@nongnu.org; peter.mayd...@linaro.org; f4...@amsat.org Subject: Re: Building QEMU as a shared library On Wed, Dec 15, 2021 at 08:18:53AM +, Am

Building QEMU as a shared library

2021-12-15 Thread Amir Gonnen
Hi, Before sending a patch, I would like to check if it's of interest to the community. My goal is to simulate a mixed architecture system. Today QEMU strongly assumes that the simulated system is a *single architecture*. Changing this assumption and supporting mixed architecture in QEMU proved

Re: Building QEMU as a shared library

2021-12-15 Thread Stefan Hajnoczi
On Wed, Dec 15, 2021 at 12:18:16PM +, Amir Gonnen wrote: > Easier/faster synchronization is just one side of the issue. > It's much easier to debug a single process or profile it, for example. It's > also easier to deploy and maintain a single process. > > For now, the only "global state" pro

Re: Building QEMU as a shared library

2021-12-15 Thread Peter Maydell
On Wed, 15 Dec 2021 at 13:23, Stefan Hajnoczi wrote: > > On Wed, Dec 15, 2021 at 12:18:16PM +, Amir Gonnen wrote: > > Easier/faster synchronization is just one side of the issue. > > It's much easier to debug a single process or profile it, for example. It's > > also easier to deploy and main

Re: Building QEMU as a shared library

2021-12-15 Thread Daniel P . Berrangé
On Wed, Dec 15, 2021 at 09:45:56AM +, Stefan Hajnoczi wrote: > On Wed, Dec 15, 2021 at 08:18:53AM +, Amir Gonnen wrote: > > Before sending a patch, I would like to check if it's of interest to the > > community. > > > > My goal is to simulate a mixed architecture system. > > Today QEMU st

Re: Building QEMU as a shared library

2021-12-15 Thread Daniel P . Berrangé
On Wed, Dec 15, 2021 at 10:10:35AM +, Peter Maydell wrote: > On Wed, 15 Dec 2021 at 08:18, Amir Gonnen wrote: > > My goal is to simulate a mixed architecture system. > > > > Today QEMU strongly assumes that the simulated system is a *single > > architecture*. > > Changing this assumption and

Re: Building QEMU as a shared library

2021-12-15 Thread Peter Maydell
On Wed, 15 Dec 2021 at 08:18, Amir Gonnen wrote: > My goal is to simulate a mixed architecture system. > > Today QEMU strongly assumes that the simulated system is a *single > architecture*. > Changing this assumption and supporting mixed architecture in QEMU proved to > be > non-trivial and may

Re: Building QEMU as a shared library

2021-12-15 Thread Stefan Hajnoczi
On Wed, Dec 15, 2021 at 08:18:53AM +, Amir Gonnen wrote: > Before sending a patch, I would like to check if it's of interest to the > community. > > My goal is to simulate a mixed architecture system. > Today QEMU strongly assumes that the simulated system is a *single > architecture*. > Cha