On Mon, Jun 25, 2012 at 11:23:25AM +0800, guanxue...@mprc.pku.edu.cn wrote:
> [snip]
> >>> > +unrecognized:
> >>> > + ?? ??cpu_abort(env, "Wrong register (%d) or wrong operation (%d) in
> >>> cp0_set!\n",
> >>> > + ?? ?? ?? ?? ?? ??creg, cop);
> >>>
> >>> The call to cpu_abort() would mean that the guest is able to terminate
> >>> QEMU at will, which is not OK. What does real HW do?
> >> In my opinion, I just want to terminate qemu when any unhandled or
> >> unknown operations happen.
> >
> > This can make the emulator vulnerable in the security sense. Probably
> > Unicore CPUs are not used now in an environment where the guest can
> > not be trusted (like cloud computing), but who knows the future?
> Is it proper to print such information to monitor? by using monitor_printf().

  What if user doesn't open a monitor?

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj

Reply via email to