From: Wei Liu <wei.liu2@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
Doug Goldstein <cardoe@cardoe.com>, Wei Liu <wei.liu2@citrix.com>,
Xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v2 2/2] xen: make available hvm_fep to non-debug build as well
Date: Mon, 20 Jun 2016 10:09:26 +0100 [thread overview]
Message-ID: <20160620090926.GJ28116@citrix.com> (raw)
In-Reply-To: <5764293302000078000F636F@prv-mh.provo.novell.com>
On Fri, Jun 17, 2016 at 08:45:39AM -0600, Jan Beulich wrote:
> >>> On 17.06.16 at 15:50, <andrew.cooper3@citrix.com> wrote:
> > On 17/06/16 12:05, Wei Liu wrote:
> >> @@ -182,6 +183,28 @@ static int __init hvm_enable(void)
> >> if ( !opt_altp2m_enabled )
> >> hvm_funcs.altp2m_supported = 0;
> >>
> >> + if ( opt_hvm_fep )
> >> + {
> >> + unsigned int i, j;
> >> +
> >> + printk("**********************************************\n");
> >> + printk("******* WARNING: HVM FORCED EMULATION PREFIX IS AVAILABLE\n");
> >> + printk("******* This option is *ONLY* intended to aid testing of Xen.\n");
> >> + printk("******* It has implications on the security of the system.\n");
> >> + printk("******* Please *DO NOT* use this in production.\n");
> >> + printk("**********************************************\n");
> >> + for ( i = 0; i < 3; i++ )
> >> + {
> >> + printk("%u... ", 3 - i);
> >> + for ( j = 0; j < 100; j++ )
> >> + {
> >> + process_pending_softirqs();
> >> + mdelay(10);
> >> + }
> >> + }
> >
> > I would drop this 3s wait, and I plan to drop it from sync_console as
> > well. It isn't of any practical use, even if you are watching the
> > serial console on boot, and just leads to an unnecessary delay. Worse,
> > the two delays are cumulative.
>
> I think the delay serves a purpose (for the messages to not scroll by
> unnoticed), but I do appreciate that having two such delays is not
> really desirable. Considering that I would also like these messages to
> go into .init.rodata (also those for the sync_console warning), perhaps
> worth a little bit of abstraction?
>
What is the plan here?
Should I keep or remove the delay? Do you want me to refactor things?
Wei.
> Jan
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-06-20 9:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 11:05 [PATCH v2 0/2] Make hvm_fep available to non-debug build Wei Liu
2016-06-17 11:05 ` [PATCH v2 1/2] xen/kernel: document 'C' in print_tainted Wei Liu
2016-06-17 11:05 ` [PATCH v2 2/2] xen: make available hvm_fep to non-debug build as well Wei Liu
2016-06-17 11:34 ` Jan Beulich
2016-06-17 13:35 ` Wei Liu
2016-06-17 13:51 ` Andrew Cooper
2016-06-17 14:28 ` Jan Beulich
2016-06-17 14:32 ` Wei Liu
2016-06-17 14:40 ` Jan Beulich
2016-06-17 14:44 ` Wei Liu
2016-06-17 14:55 ` Jan Beulich
2016-06-17 14:59 ` Wei Liu
2016-06-17 13:50 ` Andrew Cooper
2016-06-17 14:45 ` Jan Beulich
2016-06-20 9:09 ` Wei Liu [this message]
2016-06-20 10:11 ` Jan Beulich
2016-06-20 13:19 ` 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=20160620090926.GJ28116@citrix.com \
--to=wei.liu2@citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=cardoe@cardoe.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).