virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@xensource.com>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Chris Wright <chrisw@sous-sol.org>,
	Virtualization Mailing List <virtualization@lists.osdl.org>
Subject: Re: rough sketch of revised patching infrastructure
Date: Thu, 22 Feb 2007 22:51:45 +0000	[thread overview]
Message-ID: <1172184705.19233.35.camel@localhost.localdomain> (raw)
In-Reply-To: <45DDDD50.80502@goop.org>

On Thu, 2007-02-22 at 10:13 -0800, Jeremy Fitzhardinge wrote:
> unsigned paravirt_patch_default(u8 type, u16 clobbers, void *site,
> unsigned len)
> +{
> +       void *opfunc = *((void **)&paravirt_ops + type);
> +       unsigned ret;
> +
> +       if (opfunc == (void *)native_nop || opfunc == NULL)
> +               ret = paravirt_patch_nop(type, clobbers, site, len);
> +       else if (type == PARAVIRT_PATCH(iret) ||
> +                type == PARAVIRT_PATCH(irq_enable_sysexit))
> +               ret = paravirt_patch_jmp(type, clobbers, site, len);
> +       else
> +               ret = paravirt_patch_jmp(type, clobbers, site, len);

Should be a paravirt_patch_call?

Ian.

  parent reply	other threads:[~2007-02-22 22:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22  2:09 rough sketch of revised patching infrastructure Jeremy Fitzhardinge
2007-02-22  3:43 ` Rusty Russell
2007-02-22 10:22   ` Jeremy Fitzhardinge
2007-02-22 10:55     ` Rusty Russell
2007-02-22 18:13       ` Jeremy Fitzhardinge
2007-02-22 22:14         ` Zachary Amsden
2007-02-22 22:49           ` Jeremy Fitzhardinge
2007-02-22 22:51         ` Ian Campbell [this message]
2007-02-22 22:54           ` Jeremy Fitzhardinge

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=1172184705.19233.35.camel@localhost.localdomain \
    --to=ian.campbell@xensource.com \
    --cc=chrisw@sous-sol.org \
    --cc=jeremy@goop.org \
    --cc=virtualization@lists.osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).