qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu(-dm): aborting on wrong mmio size?
@ 2012-01-31  9:34 Laszlo Ersek
  2012-01-31 10:36 ` [Qemu-devel] [Xen-devel] " Jan Beulich
  0 siblings, 1 reply; 5+ messages in thread
From: Laszlo Ersek @ 2012-01-31  9:34 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com, qemu-devel
  Cc: Miroslav Rezanina, Petr Matousek

Hi,

in the qemu-xen-unstable tree 
(git://xenbits.xen.org/qemu-xen-unstable.git), the do_inp() function 
[i386-dm/helper2.c] makes the process exit if the operand size is wrong. 
Blame: 6040eea5 ("More files imported from xen-unstable 
17192:59b8768d0d0d").

In the qemu tree (git://git.qemu.org/qemu.git), the do_inp() function 
[xen-all.c] does the same (via hw_error() / abort()). Blame: 9ce94e7c 
("xen: Initialize event channels and io rings").

Is it justified to kill the emulator when this happens (eg. memory 
mapped IO with 64-bit operand)? What would happen on real hardware? If 
it's "undefined", wouldn't it be "better" (for some definition of 
"better") to return a constant?

Thank you,
Laszlo

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-31 13:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-31  9:34 [Qemu-devel] qemu(-dm): aborting on wrong mmio size? Laszlo Ersek
2012-01-31 10:36 ` [Qemu-devel] [Xen-devel] " Jan Beulich
2012-01-31 10:54   ` Laszlo Ersek
2012-01-31 11:04   ` Laszlo Ersek
2012-01-31 13:14     ` Jan Beulich

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).