All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: "quizy_jones@outlook.com" <quizy_jones@outlook.com>,
	xen-devel <xen-devel@lists.xen.org>
Subject: Re: xen panics when setting int3 traps
Date: Fri, 11 Dec 2015 09:54:40 +0000	[thread overview]
Message-ID: <566A9D60.9000708@citrix.com> (raw)
In-Reply-To: <BLU436-SMTP249586E560741E427C75C7490EA0@phx.gbl>


[-- Attachment #1.1: Type: text/plain, Size: 1031 bytes --]

On 11/12/15 01:42, quizy_jones@outlook.com wrote:
> I'd like to inject int3 traps to hypercall handlers to be able to
> capture hypercalls. However,  the dom0/xen would reboot whenever I
> create a new VM. Followup is the console output when this happens.
> <snip>
> *(XEN) Xen call trace:*
> (XEN)    [<ffff82d080128132>] _write_unlock+0x22/0x40
> (XEN)    [<ffff82d080115b98>] guest_remove_page+0xf8/0x2e0
> (XEN)    [<ffff82d080116138>] do_memory_op+0x3b8/0x2750
> (XEN)    [<ffff82d08017c29c>] __do_update_va_mapping+0x1bc/0x6c0
> (XEN)    [<ffff82d08021aef9>] syscall_enter+0xa9/0xae
> (XEN)
> (XEN)
> (XEN) ****************************************
> (XEN) Panic on CPU 0:
> *(XEN) FATAL TRAP: vector = 6 (invalid opcode)*
> (XEN) ****************************************
> (XEN)
> (XEN) Reboot in five seconds...
>
> BTW, I'm using a nested xen 4.4.1 on xen 4.6.0.

How are you injecting the traps?  Unless you explicitly register a
debugger with Xen, it will consider any debugging of itself fatal, as
you can see.

~Andrew

[-- Attachment #1.2: Type: text/html, Size: 2435 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

      parent reply	other threads:[~2015-12-11  9:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11  1:42 xen panics when setting int3 traps quizy_jones
2015-12-11  2:01 ` quizy_jones
2015-12-11  2:17   ` Konrad Rzeszutek Wilk
2015-12-11  3:13     ` quizy_jones
2015-12-11 10:20       ` Tim Deegan
2015-12-17  1:35         ` quizyjones
2015-12-18 15:31           ` Andrew Cooper
2015-12-19  4:23             ` quizyjones
2015-12-18  6:15         ` Tian, Kevin
2015-12-11  9:54 ` Andrew Cooper [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=566A9D60.9000708@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=quizy_jones@outlook.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.