qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCHv3 02/14] unicore32-softmmu: Add coprocessor 0(sy


From: Wei-Ren Chen
Subject: Re: [Qemu-devel] [PATCHv3 02/14] unicore32-softmmu: Add coprocessor 0(sysctrl) and 1(ocd) instruction support
Date: Mon, 25 Jun 2012 14:24:10 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Jun 25, 2012 at 11:23:25AM +0800, address@hidden 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

[Prev in Thread] Current Thread [Next in Thread]