From: Ian Campbell <ijc@hellion.org.uk>
To: Shannon Zhao <zhaoshenglong@huawei.com>,
Jan Beulich <jbeulich@suse.com>,
evil.dani@gmail.com, kevin@koconnor.net, keir@xen.org,
wei.liu2@citrix.com, Ian Campbell <ian.campbell@citrix.com>
Cc: "Jinjian (Ken)" <jinjian@huawei.com>,
seabios@seabios.org,
"Huangpeng (Peter)" <peter.huangpeng@huawei.com>,
xen-devel <xen-devel@lists.xen.org>
Subject: Re: [SeaBIOS] Xen PV block device support in Seabios
Date: Wed, 16 Mar 2016 11:20:31 +0000 [thread overview]
Message-ID: <1458127231.30744.9.camel@hellion.org.uk> (raw)
In-Reply-To: <56E8D3EE.4060007@huawei.com>
(nb, my citrix.com email is no longer valid)
On Wed, 2016-03-16 at 11:33 +0800, Shannon Zhao wrote:
> Hi,
>
> I noticed there are some efforts to add Xen PV block device support in
> Seabios in a GSoC project and there is a wiki page [1] for it. I found
> some patches [2] to add Xenstore R/W support for Seabios. But I didn't
> find the patches to add PV block device driver in Seabios.
>
> If you know please tell me where I can find these patches. And I noticed
> that the patches [2] and this GSoC project work didn't get applied to
> Seabios eventually, is there any reason? Does it mean that there are
> some difficulties to support Xen PV block device in Seabios?
This work was never finished, IIRC (and it was a long time ago so this
might be a faulty recollection) the main stumbling block was that there
is no reasonable BIOS level event which could be used to tear down the
PV interfaces in order to hand them over to the OS (unlike, say, EFI
where there is ExitBootServices).
So making this work would require something like a complete set of
parallel PV infrastructure (devices, corresponding xenstore nodes,
grant table) for the use of the BIOS firmware, or perhaps a (tricky to
retrofit in a backwards compatible manner) PV facility for the guest to
reset everything before starting to use them.
Ultimately it didn't seem worth the effort to engineer all that given
that mostly the same aims (faster PV assisted boot) could be achieved
by using UEFI for most modern OSes.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-03-16 11:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-16 3:33 Xen PV block device support in Seabios Shannon Zhao
2016-03-16 10:39 ` Wei Liu
2016-03-16 11:20 ` Ian Campbell [this message]
2016-03-16 12:13 ` [SeaBIOS] " Shannon Zhao
2016-03-16 12:22 ` Ian Campbell
[not found] ` <1458130952.30744.14.camel@hellion.org.uk>
2016-03-16 12:31 ` Shannon Zhao
2016-03-16 12:58 ` Gerd Hoffmann
2016-03-16 13:15 ` Konrad Rzeszutek Wilk
2016-03-16 13:33 ` Jan Beulich
2016-03-16 13:41 ` Ian Campbell
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=1458127231.30744.9.camel@hellion.org.uk \
--to=ijc@hellion.org.uk \
--cc=evil.dani@gmail.com \
--cc=ian.campbell@citrix.com \
--cc=jbeulich@suse.com \
--cc=jinjian@huawei.com \
--cc=keir@xen.org \
--cc=kevin@koconnor.net \
--cc=peter.huangpeng@huawei.com \
--cc=seabios@seabios.org \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
--cc=zhaoshenglong@huawei.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 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.