All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ivan Kelly <ivan@ivankelly.net>
To: xen-devel@lists.xensource.com
Subject: Setting up hypervisor_callback and testing
Date: Wed, 15 Feb 2006 11:49:05 +0000	[thread overview]
Message-ID: <20060215114903.GA3745@ivankelly.net> (raw)

im setting up my hypervisor callback with:
hypervisor_set_callbacks(CS_SELECTOR, (unsigned long)hypervisor_callback,
			 CS_SELECTOR, (unsigned long)failsafe_callback);
hypervisor_callback and failsafe_callback are as yet very simple assembly
funcations that just shutdown the domain.
<SNIP>
_hypervisor_callback:
        call    _hypervisor_shutdown
        ret

_failsafe_callback:
        call    _hypervisor_shutdown
        ret
</SNIP>

Im trying to test it with:
<SNIP>
_xen_cb_test:
        call    _hypervisor_save_kernel_stack
        mov     esi, _hypervisor_shared_info
        mov     1(esi), 0
        push    0
        push    __HYPERVISOR_xen_version
        call    _xen_op
        add     esp, 4*2
        ret
</SNIP>

The callback doesn't seem to be getting called at all. At the moment im only
trying to get very basic callback stuff working, so i've left out the save and
iret stuff. Could anyone point out where im going wrong?
Regards
Ivan Kelly

             reply	other threads:[~2006-02-15 11:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-15 11:49 Ivan Kelly [this message]
2006-02-15 12:33 ` Setting up hypervisor_callback and testing Simon Kagstrom
2006-02-17 17:58   ` Ivan Kelly
2006-02-17 19:53     ` Ivan Kelly

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=20060215114903.GA3745@ivankelly.net \
    --to=ivan@ivankelly.net \
    --cc=xen-devel@lists.xensource.com \
    /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.