On 2016-11-03 17:15, [email protected] wrote:
> On Friday, November 4, 2016 at 12:03:29 AM UTC+8, J. Kiszka wrote:
>> On 2016-11-03 14:27, [email protected] wrote:
>>> Hi everyone,
>>>
>>> I'm a bit new to the jailhouse hypervisor. I was wondering if you could help
>>> me debug the following error i encountered upon execution of the following 
>>> commands:
>>>
>>> insmod driver/jailhouse.ko
>>> jailhouse enable configs/mycell.cell
>>> jailhouse cell linux configs/linux-x86-demo.cell 
>>> ../linux/arch/x86/boot/bzImage
>>
>> Was that kernel patched to run in a Jailhouse non-root cell? See
>> Documentation/non-root-linux.txt.
>>
>> Jan
> 
> Hi Jan,
> 
> Yes, I've patched the kernel (4.8.0) from the queues/jailhouse branch to
> disable the ff:
> - CONFIG_SERIO (when i disable this, im unable to use my usb mouse and kbd 
> for qemu setup but works fine for baremetal. ive tried usb passthrough too 
> but still unable to use them. but this issue is less important.)
> - CONFIG_PM_TRACE_RTC
> 
> and enable CONFIG_JAILHOUSE_GUEST.
> 
> I'm using the same kernel for both in qemu and baremetal setups. 
> As well as use the created bzImage (from the same branch) for loading the 
> linux-x86-demo.cell
> 

Currently, you will find it more convenient to have separate kernels for
root and non-root Linux.

Not sure what goes wrong here. I've attached my Linux non-root .config
as reference, maybe there is a subtle difference.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP 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].
For more options, visit https://groups.google.com/d/optout.

Attachment: .config.xz
Description: application/xz

Reply via email to