xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jan Beulich <JBeulich@suse.com>, Wei Liu <wei.liu2@citrix.com>
Cc: Xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: Make hvm_fep available to non-debug build as well?
Date: Tue, 14 Jun 2016 12:36:09 +0100	[thread overview]
Message-ID: <575FEC29.902@citrix.com> (raw)
In-Reply-To: <575FFE8A02000078000F4BCF@prv-mh.provo.novell.com>

On 14/06/16 11:54, Jan Beulich wrote:
>>>> On 14.06.16 at 12:47, <wei.liu2@citrix.com> wrote:
>> Andrew and I had a short conversation on IRC about why hvm_fep is only
>> available to debug build. Here is what he said:
>>
>> <andyhhp> liuw: because hvm_fep puts a very large attack surface back
>>           into the hypervisor
>> <andyhhp> I intoduced it originally to make it easy to test the
>>           instruction emulator without requiring a race condition between 
>> two
>>           vcpus
>> <andyhhp> so I guess paranoia is the underlying answer to your question
>> <andyhhp> there is nothing wrong in principle with making available in
>>           non-debug builds
>>
>> I think I agree with him that in principle it should be possible to
>> make hvm_fep available to non-debug build. Andrew also suggested a
>> sync_console style warning, which I think makes sense.
> Properly documented I'm not heavily opposed (but also not fully
> convinced of this being a good idea).

I have had one case where I needed to make FEP available in non-debug
build, as a bug I was chasing had its repro symptoms disappeared in a
debug build. 
(https://github.com/xenserver/xen-4.6.pg/commit/5826deab561dd92efaaeeb222c27184be257fad5
for those who are interested)

So long as it is obvious when it is enabled, I am a hesitant +1.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2016-06-14 11:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-14 10:47 Make hvm_fep available to non-debug build as well? Wei Liu
2016-06-14 10:54 ` Jan Beulich
2016-06-14 11:36   ` Andrew Cooper [this message]
2016-06-15 14:16     ` Wei Liu

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=575FEC29.902@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=wei.liu2@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;
as well as URLs for NNTP newsgroup(s).