mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Roger Pau Monne <roger.pau@citrix.com>, linux-kernel@vger.kernel.org
Cc: Juergen Gross <jgross@suse.com>, xen-devel@lists.xenproject.org
Subject: Re: [PATCH v2 1/2] xen/pvh: set xen_domain_type to HVM in xen_pvh_init
Date: Tue, 23 Apr 2019 09:37:51 -0400	[thread overview]
Message-ID: <c2e1612e-d6c2-ba46-b49e-4e0fe95a1d7e@oracle.com> (raw)
In-Reply-To: <20190423130416.68935-1-roger.pau@citrix.com>

On 4/23/19 9:04 AM, Roger Pau Monne wrote:
> Or else xen_domain() returns false despite xen_pvh being set.

Is this new xen_domain() invocation somewhere in EFI initialization that
you add in the second patch?

Asking because I am trying to figure out whether this needs to go to
stable tree.

-boris

>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> ---
> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> Cc: Juergen Gross <jgross@suse.com>
> Cc: xen-devel@lists.xenproject.org
> ---
>  arch/x86/xen/enlighten_pvh.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/x86/xen/enlighten_pvh.c b/arch/x86/xen/enlighten_pvh.c
> index 35b7599d2d0b..bbffa409e0e8 100644
> --- a/arch/x86/xen/enlighten_pvh.c
> +++ b/arch/x86/xen/enlighten_pvh.c
> @@ -27,6 +27,7 @@ void __init xen_pvh_init(void)
>  	u64 pfn;
>  
>  	xen_pvh = 1;
> +	xen_domain_type = XEN_HVM_DOMAIN;
>  	xen_start_flags = pvh_start_info.flags;
>  
>  	msr = cpuid_ebx(xen_cpuid_base() + 2);


  parent reply	other threads:[~2019-04-23 13:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-23 13:04 Roger Pau Monne
2019-04-23 13:04 ` [PATCH v2 2/2] xen/pvh: correctly setup the PV EFI interface for dom0 Roger Pau Monne
2019-04-24 15:36   ` Boris Ostrovsky
2019-04-24 15:45     ` Roger Pau Monné
2019-04-24 15:45       ` Boris Ostrovsky
2019-04-25 10:02         ` Roger Pau Monné
2019-04-25 14:27           ` Boris Ostrovsky
2019-04-23 13:37 ` Boris Ostrovsky [this message]
2019-04-23 14:56   ` [Xen-devel] [PATCH v2 1/2] xen/pvh: set xen_domain_type to HVM in xen_pvh_init 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=c2e1612e-d6c2-ba46-b49e-4e0fe95a1d7e@oracle.com \
    --to=boris.ostrovsky@oracle.com \
    --cc=jgross@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roger.pau@citrix.com \
    --cc=xen-devel@lists.xenproject.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

all inboxes | Powered by JetHome®