[Bug 65561] KVM:Entry failed on Single stepping sti instruction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=65561

--- Comment #14 from Jatin Kumar <jatin.iitdelhi@xxxxxxxxx> ---
(In reply to Jidong Xiao from comment #8)
> Hi, Jatin,
> 
> "from inside the OS" means from within the Guest OS right?
> (In reply to Jatin Kumar from comment #5)

Hello Jidong,
Yes it means from within guest OS. Sample code block is like this:

  intr_register_int(1, 3, INTR_OFF, intr_debug_handler_out, "#DB Debug
Exception");
  asm volatile(
    "pushfl \n\t"
    "orl $0x100, (%%esp) \n\t"
    "popfl \n\t"
    "nop \n\t"
    "nop \n\t"
    "outb %b0, %w1 \n\t"
    "nop \n\t"     <------- Not getting Debug Trap before executing this
    "nop \n\t"
    "pushfl \n\t"
    "xorl $0x100, (%%esp) \n\t"
    "popfl \n\t"
    :: "a"(2), "Nd" (80)
  );

Debug handler simply prints the EIP from interrupt frame and I don't see the
EIP of marked instruction.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux