xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <Wei.Liu2@citrix.com>
To: 马磊 <aware.why@gmail.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	wei.liu2@citrix.com
Subject: Re: [BUG]: when using `xl restore`,xc_evtchn_alloc_unbound will raise this error
Date: Mon, 31 Dec 2012 12:03:15 +0000	[thread overview]
Message-ID: <1356955395.2917.41.camel@iceland> (raw)
In-Reply-To: <CA+ePHTCaJRCopiM-WoWYDBhrNrcmkNz7rcUmjfXtcHcTt=niqQ@mail.gmail.com>

On Mon, 2012-12-31 at 03:10 +0000, 马磊 wrote:
>         
>         
>         
>         I think the two files are mostly the same, but to be sure you
>         need to
>         look into the source file in both Linux and Xen. You should
>         start from
>         the hypervisor level, find out why it returns -EPERM. Root
>         user in Dom0
>         has nothing to do with privilege in hypervisor level.
>         
>         
>         Wei.
>         
> The scene is that there are more than 10 processes, each process calls
> `xl restore` to start a VM where a virus sample will run to detect the
> sample's behaviour  about every 120 seconds.
> For a long time, such as 5 days or 15 days, the xen server where the
> processes run will raise this error with a certain probability.
> Maybe it has something to do with the hypervisor's stability.

This is not a usual scenario. Sorry I don't know how to reproduce this.

But the code path in hypervisor for evtchn_alloc_unbound is quite short,
you may try adding some debug output along the path to see which step
fails then report back.


Wei.


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

  reply	other threads:[~2012-12-31 12:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-26 10:03 [BUG]: when using `xl restore`,xc_evtchn_alloc_unbound will raise this error 马磊
2012-12-26 10:19 ` 马磊
2012-12-26 13:41   ` Wei Liu
2012-12-26 14:45     ` 马磊
2012-12-26 19:33       ` Wei Liu
2012-12-27  2:12         ` 马磊
2012-12-27 12:41           ` Wei Liu
2012-12-28  3:13             ` 马磊
2012-12-28 10:46               ` Wei Liu
2012-12-31  3:10                 ` 马磊
2012-12-31 12:03                   ` Wei Liu [this message]
2013-01-04  3:23                     ` 马磊
2013-01-04  6:27                       ` 马磊
2013-01-04  9:20                         ` Ian Campbell
2013-01-04 11:34                           ` 马磊
2013-01-04 11:42                             ` Ian Campbell
2013-01-05  4:03                               ` 马磊
2013-01-05  6:44                       ` 马磊

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=1356955395.2917.41.camel@iceland \
    --to=wei.liu2@citrix.com \
    --cc=aware.why@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /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).