On Tuesday, April 3, 2018 at 3:18:34 PM UTC+5:30, Ralf Ramsauer wrote: > On 04/03/2018 11:37 AM, anilapp...@gmail.com wrote: > > On Tuesday, April 3, 2018 at 2:56:29 PM UTC+5:30, Ralf Ramsauer wrote: > >> Hi Anil, > >> > >> On 04/03/2018 10:55 AM, Anil Kumar wrote: > >>> Jan, > >>> Thanks for your response. My use case is I want load more than 2 non > >>> root cells & want to check whether non rootcells booted with out any > >>> issues. Also I should > >>> be able to login to non rootcell( which we created) to communicate to > >> Are you running Linux in your non-root cells? You could simply use ssh > >> over ivshmem-net... > >>> another non rootcell(with shared memory). I don't want to use net > >>> console. Can it be possible > >>> to create virtual console and use them while loading non rootcells for > >>> early console logs? > >> There's no such thing like a 'real' virtual console in Jailhouse, but, > >> as Henning already mentioned, you could use the hypervisor debug console > >> for output and use jailhouse console to receive the cell's messages. > >> Note that multiple non-root cells using this consoles may of course > >> collide and scramble output, so it's better to start one cell after the > >> other when using this method. > >> > >> Ralf > >>> Regards, > >>> Anil > >>> > >>> On Tue, Apr 3, 2018 at 1:58 PM, Jan Kiszka <jan.kis...@web.de > >>> <mailto:jan.kis...@web.de>> wrote: > >>> > >>> On 2018-04-03 08:32, anilapp...@gmail.com > >>> <mailto:anilapp...@gmail.com> wrote: > >>> > On Friday, February 9, 2018 at 3:04:55 PM UTC+5:30, Henning Schild > >>> wrote: > >>> >> Am Thu, 8 Feb 2018 04:39:58 -0800 > >>> >> schrieb <anilapp...@gmail.com <mailto:anilapp...@gmail.com>>: > >>> >> > >>> >>> Jan, > >>> >>> I need some information for running jailhouse on x86. > >>> >>> I was able to create rootcell and non rootcell but not able see > >>> any > >>> >>> console logs after creating non rootcell. I want to know whether > >>> >>> Jailhouse will support displaying logs on serial console for x86. > >>> >>> Regards, Anil > >>> >>> > >>> >> > >>> >> On x86 your serial consoles are PIO-based. In qemu the two standard > >>> >> serial ports exist, so you always have one for the hypervisor and > >>> one > >>> >> for a cell. Real hardware usually does not have two UARTS, often > >>> you > >>> >> are lucky if you get one. > >>> >> > >>> >> There is "jailhouse console" to get access to the hypervisor > >>> console. > >>> >> If you have at least one UART you can share that between your > >>> cells, > >>> >> you might have to allow that cell to access the ports via the > >>> >> pio_bitmap in the config. And when you load the cell you might > >>> have to > >>> >> pass arguments to change the default. (look for con-base in > >>> README.md) > >>> >> > >>> >> If your machine does not have a UART it might be a good idea to > >>> add a > >>> >> serial-PCI card. > >>> >> > >>> >> Henning > >>> > > >>> > Hi Henning, > >>> > Thanks for your reply. But I want load multiple non rootcells. > >>> For this I need multiple consoles. So I want to create virtual > >>> serial console and use them to load and capture logs& early console > >>> logs. Can you help me how can I get these > >>> > log messages & create virtual console. > >>> > >>> You can set up netconsoles via ivshmem-net, but that will not give you > >>> early messages. However, there is usually no need for them after the > >>> initial setup phase. Or what is your use case? > >>> > >>> Jan > >>> > >>> > >>> -- > >>> 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 jailhouse-dev+unsubscr...@googlegroups.com > >>> <mailto:jailhouse-dev+unsubscr...@googlegroups.com>. > >>> For more options, visit https://groups.google.com/d/optout. > > > > Hi Ralf, > > Yes I am loading linux on other non rootcells as well. But If we use ssh to > > login to non rootcell and If network is down, I wont be login to non > > rootcell. So I dont want to use this method. I am searching for other > > alternative other than this. In practical,I should be able to go to non > > rootcell with out network support. we got struck with capturing early > > console logs( to proceed with our thoughts). Then make sure that network > > isn't down :-) > > Try to get one cell working (e.g., by redirecting the UART to the cell, > so you're able to see output and you can control it) and duplicate the > setup. > > Otherwise you will have to implement your own virtual console support, > but that's pointless, as we already have that: ivshmem-net. ssh over > ivshmem-net is nothing else than the virtual console that you want. > > Ralf > > Regards, > > Anil > >
I agree that. But I am assuming that If we implement virtual console, we can capture early console logs (but I don't know how to get these logs) and I can have log information if any of the non root cell crashes. Otherwise is there any way to get early console logs with ivshm-net. Regards, Anil -- 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 jailhouse-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.