Mazen Ezzeddine <mazen.ezzeddine <at> gmail.com> writes: > > > > > > > > > > > > > > > Dear > all, > I > am new to Gem5, please advise me about the following issues. Note > that I am running x86_64 GNU-Linux. > > > Suppose > that we are running a guest VM, say ARM_Linux, emulated using Gem5. > Does the guest OS running inside the VM execute in privileged or > user mode. > > > > Using > Gem5, can I execute simultaneously two different VMs (ex. > ARM_Linux and x86_Linux) on the same host platform. Note that I am > not concerned about performance of the VMs being executed. > > > > Many > thanks, > > > > _______________________________________________ > gem5-users mailing list > gem5-users <at> gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
============================================================================ Thanks all for reply. So, the Gem5 simulator maintains a data structure to virtualize the architected state of the guest CPU ex. registers, MMU, system regs etc. Each guest instruction, whether privileged or not, is interpreted using the host ISA in such a way to produce an effect on the virtual hardware that is exactly similar to the effect produced by that instruction when running on a real CPU. Is this true? does it achieve a total transparency? Suppose that I am creating the virtual CPU using a host firmware that dynamically translates (or interpret) from the guest ISA into the host ISA (without a host OS) what are the considerations and strategies of such approach? Best thanks. _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
