From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: andrew.cooper3@citrix.com, xen-devel@lists.xen.org
Subject: Re: [PATCH] x86/PCI: Intercept Dom0 MMCFG from dom0s in HVM containers
Date: Wed, 16 Dec 2015 14:34:08 -0500 [thread overview]
Message-ID: <5671BCB0.9040908@oracle.com> (raw)
In-Reply-To: <5671374602000078000C0079@prv-mh.provo.novell.com>
On 12/16/2015 04:04 AM, Jan Beulich wrote:
>
>> --- a/xen/arch/x86/hvm/hvm.c
>> +++ b/xen/arch/x86/hvm/hvm.c
>> @@ -3116,6 +3116,21 @@ int hvm_hap_nested_page_fault(paddr_t gpa, unsigned long gla,
>> goto out_put_gfn;
>> }
>>
>> + if ( (p2mt == p2m_mmio_direct) && is_hardware_domain(currd) )
> The PV condition includes a PFEC_page_present check, and I think
> an equivalent should be added here too.
Hmm.. So how would I determine that? I can see how this is available in
SVM (although it is not reflected in npfec) but in VMX I don't see
direct indication of whether the page was present.
-boris
next prev parent reply other threads:[~2015-12-16 19:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-15 21:02 [PATCH] x86/PCI: Intercept Dom0 MMCFG from dom0s in HVM containers Boris Ostrovsky
2015-12-16 9:04 ` Jan Beulich
2015-12-16 14:04 ` Boris Ostrovsky
2015-12-16 14:47 ` Jan Beulich
2015-12-16 19:34 ` Boris Ostrovsky [this message]
2015-12-17 9:46 ` Jan Beulich
2015-12-17 13:55 ` Boris Ostrovsky
2015-12-17 13:59 ` Jan Beulich
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=5671BCB0.9040908@oracle.com \
--to=boris.ostrovsky@oracle.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@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 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.