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 <[email protected] > <mailto:[email protected]>> wrote: > > On 2018-04-03 08:32, [email protected] > <mailto:[email protected]> 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 <[email protected] <mailto:[email protected]>>: > >> > >>> 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 [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout. -- 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.
