[elbe-devel] [PATCH 1/3] init Makefile.mako: Add COW logic for initvm

Olivier Dion dion at linutronix.de
Mon Jun 15 18:09:20 CEST 2020


On Mon, 15 Jun 2020, Torben Hohn <torben.hohn at linutronix.de> wrote:
>> +		-enable-kvm \
>> +		-cpu host \
>
> you enable nesting in an case ?

-cpu host requires -enable-kvm IIRC.

>>  % if opt.nesting:
>> +		-enable-kvm \
>
> why do you enable kvm only when nesting is set ?
> IIRC the $(INTERPRETER) should include "-enable-kvm" when
> this is required.
>
> see elbepack/kvm.py 
>
> it seems like find_kvm_exe() does not work properly where you are.

$(INTERPRETER) only expand to qemu-system-x86_64.  What we need is
$(INTERPRETER-OPTS) to expand to wathever is needed for full
virtualization.  This requires adding a node in the schema and default
to '-enable-kvm' if the interpreter is not 'qemu-kvm'.

-- 
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen



More information about the elbe-devel mailing list