[Top][All Lists]
[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
[Qemu-devel] [PATCHv3 01/14] unicore32-softmmu: Add unicore32-softmmu build support, Guan Xuetao, 2012/06/18
[Qemu-devel] [PATCHv3 04/14] target-unicore32: Drop UC32_CPUID macros, Guan Xuetao, 2012/06/18
[Qemu-devel] [PATCHv3 03/14] unicore32-softmmu: Make UniCore32 cpuid & exceptions correct and runable, Guan Xuetao, 2012/06/18
[Qemu-devel] [PATCHv3 06/14] unicore32-softmmu: Make sure that kernel can access user space, Guan Xuetao, 2012/06/18
[Qemu-devel] [PATCHv3 12/14] unicore32-softmmu: Add puv3 dma support, Guan Xuetao, 2012/06/18
[Qemu-devel] [PATCHv3 07/14] unicore32-softmmu: Add puv3 soc/board support, Guan Xuetao, 2012/06/18