It's very easy to build jailhouse in Ubuntu 18.04.  But not ubuntu 20.04( 
produce link error)

1.install kernel-header
2.build jailhouse
  make KDIR=/usr/src/linux-5.4.0       #KDIR is set to the linux src dir 
or  header dir

3. install python and pip etc.
apt install python-pip
pip install wheel
pip install setuptools
pip install Flask
pip install mako


4. install jailhouse 
sudo make install 

jailhouse should be install sucess.
How to use ? 
1.insmod   driver/jailhouse.ko
2.jailhouse enable configs/x86/machine.cell

--------------------------------------------------
The most  diffcult is how to write  good  machine.c to produce machine.cell.
May this help you !





在2021年5月10日星期一 UTC+8 下午6:40:00<Henning Schild> 写道:

> There is no reason for "sudo" for a simple "make". It is likely you are
> missing kernel sources, or tools that the build process needs. Or -
> given that distro - things are outdated. Jailhouse does not need much,
> but also centos does not offer much ;)
>
> try a fresh clone, no "sudo", "make V=1 -j1"
>
> Henning
>
> Am Sat, 8 May 2021 11:19:01 +0530
> schrieb Prashant Kalikotay <[email protected]>:
>
> > Thank you so much for your reply. While my installation I run sudo
> > make and that fails with the error : /path/to/build no such file or
> > directory is present. I checked the path/to/build and it exists and i
> > have also given superuser privileges to the user.
> > Could anyone get me anything on this. I am using CentOS 8.
> > 
> > Regards,
> > Prashant K
> > 
> > On Fri, 7 May 2021, 14:37 Bram Hooimeijer, <
> > [email protected]> wrote:
> > 
> > > 
> > > > Dear Sir/Madam,
> > > >
> > > > I am trying to install jailhouse in
> > > > CentOS 
> > > but the installation did 
> > > > not work or it did not get installed. Whereas when I tried to
> > > > install in 
> > > Ubuntu 
> > > > it readily installed. My query is does Jailhouse install in
> > > > CentOS or is 
> > > there any 
> > > > additional things to be done to install it?. 
> > >
> > > What errors do you get? Maybe there's someone on the list who
> > > encountered those before.
> > >
> > > As far as I know, Jailhouse should run given that the kernel is
> > > properly configured.
> > > For newer Linux kernels, you might need some patches:
> > > 
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit.kiszka.org%2F%3Fp%3Dlinux.git%3Ba%3Dsummary&amp;data=04%7C01%7Cde173c00-e982-4fda-8644-47edf4671d63%40ad011.siemens.com%7C0e6b87ebf9ab493372b708d911e504e8%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637560497853991126%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=ppGRrGseipDA4Jlu%2BQkvXdFOCw5RKP8P6Y2LD6Nh4iY%3D&amp;reserved=0
> > > I have it running with minimal modifications on Linux 5.4
> > >
> > > Best, Bram Hooimeijer
> > >
> > > 
> > > >
> > > > Thanking you in advance.
> > > >
> > > >
> > > > Regards,
> > > >
> > > > Prashant K
> > > >
> > > > -- 
> > > 
> > 
>
>

-- 
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/22bbb8a9-2af9-4e79-9a71-81f20e8f564an%40googlegroups.com.

Reply via email to