From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Mukesh Rathor <mukesh.rathor@oracle.com>
Cc: xen-devel@lists.xen.org
Subject: Re: [V13 PATCH 0/2] pvh dom0 patches...
Date: Fri, 23 May 2014 17:01:34 +0200 [thread overview]
Message-ID: <537F62CE.1090901@citrix.com> (raw)
In-Reply-To: <20140522183534.45689a19@mantra.us.oracle.com>
On 23/05/14 03:35, Mukesh Rathor wrote:
> 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:
Thanks, I think your Linux side patch is missing something like:
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index 8efc066..690b289 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -2533,7 +2533,7 @@ static int xlate_add_to_p2m(unsigned long lpfn,
unsigned long fgmfn,
set_xen_guest_handle(xatp.errs, &err);
rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap_range, &xatp);
- return rc;
+ return rc ? : err;
}
Or else the error value is lost and Linux thinks this page is actually
mapped when it is not, trigger the vioapic crash when trying to access
it. Without this fix I cannot boot HVM domains, with the fix it seems to
be quite stable AFAICT.
Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2014-05-23 15:01 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
2014-05-23 15:01 ` Roger Pau Monné [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=537F62CE.1090901@citrix.com \
--to=roger.pau@citrix.com \
--cc=mukesh.rathor@oracle.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).