From: Avi Kivity <avi@qumranet.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Matt_Domsch@Dell.com, pjones@redhat.com, kvm@vger.kernel.org,
Anthony Liguori <aliguori@us.ibm.com>
Subject: Re: qemu oddness with isolinux vesamenu.c32
Date: Sat, 19 Jul 2008 10:37:15 +0300 [thread overview]
Message-ID: <488199AB.4020109@qumranet.com> (raw)
In-Reply-To: <4880C3F3.6010202@zytor.com>
H. Peter Anvin wrote:
>
> Furthermore, it is completely unnecessary. Instead of stuffing the old
> pointer in an interupt vector and using the INT instruction, stuff it in
> a variable in the local code segment, and use the following sequence:
>
> pushf
> lcallw *%cs:old_vector
>
> In order to do this it needs, of course, to be able to write to its own
> memory, which I'm not sure if qemu-kvm allows by default. If so, this
You mean, "if not"?
> is actually a defect in qemu-kvm, since modern expansion "ROMs" *do*
> expect to be able to write to their own memory areas during
> initialization; see the PnPBIOS spec, Appendix B; support for this
> specification is mandatory for PCI systems.
>
kvm allows writing into the bios; qemu does not. I thought it was a kvm
bug, but turns out that it's a qemu bug...
(though to be fair, true emulation ought to start out read-only, then be
enabled by the bios ram shadow mechanism)
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
next prev parent reply other threads:[~2008-07-19 7:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E9909A75A543064DB66E55B8E3BE41EC72701C@ausx3mps307.aus.amer.dell.com>
[not found] ` <48800A9D.1080403@zytor.com>
2008-07-18 16:25 ` qemu oddness with isolinux vesamenu.c32 H. Peter Anvin
2008-07-18 16:53 ` H. Peter Anvin
2008-07-19 7:37 ` Avi Kivity [this message]
2008-07-19 18:29 ` H. Peter Anvin
2008-07-20 1:45 ` H. Peter Anvin
2008-07-21 9:43 ` Avi Kivity
2008-07-21 12:51 ` H. Peter Anvin
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=488199AB.4020109@qumranet.com \
--to=avi@qumranet.com \
--cc=Matt_Domsch@Dell.com \
--cc=aliguori@us.ibm.com \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=pjones@redhat.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.