Am Mon, 10 May 2021 17:24:25 +0200
schrieb Ralf Ramsauer :
> Hi Bram,
>
> On 10/05/2021 16:19, Bram Hooimeijer wrote:
> > Dear Jailhouse community,
> >
> > Is there anyone who has tried to get Windows running in a Jailhouse
> > cell?
> >
> > Given that Windows is often used as HMI, it would be interesting to
> > see whether it would be possible to use it alongside Jailhouse.
> >
> > What are the fundamental limitations one would run into?
>
> You MUST emulate every trap that Windows would cause, as you have no
> chance to adjust Windows, as we can do it with Linux. And Windows
> 'expects' a certain defined environment to be present at boot, such as
> ACPI / Bios / EFI. But we arrive in Jailhouse with in a void
> environment. E.g., there's no regular hardware discovery available for
> platform devices.
The most realistic way would be to bring nested virtualization to
jailhouse, which would enable kvm on the root-cell. I think Jan has
once started that but it never reached a merge-point into jailhouse.
Not too many people seem to care, and it would probably increase the
complexity of jailhouse significantly ... maybe to a point where a
working implementation would still not get merged.
You can most likely run Windows in qemu, performance might be "not
acceptable".
There is "llvm-qemu" to maybe mitigate that to some degree, but i am
not sure that is still in the research state or "ready for a product".
And then there is wine, or choosing QT/GTK for your HMI ... if you can.
I guess QT for HMI is the best way, but you might already have an HMI
which might not be QT ...
regards,
Henning
> I could rather imagine to run Windows in the root-cell rather than in
> a non-root cell. But that would require to port the driver to Windows
> and is probably combined with a huge amount of pain. And who knows
> what Windows is doing with your platform while it is running…
>
> Maybe there's a better chance with Windows for ARM, but I never looked
> into that.
>
> Ralf
>
> >
> > Thanks,
> >
> > Best regards, Bram Hooimeijer
> >
>
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jailhouse-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/20210510194902.40fc1ff9%40md1za8fc.ad001.siemens.net.