xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: "Roger Pau Monné" <roger.pau@citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: [V13 PATCH 0/2] pvh dom0 patches...
Date: Thu, 22 May 2014 18:35:34 -0700	[thread overview]
Message-ID: <20140522183534.45689a19@mantra.us.oracle.com> (raw)
In-Reply-To: <537E3FCA.4070506@citrix.com>

On Thu, 22 May 2014 20:19:54 +0200
Roger Pau Monné <roger.pau@citrix.com> wrote:

> On 22/05/14 19:44, Roger Pau Monné wrote:
> > On 20/05/14 01:51, Mukesh Rathor wrote:
> >> Hi,
> >>
> >> Attached please find v13 of dom0 pvh patch series based on 
> >> c/s: 11dba84.
> >>
> >> git tree: git://oss.oracle.com/git/mrathor/xen.git  branch:
> >> dom0pvh-v13
> > 
> > I think you forgot to push the series to the git repo (or at least
> > I'm not able to see branch dom0pvh-v13).
> Also a Linux branch that works as PVH Dom0 would be interesting to me,

Hey Roger,

git://oss.oracle.com/git/mrathor/xen.git  branch: dom0pvh-v15
git://oss.oracle.com/git/mrathor/linux.git  branch: dom0pvh-1

> since I've been hitting the vioapic crash when creating HVM guests

Just apply following patch to get around vioapic crash so you can debug 
your real ept issue:

diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index b69f164..c687d18 100644
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -2079,6 +2079,11 @@ int hvm_hap_nested_page_fault(paddr_t gpa,
          (access_w && (p2mt == p2m_ram_ro)) )
     {
         put_gfn(p2m->domain, gfn);
+
+        rc = 0;
+        if ( unlikely(is_pvh_vcpu(v)) )
+            goto out;
+
         if ( !handle_mmio() )
             hvm_inject_hw_exception(TRAP_gp_fault, 0);
         rc = 1;


thanks,
Mukesh

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

  reply	other threads:[~2014-05-23  1:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-19 23:51 [V13 PATCH 0/2] pvh dom0 patches Mukesh Rathor
2014-05-19 23:51 ` [V13 PATCH 1/2] pvh dom0: Add and remove foreign pages Mukesh Rathor
2014-05-20 10:33   ` Jan Beulich
2014-05-20 23:46     ` Mukesh Rathor
2014-05-21  7:59       ` Jan Beulich
2014-05-22  1:15         ` Mukesh Rathor
2014-05-22  7:33           ` Jan Beulich
2014-05-22 23:20             ` Mukesh Rathor
2014-05-19 23:51 ` [V13 PATCH 2/2] dom0: add opt_dom0pvh to setup.c Mukesh Rathor
2014-05-20  9:57 ` [V13 PATCH 0/2] pvh dom0 patches Jan Beulich
2014-05-22 17:44 ` Roger Pau Monné
2014-05-22 18:19   ` Roger Pau Monné
2014-05-23  1:35     ` Mukesh Rathor [this message]
2014-05-23 15:01       ` Roger Pau Monné

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=20140522183534.45689a19@mantra.us.oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=roger.pau@citrix.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 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).