From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>,
Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH 1/5] tools/xc_restore: Initialise console and store mfns
Date: Mon, 25 Nov 2013 13:16:24 +0000 [thread overview]
Message-ID: <52934DA8.5040300@citrix.com> (raw)
In-Reply-To: <21139.16021.471316.355461@mariner.uk.xensource.com>
On 25/11/13 12:12, Ian Jackson wrote:
> Andrew Cooper writes ("[PATCH 1/5] tools/xc_restore: Initialise console and store mfns"):
>> If the console or store mfn chunks are not present in the migration stream,
>> stack junk gets reported for the mfns.
>>
>> XenServer had a very hard to track down VM corruption issue caused by exactly
>> this issue. Xenconsoled would connect to a junk mfn and incremented the ring
>> pointer if the junk happend to look like a valid gfn.
> A question that arises here is this:
>
> How come this was going undetected ?
>
> If the junk mfn _doesn't_ look like a valid gfn (which presumably it
> mostly doesn't), surely this generates some error message somewhere
> (even if it only causes the console not to work) ?
>
> Ian.
This was a XenServer optimisation to avoid allocating an event channel
in dom0 for hvm domains which wouldn't be using it anyway. We only
officially support Windows hvm domains, so this is a blanket change for
all hvm domains.
We were not expecting any hvm consoles to work in the slightest, and
xenconsoled gave no hint of errors.
~Andrew
next prev parent reply other threads:[~2013-11-25 13:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 11:05 [PATCH 0/5] Coverity fixes for misc tools Andrew Cooper
2013-11-25 11:05 ` [PATCH 1/5] tools/xc_restore: Initialise console and store mfns Andrew Cooper
2013-11-25 12:06 ` Ian Jackson
2013-11-25 12:12 ` Ian Jackson
2013-11-25 13:16 ` Andrew Cooper [this message]
2013-11-25 11:05 ` [PATCH 2/5] tools/xenctx: Prevent leaking a file handle on error paths Andrew Cooper
2013-11-25 12:07 ` Ian Jackson
2013-11-25 11:05 ` [PATCH 3/5] tools/libxc: Improve xc_dom_malloc_filemap() error handling Andrew Cooper
2013-11-25 12:13 ` Ian Jackson
2013-11-25 12:17 ` [PATCH 1/5] tools/xc_restore: Initialise console and store mfns [and 2 more messages] Ian Jackson
2013-11-25 11:05 ` [PATCH 4/5] tools/xen-mfndump: Avoid munmap(NULL, PAGE_SIZE) on certain error paths Andrew Cooper
2013-11-25 12:16 ` Ian Jackson
2013-11-25 11:05 ` [PATCH 5/5] tools/xen-mfndump: Avoid using -ERROR as an upper loop bound Andrew Cooper
2013-11-25 12:16 ` Ian Jackson
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=52934DA8.5040300@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.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 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.