All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Wei Liu <wl@xen.org>
Cc: Juergen Gross <jgross@suse.com>, Wei Liu <liuwe@microsoft.com>,
	Paul Durrant <paul@xen.org>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Michael Kelley <mikelley@microsoft.com>,
	Jan Beulich <JBeulich@suse.com>,
	Xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [Xen-devel] Proxying Hyper-V hypercalls from L2 to L0
Date: Wed, 8 Jan 2020 15:21:54 +0100	[thread overview]
Message-ID: <20200108142154.GP11756@Air-de-Roger> (raw)
In-Reply-To: <CAK9nU=rpLSrUgoyEjPw5MfuOzkC+=9R74Bch4yA2jv1FLWVtcQ@mail.gmail.com>

On Tue, Dec 31, 2019 at 04:09:09PM +0000, Wei Liu wrote:
> On Mon, 30 Dec 2019 at 16:24, Wei Liu <wl@xen.org> wrote:
> >
> > Hi all
> >
> > As much as I try to avoid writing code to proxy Hyper-V hypercalls, it
> > seems unavoidable for PV guests, because Hyper-V requires hypercalls
> > to be issued with CPL=0.
> >
> > This means for PV Dom0 I will need to add code in Xen to support
> > Hyper-V's ABIs, along with appropriate validations.
> >
> > How much do you care about running a PV Dom0 in this Xen on Hyper-V
> > setup? I personally would certainly go full on PVH if possible. :-)
> >
> 
> I tested PVH Dom0 in Xen on Hyper-V setup just now. Unfortunately
> Hyper-V doesn't support vIOMMU yet. Dom0 didn't get any interrupt in
> that setup.

Without DMA remapping I/O devices won't be able to get the real
addresses, and thus won't work correctly or at all. The only option in
such scenario lacking an IOMMU would be to build dom0 with an identity
memory map, but I would avoid going that route, as I think it's
going to cause more pain that just using a PV dom0.

Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

      reply	other threads:[~2020-01-08 14:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-30 16:24 [Xen-devel] Proxying Hyper-V hypercalls from L2 to L0 Wei Liu
2019-12-31 16:09 ` Wei Liu
2020-01-08 14:21   ` 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=20200108142154.GP11756@Air-de-Roger \
    --to=roger.pau@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=jgross@suse.com \
    --cc=liuwe@microsoft.com \
    --cc=mikelley@microsoft.com \
    --cc=paul@xen.org \
    --cc=wl@xen.org \
    --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 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.