qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] ChrEMU - Virtualization in the Browser


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] ChrEMU - Virtualization in the Browser
Date: Wed, 25 Sep 2013 10:59:49 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Sep 23, 2013 at 01:48:12PM -0500, Anthony Liguori wrote:
> On Sep 23, 2013 8:46 AM, "Stefan Hajnoczi" <address@hidden> wrote:
> >
> > On Tue, Sep 10, 2013 at 08:08:22PM -0400, Joey Carlini wrote:
> > > I managed to get QEMU running on a Crouton install, virtual box not
> being
> > > possible with the Chrome OS kermel with the KVM mods required, and even
> a
> > > couple distros running. Since I enjoy pain and/or haven't done enough
> cool
> > > things to be called a badass dev, I figured, why not try building QEMU
> into
> > > a Chrome app, now that packaged apps are a thing, and native client
> allows
> > > for C code to run within the browser, letting an entire VM run on a
> stock
> > > Chromebook.
> >
> > QEMU isn't pure C code and effort would be required to make it run under
> > Native Client.
> >
> > I've never used Native Client but I think its machine code verifier
> > checks the application to ensure that control flow is safe.  In other
> > words, low-level things that QEMU does like code generation or stack
> > switching are probably not allowed under Native Client since they are
> > unsafe!
> 
> I'm pretty sure coroutines would provide difficult to port too.

The gthread backend should work since it doesn't use stack-switching.

But it seems like a port to NaCl would be a lot slower and more limited
than a native application.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]