Re: [PATCH 4/4] x86,module: Detect CRn and DRn manipulation

From: Jan Kiszka
Date: Wed Apr 08 2020 - 06:46:56 EST


On 08.04.20 11:04, Paolo Bonzini wrote:
On 08/04/20 10:58, Jan Kiszka wrote:
Why not contribute the Jailhouse loader into Linux?

Definitely planned. But right now it would add the burden of managing
the interface between loader and hypervisor carefully. Currently it is
internal to Jailhouse and maintained in lock-step, without any backward
compatibility.

How often does that change?

Not often, but right now we are at a critical point, starting to explore booting Jailhouse before Linux [1]. That may actually help to settle the interface and move things forward.

Another to-do is overcoming the need for having to map the hypervisor at a fixed location into the kernel address space. Not needed on arm64, still required on 32-bit ARM (well...) and x86 (more important). I would dislike pushing such legacy to upstream.

Jan

[1] https://www.mail-archive.com/jailhouse-dev@xxxxxxxxxxxxxxxx/msg08389.html

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux