On 14.02.20 14:31, [email protected] wrote:
Hi all,

I'm trying to create a non-root Linux cell but I'm stuck on the userspace tooling apparently. I can run the apic-demo on x86 just fine, but trying to create the Linux cell yields the following output:

|
$ sudo jailhouse cell linux linux-x86-demo.cell bzImage
Traceback(most recent call last):
File"/usr/libexec/jailhouse/jailhouse-cell-linux",line 850,in<module>
     cell =JailhouseCell(config)
File"/usr/lib/python3.7/site-packages/pyjailhouse/cell.py",line 36,in__init__
raisee
File"/usr/lib/python3.7/site-packages/pyjailhouse/cell.py",line 33,in__init__
     fcntl.ioctl(self.dev,JailhouseCell.JAILHOUSE_CELL_CREATE,create)
OSError:[Errno7]Argumentlist too long
|

I have been following the documentation from here: https://github.com/siemens/jailhouse/blob/master/Documentation/non-root-linux.txt. "bzImage" is the compiled guest cell kernel. The linux-x86-demo config was not altered from the default one in the GIT repository.

The version of Jailhouse I'm using is 0.12 (92db71f257fabd3c08fa4b99498fa61a41ea831d). My root cell config and all the other stuff is the same as stated here: https://groups.google.com/forum/#!topic/jailhouse-dev/p0fcHAib0rw. Right now I am loading the driver (jailhouse.ko) as out-of-tree module, but I made sure the version matches with the userspace tools (both built from the same GIT revision).

Cheers


You likely have to patch the ID of the ioapic in linux-x86-demo.c to the value used in your generated config.

If that doesn't help: Youcan build Jailhouse with CONFIG_TRACE_ERROR (see Documentation/hypervisor-configuration.md). That will report where the error is thrown and may give us another hint what is causing this.

Jan

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

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/eebfa055-f561-d5fb-7da6-706bb1e858ea%40siemens.com.

Reply via email to