All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Matt_Domsch@Dell.com
Cc: pjones@redhat.com, kvm@vger.kernel.org,
	Anthony Liguori <aliguori@us.ibm.com>
Subject: Re: qemu oddness with isolinux vesamenu.c32
Date: Fri, 18 Jul 2008 09:53:06 -0700	[thread overview]
Message-ID: <4880CA72.2050809@zytor.com> (raw)
In-Reply-To: <4880C3F3.6010202@zytor.com>

Just noticed this post was missing the initial information:

<mdomsch> hpa: your test ISO shows:  vesamenu.c32: attempted DOS system 
call INT 2C 42C4 D00004F0
<mdomsch> when run under latest F9 virt-manager started KVM machine
<mdomsch> hpa, but does _not_ fail as such when run manually with
<mdomsch> sudo qemu-kvm -M pc -m 512 -hda 
/var/lib/libvirt/images/hpa.img -cdrom /var/tmp/boot-fc9-3.70-pre26.iso
<mdomsch> hpa, which means one of these args is probably causing it
<mdomsch> /usr/bin/qemu-kvm -S -M pc -m 512 -smp 1 -name foo -monitor 
pty -boot c -drive 
file=/var/lib/libvirt/images/foo.img,if=ide,index=0,boot=on -drive 
file=,if=ide,media=cdrom,index=2 -net 
nic,macaddr=00:16:3e:13:75:3a,vlan=0 -net 
tap,fd=13,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb 
-vnc 127.0.0.1:0 -k en-us



For what it's worth, it's the "boot=on" part that is causing extboot to 
be invoked, which is what is causing the failure.

I have to admit I don't really understand why extboot hooks INT 13h at 
all (why emulate a disk on a system where disks are virtual anyway?), 
but more seriously, it has the problem that:

a) it uses vectors in OS reserved space;
b) it doesn't clean up after itself after giving up and before invoking
    the old INT 19h vector.

	-hpa

  reply	other threads:[~2008-07-18 16:53 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 [this message]
2008-07-19  7:37     ` Avi Kivity
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=4880CA72.2050809@zytor.com \
    --to=hpa@zytor.com \
    --cc=Matt_Domsch@Dell.com \
    --cc=aliguori@us.ibm.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.