From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel <xen-devel@lists.xen.org>
Subject: Re: [RFC PATCH 10/16]: PVH xen: introduce vmx_pvh.c
Date: Thu, 24 Jan 2013 18:29:47 -0800 [thread overview]
Message-ID: <20130124182947.113ef6a6@mantra.us.oracle.com> (raw)
In-Reply-To: <51010B3902000078000B902E@nat28.tlf.novell.com>
On Thu, 24 Jan 2013 09:21:45 +0000
"Jan Beulich" <JBeulich@suse.com> wrote:
> >>> On 24.01.13 at 02:59, Mukesh Rathor <mukesh.rathor@oracle.com>
> >>> wrote:
> > On Tue, 15 Jan 2013 08:46:35 +0000 "Jan Beulich"
> > <JBeulich@suse.com> wrote:
> >> The main thing are the hypercall wrappers - they're definitely not
> >> VMX-specific, and hence don't belong in VMX-specific code. Besides
> >
> > Ah, I see. The HVM hcalls are in hvm.c and not vmx.c. Since PVH
> > needs slightly different hcalls and restricts certain ones ok for
> > HVM, I really prefer to not pollute hvm_do_hypercall() with if PVH
> > everywhere. I could add a new function to hvm.c,
> > pvh_hvm_do_hypercall(), or create a new file hvm_pvh.c and add it
> > there. What would you suggest?
>
> The only mail with that patch that I have definitely has these in
> xen/arch/x86/hvm/vmx/vmx_pvh.c.
I meant for an HVM guest, the hcalls are in hvm.c and not vmx.c. I
kinda tried to follow that.
> So yes, the correct thing - if adjustments to the existing ones
> makes the code too ugly - would be for them to go into
> xen/arch/x86/hvm/pvh.c.
Ok, will do it.
next prev parent reply other threads:[~2013-01-25 2:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-12 2:01 [RFC PATCH 10/16]: PVH xen: introduce vmx_pvh.c Mukesh Rathor
2013-01-14 11:59 ` Jan Beulich
2013-01-15 0:54 ` Mukesh Rathor
2013-01-15 8:46 ` Jan Beulich
2013-01-24 1:59 ` Mukesh Rathor
2013-01-24 9:21 ` Jan Beulich
2013-01-25 2:29 ` Mukesh Rathor [this message]
2013-01-24 16:31 ` Tim Deegan
2013-01-25 2:15 ` Mukesh Rathor
2013-01-25 2:18 ` Mukesh Rathor
2013-02-20 0:05 ` Mukesh Rathor
2013-02-20 9:58 ` Tim Deegan
2013-02-21 3:05 ` Mukesh Rathor
2013-02-21 9:10 ` Tim Deegan
2013-02-21 19:20 ` Mukesh Rathor
2013-02-21 20:33 ` Tim Deegan
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=20130124182947.113ef6a6@mantra.us.oracle.com \
--to=mukesh.rathor@oracle.com \
--cc=JBeulich@suse.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).