On 22.10.18 14:14, Ashok kumar wrote:
Hi,


I am using x86 i3 core processor

I have added
  void vcpu_park(void)
  {
  #ifdef CONFIG_CRASH_CELL_ON_PANIC
-       if (this_cpu_data()->failed) {
+       if (this_cpu_public()->failed) {
                 this_cpu_data()->vmcb.rip = 0;
                 return;
         }

  void vcpu_park(void)
  {
  #ifdef CONFIG_CRASH_CELL_ON_PANIC
-       if (this_cpu_data()->failed) {
+       if (this_cpu_public()->failed) {
                 vmcs_write64(GUEST_RIP, 0);
                 return;
         }


in the corresponding files arch/hypervisor/arch/x86/vmx.c
                                       arch/hypervisor/arch/x86/svm.c
and after executing command

sudo tools/jailhouse enable configs/x86/sysconfig.cell

in syslog the following message is I get


texsonics kernel: [  174.219041]  The Jailhouse is opening.
Oct 22 18:01:01 texsonics kernel: [  244.918968] Broke affinity for irq 125
Oct 22 18:01:01 texsonics kernel: [  244.920002] smpboot: CPU 3 is now offline

sudo tools/jailhouse cell create configs/x86/apic-demo.cell


smpboot: CPU 3 is now offline
Oct 22 18:01:01 texsonics kernel: [  244.947989] Created Jailhouse cell 
"apic-demo"
Oct 22 18:01:03 texsonics /usr/sbin/irqbalance: WARNING, didn't collect load info for all cpus, balancing is broken Oct 22 18:02:43 texsonics /usr/sbin/irqbalance: message repeated 16 times: [ WARNING, didn't collect load info for all cpus, balancing is broken] Oct 22 18:02:53 texsonics /usr/sbin/irqbalance: WARNING, didn't collect load info for all cpus, balancing is broken

sudo tools/jailhouse cell destroy apic-demo


smpboot: Booting Node 0 Processor 3 APIC 0x3
Oct 22 18:05:04 texsonics kernel: [  488.138877] Destroyed Jailhouse cell "apic-demo"

and my system gets hangs and in my UART  I get

Stopped APIC demo
Closing cell "apic-demo"
Page pool usage after cell destruction mem 295/15823, remap 16394/131072
cpu 3 received SIPI,vector 97

kindly help me to solve this issue, so that I should able to destroy jailhouse cell and jailhouse disable and the system should not hangs

Does this issue persist?

Note that you will find all required fixes for the instrumentation in the next branch.

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 jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to