*Yes, I tried after enabling  jailhouse by first command I tried to open 
jailhouse console by typing second command but it results same thing as 
jailhouse enable command as shown below:*
root@demo:~# jailhouse enable /etc/jailhouse/qemu-arm64.cell

Initializing Jailhouse hypervisor v0.11 (0-g58052a7a-dirty) on CPU 0
Code location: 0x0000ffffc0200800
Page pool usage after early setup: mem 87/996, remap 0/131072
Initializing processors:
 CPU 0... OK
 CPU 12... OK
 CPU 9... OK
 CPU 6... OK
 CPU 13... OK
 CPU 15... OK
 CPU 8... OK
 CPU 14... OK
 CPU 10... OK
 CPU 11... OK
 CPU 5... OK
 CPU 2... OK
 CPU 4... OK
 CPU 3... OK
 CPU 7... OK
 CPU 1... OK
Initializing unit: irqchip
Initializing unit: PCI
Adding virtual PCI device 00:00.0 to cell "qemu-arm64"
Page pool usage after late setup: mem 143/996, remap 528/131072
Activating hypervisor
root@demo:~#  jailhouse console

Initializing Jailhouse hypervisor v0.11 (0-g58052a7a-dirty) on CPU 0
Code location: 0x0000ffffc0200800
Page pool usage after early setup: mem 87/996, remap 0/131072
Initializing processors:
 CPU 0... OK
 CPU 12... OK
 CPU 9... OK
 CPU 6... OK
 CPU 13... OK
 CPU 15... OK
 CPU 8... OK
 CPU 14... OK
 CPU 10... OK
 CPU 11... OK
 CPU 5... OK
 CPU 2... OK
 CPU 4... OK
 CPU 3... OK
 CPU 7... OK
 CPU 1... OK
Initializing unit: irqchip
Initializing unit: PCI
Adding virtual PCI device 00:00.0 to cell "qemu-arm64"
Page pool usage after late setup: mem 143/996, remap 528/131072
Activating hypervisor
root@demo:~# 
*why I don't get jailhouse console?*
*other command goes well and I can create cell for apic demo and load it 
and start it on the host terminal and it continuously run I can't destroy 
the cell as it is running on the same terminal. So, Main problem is i'm 
unable to get jailhouse console and control it from terminal. How can I do 
that?*

*the sample output and command result is below: once cell is started 
neither I can destroy it or terminate it.*

root@demo:~# jailhouse cell create /etc/jailhouse/qemu-arm64-gic-
demo.cell
Created cell "gic-demo"
Page pool usage after cell creation: mem 154/996, remap 528/131072
root@demo:~# jailhouse cell load gic-demo 
/usr/libexec/jailhouse/demos/gic-demo.bin
Cell "gic-demo" can be loaded
root@demo:~# jailhouse cell start gic-demo
Started cell "gic-demo"
Initializing the GIC...
Initializing the timer...
root@demo:~# Timer fired, jitter: 370435 ns, min: 370435 ns, max: 370435 ns
Timer fired, jitter: 330999 ns, min: 330999 ns, max: 370435 ns
Timer fired, jitter: 155290 ns, min: 155290 ns, max: 370435 ns
Timer fired, jitter: 385564 ns, min: 155290 ns, max: 385564 ns
Timer fired, jitter: 203096 ns, min: 155290 ns, max: 385564 ns
Timer fired, jitter: 189354 ns, min: 155290 ns, max: 385564 ns
Timer fired, jitter: 172258 ns, min: 155290 ns, max: 385564 ns
Timer fired, jitter: 495612 ns, min: 155290 ns, max: 495612 ns
Timer fired, jitter: 199322 ns, min: 155290 ns, max: 495612 ns
Timer fired, jitter: 151016 ns, min: 151016 ns, max: 495612 ns
Timer fired, jitter: 232209 ns, min: 151016 ns, max: 495612 ns
Timer fired, jitter:  63806 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 245225 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 242596 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 159903 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 153548 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 193016 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 339741 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 219532 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 412258 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 197725 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 290612 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 225112 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 386258 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 198854 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 173806 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 247354 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 379548 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 174709 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter: 400241 ns, min:  63806 ns, max: 495612 ns
Timer fired, jitter:  77838 ns, min:  63806 ns, max: 495612 ns


On Thursday, January 9, 2020 at 3:06:41 AM UTC-6, Jan Kiszka wrote:
>
> On 08.01.20 21:54, Saroj Sapkota wrote: 
>  All the requirement docker, qemu, kernel updated to latest as mentioned 
> > in read.md and the results are: 
> > sarojs@engee-e121-d08:/$ docker --version 
> > Docker version 19.03.4, build 9013bf583a 
> > sarojs@engee-e121-d08:/$ qemu-system-x86_64 --version 
> > QEMU emulator version 4.1.0 
> > Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers 
> > sarojs@engee-e121-d08:/$ uname -r 
> > 4.4.0-167-generic 
> > *after this I run build-images.sh and then finally start-qemu.sh* 
> > *and the results is:* 
> > 
> > sarojs@engee-e121-d08:~/Downloads/jailhouse-images$ ./start-qemu.sh 
> arm64 
> > VNC server running on 127.0.0.1:5900 
> > [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd070] 
> > [    0.000000] Linux version 4.19.67 (builder@bc528e2a57f1) (gcc version 
> > 8.3.0 (Debian 8.3.0-2)) #1 SMP PREEMPT Tue Nov 5 18:52:36 UTC 2019 
> > [    0.000000] Machine model: linux,dummy-virt 
> > [    0.000000] Memory limited to 768MB 
> > [    0.000000] efi: Getting EFI parameters from FDT: 
> > [    0.000000] efi: UEFI not found. 
> > [    0.000000] cma: Reserved 16 MiB at 0x000000006f000000 
> > [    0.000000] NUMA: No NUMA configuration found 
> > [    0.000000] NUMA: Faking a node at [mem 
> > 0x0000000000000000-0x000000006fffffff] 
> > [    0.000000] NUMA: NODE_DATA [mem 0x6efe8480-0x6efe9c3f] 
> > [    0.000000] Zone ranges: 
> > [    0.000000]   DMA32    [mem 0x0000000040000000-0x000000006fffffff] 
> > [    0.000000]   Normal   empty 
> > [    0.000000] Movable zone start for each node 
> > [    0.000000] Early memory node ranges 
> > [    0.000000]   node   0: [mem 0x0000000040000000-0x000000006fffffff] 
> > [    0.000000] Initmem setup node 0 [mem 
> > 0x0000000040000000-0x000000006fffffff] 
> > [    0.000000] psci: probing for conduit method from DT. 
> > [    0.000000] psci: PSCIv0.2 detected in firmware. 
> > [    0.000000] psci: Using standard PSCI v0.2 function IDs 
> > [    0.000000] psci: Trusted OS migration not required 
> > [    0.000000] random: get_random_bytes called from 
> > start_kernel+0x94/0x400 with crng_init=0 
> > [    0.000000] percpu: Embedded 22 pages/cpu s53016 r8192 d28904 u90112 
> > [    0.000000] Detected PIPT I-cache on CPU0 
> > [    0.000000] CPU features: enabling workaround for ARM erratum 832075 
> > [    0.000000] CPU features: enabling workaround for EL2 vector 
> hardening 
> > [    0.000000] CPU features: detected: Kernel page table isolation 
> (KPTI) 
> > [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 
> 193536 
> > [    0.000000] Policy zone: DMA32 
> > [    0.000000] Kernel command line:              root=/dev/vda mem=768M 
> > [    0.000000] Memory: 729472K/786432K available (10044K kernel code, 
> > 1294K rwdata, 4312K rodata, 1152K init, 369K bss, 40576K reserved, 
> > 16384K cma-reserved) 
> > [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, 
> Nodes=1 
> > [    0.000000] rcu: Preemptible hierarchical RCU implementation. 
> > [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to 
> > nr_cpu_ids=16. 
> > [    0.000000]     Tasks RCU enabled. 
> > [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, 
> nr_cpu_ids=16 
> > [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 
> > [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode 
> > [    0.000000] GICv3: Distributor has no Range Selector support 
> > [    0.000000] GICv3: no VLPI support, no direct LPI support 
> > [    0.000000] GICv3: CPU0: found redistributor 0 region 
> > 0:0x00000000080a0000 
> > [    0.000000] arch_timer: cp15 timer(s) running at 62.50MHz (phys). 
> > [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff 
> > max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns 
> > [    0.000167] sched_clock: 56 bits at 62MHz, resolution 16ns, wraps 
> > every 4398046511096ns 
> > [    0.009196] Console: colour dummy device 80x25 
> > [    0.011540] console [tty0] enabled 
> > [    0.014855] Calibrating delay loop (skipped), value calculated using 
> > timer frequency.. 125.00 BogoMIPS (lpj=250000) 
> > [    0.015058] pid_max: default: 32768 minimum: 301 
> > [    0.016528] Security Framework initialized 
> > [    0.018663] Dentry cache hash table entries: 131072 (order: 8, 
> > 1048576 bytes) 
> > [    0.019461] Inode-cache hash table entries: 65536 (order: 7, 524288 
> > bytes) 
> > [    0.019731] Mount-cache hash table entries: 2048 (order: 2, 16384 
> bytes) 
> > [    0.019824] Mountpoint-cache hash table entries: 2048 (order: 2, 
> > 16384 bytes) 
> > [    0.082413] ASID allocator initialised with 32768 entries 
> > [    0.090745] rcu: Hierarchical SRCU implementation. 
> > [    0.121397] EFI services will not be available. 
> > [    0.131213] smp: Bringing up secondary CPUs ... 
> > [    0.163456] Detected PIPT I-cache on CPU1 
> > [    0.165414] GICv3: CPU1: found redistributor 1 region 
> > 0:0x00000000080c0000 
> > [    0.165996] CPU1: Booted secondary processor 0x0000000001 
> [0x411fd070] 
> > [    0.209014] Detected PIPT I-cache on CPU2 
> > [    0.209110] GICv3: CPU2: found redistributor 2 region 
> > 0:0x00000000080e0000 
> > [    0.209225] CPU2: Booted secondary processor 0x0000000002 
> [0x411fd070] 
> > [    0.241807] Detected PIPT I-cache on CPU3 
> > [    0.241941] GICv3: CPU3: found redistributor 3 region 
> > 0:0x0000000008100000 
> > [    0.242103] CPU3: Booted secondary processor 0x0000000003 
> [0x411fd070] 
> > [    0.276834] Detected PIPT I-cache on CPU4 
> > [    0.277172] GICv3: CPU4: found redistributor 4 region 
> > 0:0x0000000008120000 
> > [    0.277537] CPU4: Booted secondary processor 0x0000000004 
> [0x411fd070] 
> > [    0.316327] Detected PIPT I-cache on CPU5 
> > [    0.316709] GICv3: CPU5: found redistributor 5 region 
> > 0:0x0000000008140000 
> > [    0.317101] CPU5: Booted secondary processor 0x0000000005 
> [0x411fd070] 
> > [    0.356252] Detected PIPT I-cache on CPU6 
> > [    0.356626] GICv3: CPU6: found redistributor 6 region 
> > 0:0x0000000008160000 
> > [    0.357149] CPU6: Booted secondary processor 0x0000000006 
> [0x411fd070] 
> > [    0.394943] Detected PIPT I-cache on CPU7 
> > [    0.395074] GICv3: CPU7: found redistributor 7 region 
> > 0:0x0000000008180000 
> > [    0.395224] CPU7: Booted secondary processor 0x0000000007 
> [0x411fd070] 
> > [    0.427866] Detected PIPT I-cache on CPU8 
> > [    0.428003] GICv3: CPU8: found redistributor 8 region 
> > 0:0x00000000081a0000 
> > [    0.428163] CPU8: Booted secondary processor 0x0000000008 
> [0x411fd070] 
> > [    0.483476] Detected PIPT I-cache on CPU9 
> > [    0.483774] GICv3: CPU9: found redistributor 9 region 
> > 0:0x00000000081c0000 
> > [    0.484125] CPU9: Booted secondary processor 0x0000000009 
> [0x411fd070] 
> > [    0.517943] Detected PIPT I-cache on CPU10 
> > [    0.518510] GICv3: CPU10: found redistributor a region 
> > 0:0x00000000081e0000 
> > [    0.519101] CPU10: Booted secondary processor 0x000000000a 
> [0x411fd070] 
> > [    0.556796] Detected PIPT I-cache on CPU11 
> > [    0.557390] GICv3: CPU11: found redistributor b region 
> > 0:0x0000000008200000 
> > [    0.557984] CPU11: Booted secondary processor 0x000000000b 
> [0x411fd070] 
> > [    0.594707] Detected PIPT I-cache on CPU12 
> > [    0.595031] GICv3: CPU12: found redistributor c region 
> > 0:0x0000000008220000 
> > [    0.595533] CPU12: Booted secondary processor 0x000000000c 
> [0x411fd070] 
> > [    0.628692] Detected PIPT I-cache on CPU13 
> > [    0.629111] GICv3: CPU13: found redistributor d region 
> > 0:0x0000000008240000 
> > [    0.629460] CPU13: Booted secondary processor 0x000000000d 
> [0x411fd070] 
> > [    0.662432] Detected PIPT I-cache on CPU14 
> > [    0.662815] GICv3: CPU14: found redistributor e region 
> > 0:0x0000000008260000 
> > [    0.663338] CPU14: Booted secondary processor 0x000000000e 
> [0x411fd070] 
> > [    0.701173] Detected PIPT I-cache on CPU15 
> > [    0.701480] GICv3: CPU15: found redistributor f region 
> > 0:0x0000000008280000 
> > [    0.701830] CPU15: Booted secondary processor 0x000000000f 
> [0x411fd070] 
> > [    0.703285] smp: Brought up 1 node, 16 CPUs 
> > [    0.709495] SMP: Total of 16 processors activated. 
> > [    0.709877] CPU features: detected: GIC system register CPU interface 
> > [    0.710137] CPU features: detected: 32-bit EL0 Support 
> > [    0.932452] CPU: All CPU(s) started at EL2 
> > [    0.965064] alternatives: patching kernel code 
> > [    1.021311] devtmpfs: initialized 
> > [    1.038681] clocksource: jiffies: mask: 0xffffffff max_cycles: 
> > 0xffffffff, max_idle_ns: 7645041785100000 ns 
> > [    1.039229] futex hash table entries: 4096 (order: 6, 262144 bytes) 
> > [    1.044588] pinctrl core: initialized pinctrl subsystem 
> > [    1.062703] DMI not present or invalid. 
> > [    1.069419] NET: Registered protocol family 16 
> > [    1.074197] audit: initializing netlink subsys (disabled) 
> > [    1.076449] audit: type=2000 audit(0.776:1): state=initialized 
> > audit_enabled=0 res=1 
> > [    1.084715] cpuidle: using governor menu 
> > [    1.086698] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ 
> > (____ptrval____)) 
> > [    1.086870] hw-breakpoint: found 6 breakpoint and 4 watchpoint 
> registers. 
> > [    1.100600] DMA: preallocated 256 KiB pool for atomic allocations 
> > [    1.105252] Serial: AMBA PL011 UART driver 
> > [    1.142651] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 40, 
> > base_baud = 0) is a PL011 rev1 
> > [    1.165136] console [ttyAMA0] enabled 
> > [    1.370391] HugeTLB registered 2.00 MiB page size, pre-allocated 0 
> pages 
> > [    1.375592] cryptd: max_cpu_qlen set to 1000 
> > [    1.381172] ACPI: Interpreter disabled. 
> > [    1.386213] vgaarb: loaded 
> > [    1.388929] SCSI subsystem initialized 
> > [    1.394115] usbcore: registered new interface driver usbfs 
> > [    1.394984] usbcore: registered new interface driver hub 
> > [    1.396038] usbcore: registered new device driver usb 
> > [    1.404071] pps_core: LinuxPPS API ver. 1 registered 
> > [    1.404564] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 
> > Rodolfo Giometti <[email protected] <javascript:>> 
> > [    1.405492] PTP clock support registered 
> > [    1.407076] EDAC MC: Ver: 3.0.0 
> > [    1.492705] clocksource: Switched to clocksource arch_sys_counter 
> > [    1.509419] VFS: Disk quotas dquot_6.6.0 
> > [    1.509874] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 
> > bytes) 
> > [    1.512450] pnp: PnP ACPI: disabled 
> > [    1.568294] NET: Registered protocol family 2 
> > [    1.584108] tcp_listen_portaddr_hash hash table entries: 512 (order: 
> > 1, 8192 bytes) 
> > [    1.584780] TCP established hash table entries: 8192 (order: 4, 65536 
> > bytes) 
> > [    1.585583] TCP bind hash table entries: 8192 (order: 5, 131072 
> bytes) 
> > [    1.586009] TCP: Hash tables configured (established 8192 bind 8192) 
> > [    1.588606] UDP hash table entries: 512 (order: 2, 16384 bytes) 
> > [    1.589179] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) 
> > [    1.592560] NET: Registered protocol family 1 
> > [    1.598547] RPC: Registered named UNIX socket transport module. 
> > [    1.598784] RPC: Registered udp transport module. 
> > [    1.598954] RPC: Registered tcp transport module. 
> > [    1.599110] RPC: Registered tcp NFSv4.1 backchannel transport module. 
> > [    1.602869] Unpacking initramfs... 
> > [    1.847907] Freeing initrd memory: 4292K 
> > [    1.857706] hw perfevents: enabled with armv8_pmuv3 PMU driver, 5 
> > counters available 
> > [    1.879734] Initialise system trusted keyrings 
> > [    1.883324] workingset: timestamp_bits=44 max_order=18 bucket_order=0 
> > [    1.912683] squashfs: version 4.0 (2009/01/31) Phillip Lougher 
> > [    1.918361] NFS: Registering the id_resolver key type 
> > [    1.918781] Key type id_resolver registered 
> > [    1.919012] Key type id_legacy registered 
> > [    1.919442] nfs4filelayout_init: NFSv4 File Layout Driver 
> Registering... 
> > [    1.921845] 9p: Installing v9fs 9p2000 file system support 
> > [    1.942598] Key type asymmetric registered 
> > [    1.942860] Asymmetric key parser 'x509' registered 
> > [    1.943281] Block layer SCSI generic (bsg) driver version 0.4 loaded 
> > (major 246) 
> > [    1.944068] io scheduler noop registered 
> > [    1.944699] io scheduler cfq registered (default) 
> > [    1.945362] io scheduler mq-deadline registered 
> > [    1.945581] io scheduler kyber registered 
> > [    1.975723] pl061_gpio 9030000.pl061: PL061 GPIO chip 
> > @0x0000000009030000 registered 
> > [    1.985874] pci-host-generic 4010000000.pcie: host bridge 
> > /pcie@10000000 ranges: 
> > [    1.986737] pci-host-generic 4010000000.pcie:    IO 
> > 0x3eff0000..0x3effffff -> 0x00000000 
> > [    1.987598] pci-host-generic 4010000000.pcie:   MEM 
> > 0x10000000..0x3efeffff -> 0x10000000 
> > [    1.987882] pci-host-generic 4010000000.pcie:   MEM 
> > 0x8000000000..0xffffffffff -> 0x8000000000 
> > [    1.989836] pci-host-generic 4010000000.pcie: ECAM at [mem 
> > 0x4010000000-0x401fffffff] for [bus 00-ff] 
> > [    1.992336] pci-host-generic 4010000000.pcie: PCI host bridge to bus 
> > 0000:00 
> > [    1.993286] pci_bus 0000:00: root bus resource [bus 00-ff] 
> > [    1.993814] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] 
> > [    1.994028] pci_bus 0000:00: root bus resource [mem 
> > 0x10000000-0x3efeffff] 
> > [    1.994300] pci_bus 0000:00: root bus resource [mem 
> > 0x8000000000-0xffffffffff] 
> > [    2.088592] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled 
> > [    2.095955] SuperH (H)SCI(F) driver initialized 
> > [    2.097903] msm_serial: driver initialized 
> > [    2.118236] cacheinfo: Unable to detect cache hierarchy for CPU 0 
> > [    2.168640] loop: module loaded 
> > [    2.193407] virtio_blk virtio1: [vda] 2694416 512-byte logical blocks 
> > (1.38 GB/1.28 GiB) 
> > [    2.240577] libphy: Fixed MDIO Bus: probed 
> > [    2.244779] tun: Universal TUN/TAP device driver, 1.6 
> > [    2.263829] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k 
> > [    2.264102] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. 
> > [    2.264632] igb: Intel(R) Gigabit Ethernet Network Driver - version 
> > 5.4.0-k 
> > [    2.265235] igb: Copyright (c) 2007-2014 Intel Corporation. 
> > [    2.265878] igbvf: Intel(R) Gigabit Virtual Function Network Driver - 
> > version 2.4.0-k 
> > [    2.266286] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. 
> > [    2.268481] sky2: driver version 1.30 
> > [    2.271790] VFIO - User Level meta-driver version: 0.3 
> > [    2.279480] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) 
> Driver 
> > [    2.279971] ehci-pci: EHCI PCI platform driver 
> > [    2.280718] ehci-platform: EHCI generic platform driver 
> > [    2.281717] ehci-orion: EHCI orion driver 
> > [    2.282216] ehci-exynos: EHCI EXYNOS driver 
> > [    2.282661] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver 
> > [    2.283018] ohci-pci: OHCI PCI platform driver 
> > [    2.283770] ohci-platform: OHCI generic platform driver 
> > [    2.284438] ohci-exynos: OHCI EXYNOS driver 
> > [    2.291438] usbcore: registered new interface driver usb-storage 
> > [    2.306327] rtc-pl031 9010000.pl031: rtc core: registered pl031 as 
> rtc0 
> > [    2.309554] i2c /dev entries driver 
> > [    2.323629] sdhci: Secure Digital Host Controller Interface driver 
> > [    2.324065] sdhci: Copyright(c) Pierre Ossman 
> > [    2.326027] Synopsys Designware Multimedia Card Interface Driver 
> > [    2.331478] sdhci-pltfm: SDHCI platform and OF driver helper 
> > [    2.338411] ledtrig-cpu: registered to indicate activity on CPUs 
> > [    2.344584] usbcore: registered new interface driver usbhid 
> > [    2.345111] usbhid: USB HID core driver 
> > [    2.361241] NET: Registered protocol family 10 
> > [    2.386925] Segment Routing with IPv6 
> > [    2.387956] NET: Registered protocol family 17 
> > [    2.390680] 9pnet: Installing 9P2000 support 
> > [    2.391618] Key type dns_resolver registered 
> > [    2.394251] registered taskstats version 1 
> > [    2.394446] Loading compiled-in X.509 certificates 
> > [    2.408606] input: gpio-keys as 
> /devices/platform/gpio-keys/input/input0 
> > [    2.413248] rtc-pl031 9010000.pl031: setting system clock to 
> > 2020-01-08 20:39:44 UTC (1578515984) 
> > [    2.424182] uart-pl011 9000000.pl011: no DMA platform data 
> > [    2.668052] Freeing unused kernel memory: 1152K 
> > [    2.676760] Run /init as init process 
> > Loading, please wait... 
> > Starting version 241 
> > Begin: Loading essential drivers ... done. 
> > Begin: Running /scripts/init-premount ... done. 
> > Begin: Mounting root file system ... Begin: Running /scripts/local-top 
> > ... done. 
> > Begin: Running /scripts/local-premount ... done. 
> > Warning: fsck not present, so skipping root file system 
> > [    6.458709] EXT4-fs (vda): INFO: recovery required on readonly 
> filesystem 
> > [    6.459146] EXT4-fs (vda): write access will be enabled during 
> recovery 
> > [    6.562511] EXT4-fs (vda): recovery complete 
> > [    6.586139] EXT4-fs (vda): mounted filesystem with ordered data mode. 
> > Opts: (null) 
> > done. 
> > Begin: Running /scripts/local-bottom ... done. 
> > Begin: Running /scripts/init-bottom ... done. 
> > [    6.984092] random: fast init done 
> > [    7.625962] systemd[1]: systemd 241 running in system mode. (+PAM 
> > +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP 
> > +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN 
> > -PCRE2 default-hierarchy=hybrid) 
> > [    7.630537] systemd[1]: Detected virtualization qemu. 
> > [    7.631210] systemd[1]: Detected architecture arm64. 
> > 
> > Welcome to Debian GNU/Linux 10 (buster)! 
> > 
> > [    7.699983] systemd[1]: Set hostname to <demo>. 
> > [    7.751547] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid 
> > argument 
> > [    9.000192] systemd[1]: File 
> > /lib/systemd/system/systemd-journald.service:12 configures an IP 
> > firewall (IPAddressDeny=any), but the local system does not support 
> > BPF/cgroup based firewalling. 
> > [    9.001046] systemd[1]: Proceeding WITHOUT firewalling in effect! 
> > (This warning is only shown for the first loaded unit using IP 
> firewalling.) 
> > [    9.705779] random: systemd: uninitialized urandom read (16 bytes 
> read) 
> > [    9.749841] random: systemd: uninitialized urandom read (16 bytes 
> read) 
> > [    9.762078] systemd[1]: Listening on Journal Socket. 
> > [  OK  ] Listening on Journal Socket. 
> > [    9.767359] random: systemd: uninitialized urandom read (16 bytes 
> read) 
> > [    9.770462] systemd[1]: Listening on initctl Compatibility Named 
> Pipe. 
> > [  OK  ] Listening on initctl Compatibility Named Pipe. 
> > [    9.834070] systemd[1]: Starting Remount Root and Kernel File 
> Systems... 
> >           Starting Remount Root and Kernel File Systems... 
> > [  OK  ] Started Forward Password R…uests to Wall Directory Watch. 
> >           Mounting Huge Pages File System... 
> > [  OK  ] Created slice system-serial\x2dgetty.slice. 
> > [  OK  ] Started Dispatch Password …ts to Console Directory Watch. 
> > [  OK  ] Reached target Local Encrypted Volumes. 
> >           Starting Load Kernel Modules... 
> > [  OK  ] Created slice system-getty.slice. 
> > [  OK  ] Reached target Paths. 
> > [  OK  ] Listening on udev Kernel Socket. 
> > [  OK  ] Reached target Remote File Systems. 
> > [  OK  ] Listening on Journal Audit Socket. 
> > [  OK  ] Reached target Swap. 
> > [  OK  ] Created slice User and Session Slice. 
> > [  OK  ] Reached target Slices. 
> >           Mounting Kernel Debug File System... 
> > [  OK  ] Listening on Journal Socket (/dev/log). 
> >           Starting Journal Service... 
> > [  OK  ] Listening on udev Control Socket. 
> >           Starting udev Coldplug all Devices... 
> > [   10.496248] EXT4-fs (vda): re-mounted. Opts: (null) 
> >           Mounting POSIX Message Queue File System... 
> > [   10.671466] jailhouse: loading out-of-tree module taints kernel. 
> > [  OK  ] Mounted Huge Pages File System. 
> > [  OK  ] Started Remount Root and Kernel File Systems. 
> > [  OK  ] Started Load Kernel Modules. 
> > [  OK  ] Mounted Kernel Debug File System. 
> > [  OK  ] Mounted POSIX Message Queue File System. 
> >           Mounting Kernel Configuration File System... 
> >           Starting Apply Kernel Variables... 
> >           Starting Load/Save Random Seed... 
> >           Starting Create System Users... 
> > [  OK  ] Mounted Kernel Configuration File System. 
> > [  OK  ] Started Apply Kernel Variables. 
> > [  OK  ] Started Load/Save Random Seed. 
> > [  OK  ] Started Create System Users. 
> > [  OK  ] Started Journal Service. 
> >           Starting Flush Journal to Persistent Storage... 
> >           Starting Create Static Device Nodes in /dev... 
> > [  OK  ] Started Flush Journal to Persistent Storage. 
> > [  OK  ] Started Create Static Device Nodes in /dev. 
> >           Starting udev Kernel Device Manager... 
> > [  OK  ] Reached target Local File Systems (Pre). 
> > [  OK  ] Reached target Local File Systems. 
> >           Starting Create Volatile Files and Directories... 
> > [  OK  ] Started udev Kernel Device Manager. 
> > [  OK  ] Started Create Volatile Files and Directories. 
> >           Starting Network Time Synchronization... 
> >           Starting Update UTMP about System Boot/Shutdown... 
> > [  OK  ] Started Update UTMP about System Boot/Shutdown. 
> > [  OK  ] Started Network Time Synchronization. 
> > [  OK  ] Reached target System Time Synchronized. 
> > [  OK  ] Found device /dev/ttyAMA0. 
> > [  OK  ] Started udev Coldplug all Devices. 
> > [  OK  ] Found device /dev/hvc0. 
> > [  OK  ] Started ifup for eth0. 
> > [  OK  ] Reached target System Initialization. 
> > [  OK  ] Listening on D-Bus System Message Bus Socket. 
> > [  OK  ] Reached target Sockets. 
> > [  OK  ] Started Daily man-db regeneration. 
> > [  OK  ] Started Daily apt download activities. 
> > [  OK  ] Started Daily Cleanup of Temporary Directories. 
> > [  OK  ] Reached target Basic System. 
> >           Starting Login Service... 
> > [  OK  ] Started D-Bus System Message Bus. 
> >           Starting WPA supplicant... 
> > [  OK  ] Started Daily apt upgrade and clean activities. 
> > [  OK  ] Reached target Timers. 
> >           Starting Helper to synchronize boot up for ifupdown... 
> >           Starting Daily man-db regeneration... 
> > [  OK  ] Started Helper to synchronize boot up for ifupdown. 
> > [  OK  ] Started Login Service. 
> > [  OK  ] Started WPA supplicant. 
> >           Starting Raise network interfaces... 
> > [  OK  ] Started Raise network interfaces. 
> > [  OK  ] Reached target Network. 
> >           Starting Daily apt download activities... 
> >           Starting OpenBSD Secure Shell server... 
> >           Starting Permit User Sessions... 
> > [  OK  ] Started Permit User Sessions. 
> > [  OK  ] Started Serial Getty on ttyAMA0. 
> > [  OK  ] Started Serial Getty on hvc0. 
> > [  OK  ] Started Getty on tty1. 
> > [  OK  ] Reached target Login Prompts. 
> > [  OK  ] Started Daily man-db regeneration. 
> > 
> > Jailhouse Demo Image (login: root/root) 
> > demo login: sarojs@engee-e121-d08:/$ docker --version 
> > Password: 
> > Login timed out after 60 seconds. 
> > 
> > Jailhouse Demo Image (login: root/root) 
> > demo login: 
> > *After I login i get the following:* 
> > Linux demo 4.19.67 #1 SMP PREEMPT Tue Nov 5 18:52:36 UTC 2019 aarch64 
> > 
> > For trying out Jailhouse, the following commands have been placed into 
> the 
> > shell history: 
> >   # jailhouse enable /etc/jailhouse/qemu-arm64.cell 
> >   # jailhouse console 
> >   # jailhouse cell create /etc/jailhouse/qemu-arm64-gic-demo.cell 
> >   # jailhouse cell load gic-demo 
> /usr/libexec/jailhouse/demos/gic-demo.bin 
> >   # jailhouse cell start gic-demo 
> >   # jailhouse cell stats gic-demo 
> >   # jailhouse cell destroy gic-demo 
> >   # jailhouse cell linux /etc/jailhouse/qemu-arm64-linux-demo.cell \ 
> >                          /boot/vmlinuz* \ 
> >                          -d /etc/jailhouse/dts/inmate-qemu-arm64.dtb \ 
> >                          -i /usr/libexec/jailhouse/demos/rootfs.cpio \ 
> >                          -c "console=ttyAMA0 ip=192.168.19.2" 
> >   # ssh 192.168.19.2 
> >   # jailhouse disable 
> > 
> > The programs included with the Debian GNU/Linux system are free 
> software; 
> > the exact distribution terms for each program are described in the 
> > individual files in /usr/share/doc/*/copyright. 
> > 
> > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent 
> > permitted by applicable law. 
> > *Then I open new terminal and try to ssh but it shows time out, why I 
> > cannot ssh the address given. Due to this failure I was unable to 
> > control one console terminal from the other and create two cells 
> > gic-demo and linux demo. How can I create two cell so that I can run 
> > application in One and Linux in another? please help me with this. I'm 
> > trying for nearly one month but I was unable to do this.* 
>
> Which of the commands above did you run, besides ssh? 
>
> 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/dd8368be-e94d-41cf-9bf7-654094e623f3%40googlegroups.com.

Reply via email to